<ahref="#pub-methods">Public Member Functions</a>|
<ahref="classcrashpad_1_1internal_1_1ThreadSnapshotMac-members.html">List of all members</a></div>
<divclass="headertitle">
<divclass="title">crashpad::internal::ThreadSnapshotMac Class Reference<spanclass="mlabels"><spanclass="mlabel">final</span></span></div></div>
</div><!--header-->
<divclass="contents">
<p>A <aclass="el"href="classcrashpad_1_1ThreadSnapshot.html"title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot...">ThreadSnapshot</a> of a thread in a running (or crashed) process on a Mac OS X system.
<areahref="classcrashpad_1_1ThreadSnapshot.html"title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot..."alt="crashpad::ThreadSnapshot"shape="rect"coords="0,0,355,24"/>
<trclass="memdesc:a7bb7d71110ccad4d4b74ce9c69a7fef3"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Initializes the object. <ahref="#a7bb7d71110ccad4d4b74ce9c69a7fef3">More...</a><br/></td></tr>
<trclass="memdesc:acc67b86bdcb38a50651b14a39b9c2036"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a <aclass="el"href="structcrashpad_1_1CPUContext.html"title="A context structure capable of carrying the context of any supported CPU architecture. ">CPUContext</a> object corresponding to the thread’s CPU context. <ahref="#acc67b86bdcb38a50651b14a39b9c2036">More...</a><br/></td></tr>
<trclass="memdesc:ae24a61b5890c07c1c50be4fb838c6e61"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a <aclass="el"href="classcrashpad_1_1MemorySnapshot.html"title="An abstract interface to a snapshot representing a region of memory present in a snapshot process...">MemorySnapshot</a> object corresponding to the memory region that contains the thread’s stack, or <code>nullptr</code> if no stack region is available. <ahref="#ae24a61b5890c07c1c50be4fb838c6e61">More...</a><br/></td></tr>
<trclass="memdesc:a89206c3a5253874266e955d03a5e5de2"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the thread’s identifier. <ahref="#a89206c3a5253874266e955d03a5e5de2">More...</a><br/></td></tr>
<trclass="memdesc:a4b75256da46e63543298475d64c99697"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the thread’s priority. <ahref="#a4b75256da46e63543298475d64c99697">More...</a><br/></td></tr>
<trclass="memdesc:a0b639bf5fe18335a6ee8b951305de729"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the base address of a region used to store thread-specific data. <br/></td></tr>
<trclass="memdesc:aebd4b9ebe83af0e8c7581eac590d68eb"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a vector of additional memory blocks that should be included in a minidump. <ahref="#aebd4b9ebe83af0e8c7581eac590d68eb">More...</a><br/></td></tr>
<divclass="textblock"><p>A <aclass="el"href="classcrashpad_1_1ThreadSnapshot.html"title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot...">ThreadSnapshot</a> of a thread in a running (or crashed) process on a Mac OS X system. </p>
</div><h2class="groupheader">Member Function Documentation</h2>
<p>Returns a <aclass="el"href="structcrashpad_1_1CPUContext.html"title="A context structure capable of carrying the context of any supported CPU architecture. ">CPUContext</a> object corresponding to the thread’s CPU context. </p>
<p>The caller does not take ownership of this object, it is scoped to the lifetime of the <aclass="el"href="classcrashpad_1_1ThreadSnapshot.html"title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot...">ThreadSnapshot</a> object that it was obtained from. </p>
<p>Returns a vector of additional memory blocks that should be included in a minidump. </p>
<dlclass="section return"><dt>Returns</dt><dd>A vector of <aclass="el"href="classcrashpad_1_1MemorySnapshot.html"title="An abstract interface to a snapshot representing a region of memory present in a snapshot process...">MemorySnapshot</a> objects that will be included in the crash dump. The caller does not take ownership of these objects, they are scoped to the lifetime of the <aclass="el"href="classcrashpad_1_1ThreadSnapshot.html"title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot...">ThreadSnapshot</a> object that they were obtained from. </dd></dl>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">process_reader</td><td>A <aclass="el"href="classcrashpad_1_1ProcessReader.html"title="Accesses information about another process, identified by a Mach task. ">ProcessReader</a> for the task containing the thread. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">process_reader_thread</td><td>The thread within the <aclass="el"href="classcrashpad_1_1ProcessReader.html"title="Accesses information about another process, identified by a Mach task. ">ProcessReader</a> for which the snapshot should be created.</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> if the snapshot could be created, <code>false</code> otherwise with an appropriate message logged. </dd></dl>
<p>Returns a <aclass="el"href="classcrashpad_1_1MemorySnapshot.html"title="An abstract interface to a snapshot representing a region of memory present in a snapshot process...">MemorySnapshot</a> object corresponding to the memory region that contains the thread’s stack, or <code>nullptr</code> if no stack region is available. </p>
<p>The caller does not take ownership of this object, it is scoped to the lifetime of the <aclass="el"href="classcrashpad_1_1ThreadSnapshot.html"title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot...">ThreadSnapshot</a> object that it was obtained from. </p>