llvm-project/lldb/www/cpp_reference/html/classlldb_1_1SBFunction.html

481 lines
21 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
<meta name="keywords" content="LLDB,C++,doxygen,API,documentation"/>
<meta name="description" content="C++ source code API documentation for LLDB."/>
<title>LLVM: lldb::SBFunction Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head><body>
<p class="title">LLDB API Documentation</p>
<!-- Generated by Doxygen 1.8.1.2 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacelldb.html">lldb</a></li><li class="navelem"><a class="el" href="classlldb_1_1SBFunction.html">SBFunction</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classlldb_1_1SBFunction-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">lldb::SBFunction Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="SBFunction_8h_source.html">SBFunction.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab38589acdd26b81dd49ffec7f2a12899"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#ab38589acdd26b81dd49ffec7f2a12899">SBFunction</a> ()</td></tr>
<tr class="memitem:a077a51154ac62c2f7dbf4a4d953c0828"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#a077a51154ac62c2f7dbf4a4d953c0828">SBFunction</a> (const <a class="el" href="classlldb_1_1SBFunction.html">lldb::SBFunction</a> &amp;rhs)</td></tr>
<tr class="memitem:a418dfe7262e0d32f777ebddcc74f7ba4"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classlldb_1_1SBFunction.html">lldb::SBFunction</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#a418dfe7262e0d32f777ebddcc74f7ba4">operator=</a> (const <a class="el" href="classlldb_1_1SBFunction.html">lldb::SBFunction</a> &amp;rhs)</td></tr>
<tr class="memitem:adab95a853968f8c14e358c11035993dc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#adab95a853968f8c14e358c11035993dc">~SBFunction</a> ()</td></tr>
<tr class="memitem:aa718ea5ef6cfd85a964446816989d3e4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#aa718ea5ef6cfd85a964446816989d3e4">IsValid</a> () const </td></tr>
<tr class="memitem:ab97c0750d1d65976a444ee77bc66f079"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#ab97c0750d1d65976a444ee77bc66f079">GetName</a> () const </td></tr>
<tr class="memitem:a7bb3cc07649077b565d46b1db67c8a98"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#a7bb3cc07649077b565d46b1db67c8a98">GetMangledName</a> () const </td></tr>
<tr class="memitem:a629224704951c33d7ea53081e713b63c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlldb_1_1SBInstructionList.html">lldb::SBInstructionList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#a629224704951c33d7ea53081e713b63c">GetInstructions</a> (<a class="el" href="classlldb_1_1SBTarget.html">lldb::SBTarget</a> target)</td></tr>
<tr class="memitem:a7c4e8c24fa17b935e661d6697c3d75fc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlldb_1_1SBInstructionList.html">lldb::SBInstructionList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#a7c4e8c24fa17b935e661d6697c3d75fc">GetInstructions</a> (<a class="el" href="classlldb_1_1SBTarget.html">lldb::SBTarget</a> target, const char *flavor)</td></tr>
<tr class="memitem:a5b02537644830e1ebf851d34b0205e5a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlldb_1_1SBAddress.html">lldb::SBAddress</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#a5b02537644830e1ebf851d34b0205e5a">GetStartAddress</a> ()</td></tr>
<tr class="memitem:ad33ce8e9d51ffb3020bb4e0be41c6429"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlldb_1_1SBAddress.html">lldb::SBAddress</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#ad33ce8e9d51ffb3020bb4e0be41c6429">GetEndAddress</a> ()</td></tr>
<tr class="memitem:a5d89b033113a1bd4c12a4302504210b8"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#a5d89b033113a1bd4c12a4302504210b8">GetPrologueByteSize</a> ()</td></tr>
<tr class="memitem:a8f5f86ac1f8ff4128edf6b1452444077"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlldb_1_1SBType.html">lldb::SBType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#a8f5f86ac1f8ff4128edf6b1452444077">GetType</a> ()</td></tr>
<tr class="memitem:ab02bc9963a0fd9c2b963fa2948e0624c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlldb_1_1SBBlock.html">lldb::SBBlock</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#ab02bc9963a0fd9c2b963fa2948e0624c">GetBlock</a> ()</td></tr>
<tr class="memitem:a5f368c09b91e1b63f2c512bd888db824"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#a5f368c09b91e1b63f2c512bd888db824">operator==</a> (const <a class="el" href="classlldb_1_1SBFunction.html">lldb::SBFunction</a> &amp;rhs) const </td></tr>
<tr class="memitem:a2c7a0761e52132c446afea3050fc1b33"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#a2c7a0761e52132c446afea3050fc1b33">operator!=</a> (const <a class="el" href="classlldb_1_1SBFunction.html">lldb::SBFunction</a> &amp;rhs) const </td></tr>
<tr class="memitem:af4326fd187d1c0621d5162578d0e253f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#af4326fd187d1c0621d5162578d0e253f">GetDescription</a> (<a class="el" href="classlldb_1_1SBStream.html">lldb::SBStream</a> &amp;description)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a127fa1ca5b44d69a05672c822f023a61"><td class="memItemLeft" align="right" valign="top">lldb_private::Function *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#a127fa1ca5b44d69a05672c822f023a61">get</a> ()</td></tr>
<tr class="memitem:aecaaa165362a1250bd75193eb606ffbc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#aecaaa165362a1250bd75193eb606ffbc">reset</a> (lldb_private::Function *lldb_object_ptr)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a6e49cb4c7b4df1a9e1231d58a4952607"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#a6e49cb4c7b4df1a9e1231d58a4952607">SBAddress</a></td></tr>
<tr class="memitem:abf05358ec2c89fa95b69c85ed46492c9"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#abf05358ec2c89fa95b69c85ed46492c9">SBFrame</a></td></tr>
<tr class="memitem:a61223b184d8edf3f301c71ce68df8af5"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBFunction.html#a61223b184d8edf3f301c71ce68df8af5">SBSymbolContext</a></td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="SBFunction_8h_source.html#l00019">19</a> of file <a class="el" href="SBFunction_8h_source.html">SBFunction.h</a>.</p>
</div><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab38589acdd26b81dd49ffec7f2a12899"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">lldb::SBFunction::SBFunction </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a077a51154ac62c2f7dbf4a4d953c0828"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">lldb::SBFunction::SBFunction </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classlldb_1_1SBFunction.html">lldb::SBFunction</a> &amp;&#160;</td>
<td class="paramname"><em>rhs</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="adab95a853968f8c14e358c11035993dc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">lldb::SBFunction::~SBFunction </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2>Member Function Documentation</h2>
<a class="anchor" id="a127fa1ca5b44d69a05672c822f023a61"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">lldb_private::Function* lldb::SBFunction::get </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ab02bc9963a0fd9c2b963fa2948e0624c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classlldb_1_1SBBlock.html">lldb::SBBlock</a> lldb::SBFunction::GetBlock </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="af4326fd187d1c0621d5162578d0e253f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool lldb::SBFunction::GetDescription </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classlldb_1_1SBStream.html">lldb::SBStream</a> &amp;&#160;</td>
<td class="paramname"><em>description</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ad33ce8e9d51ffb3020bb4e0be41c6429"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classlldb_1_1SBAddress.html">lldb::SBAddress</a> lldb::SBFunction::GetEndAddress </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a629224704951c33d7ea53081e713b63c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classlldb_1_1SBInstructionList.html">lldb::SBInstructionList</a> lldb::SBFunction::GetInstructions </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classlldb_1_1SBTarget.html">lldb::SBTarget</a>&#160;</td>
<td class="paramname"><em>target</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a7c4e8c24fa17b935e661d6697c3d75fc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classlldb_1_1SBInstructionList.html">lldb::SBInstructionList</a> lldb::SBFunction::GetInstructions </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classlldb_1_1SBTarget.html">lldb::SBTarget</a>&#160;</td>
<td class="paramname"><em>target</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>flavor</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a7bb3cc07649077b565d46b1db67c8a98"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* lldb::SBFunction::GetMangledName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ab97c0750d1d65976a444ee77bc66f079"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* lldb::SBFunction::GetName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a5d89b033113a1bd4c12a4302504210b8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t lldb::SBFunction::GetPrologueByteSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a5b02537644830e1ebf851d34b0205e5a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classlldb_1_1SBAddress.html">lldb::SBAddress</a> lldb::SBFunction::GetStartAddress </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a8f5f86ac1f8ff4128edf6b1452444077"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classlldb_1_1SBType.html">lldb::SBType</a> lldb::SBFunction::GetType </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aa718ea5ef6cfd85a964446816989d3e4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool lldb::SBFunction::IsValid </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a2c7a0761e52132c446afea3050fc1b33"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool lldb::SBFunction::operator!= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classlldb_1_1SBFunction.html">lldb::SBFunction</a> &amp;&#160;</td>
<td class="paramname"><em>rhs</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a418dfe7262e0d32f777ebddcc74f7ba4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classlldb_1_1SBFunction.html">lldb::SBFunction</a>&amp; lldb::SBFunction::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classlldb_1_1SBFunction.html">lldb::SBFunction</a> &amp;&#160;</td>
<td class="paramname"><em>rhs</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a5f368c09b91e1b63f2c512bd888db824"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool lldb::SBFunction::operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classlldb_1_1SBFunction.html">lldb::SBFunction</a> &amp;&#160;</td>
<td class="paramname"><em>rhs</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aecaaa165362a1250bd75193eb606ffbc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void lldb::SBFunction::reset </td>
<td>(</td>
<td class="paramtype">lldb_private::Function *&#160;</td>
<td class="paramname"><em>lldb_object_ptr</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a6e49cb4c7b4df1a9e1231d58a4952607"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="classlldb_1_1SBAddress.html">SBAddress</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="SBFunction_8h_source.html#l00080">80</a> of file <a class="el" href="SBFunction_8h_source.html">SBFunction.h</a>.</p>
</div>
</div>
<a class="anchor" id="abf05358ec2c89fa95b69c85ed46492c9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="classlldb_1_1SBFrame.html">SBFrame</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="SBFunction_8h_source.html#l00081">81</a> of file <a class="el" href="SBFunction_8h_source.html">SBFunction.h</a>.</p>
</div>
</div>
<a class="anchor" id="a61223b184d8edf3f301c71ce68df8af5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="classlldb_1_1SBSymbolContext.html">SBSymbolContext</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="SBFunction_8h_source.html#l00082">82</a> of file <a class="el" href="SBFunction_8h_source.html">SBFunction.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="SBFunction_8h_source.html">SBFunction.h</a></li>
</ul>
</div><!-- contents -->
<hr>
<p class="footer">
Generated on Fri Jul 19 2013 13:25:55 for <a href="http://lldb.llvm.org/">LLVM</a> by
<a href="http://www.doxygen.org"><img src="doxygen.png" alt="Doxygen"
align="middle" border="0"/>1.8.1.2</a><br>
Copyright &copy; 2003-2013 University of Illinois at Urbana-Champaign.
All Rights Reserved.</p>
<hr>
<!--#include virtual="/attrib.incl" -->
</body>
</html>