1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2<html><head> 3<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/> 4<meta name="keywords" content="LLDB,C++,doxygen,API,documentation"/> 5<meta name="description" content="C++ source code API documentation for LLDB."/> 6<title>LLVM: lldb::SBInstruction Class Reference</title> 7<link href="doxygen.css" rel="stylesheet" type="text/css"/> 8</head><body> 9<p class="title">LLDB API Documentation</p> 10<!-- Generated by Doxygen 1.8.1.2 --> 11 <div id="navrow1" class="tabs"> 12 <ul class="tablist"> 13 <li><a href="index.html"><span>Main Page</span></a></li> 14 <li><a href="namespaces.html"><span>Namespaces</span></a></li> 15 <li class="current"><a href="annotated.html"><span>Classes</span></a></li> 16 <li><a href="files.html"><span>Files</span></a></li> 17 </ul> 18 </div> 19 <div id="navrow2" class="tabs2"> 20 <ul class="tablist"> 21 <li><a href="annotated.html"><span>Class List</span></a></li> 22 <li><a href="classes.html"><span>Class Index</span></a></li> 23 <li><a href="functions.html"><span>Class Members</span></a></li> 24 </ul> 25 </div> 26<div id="nav-path" class="navpath"> 27 <ul> 28<li class="navelem"><a class="el" href="namespacelldb.html">lldb</a></li><li class="navelem"><a class="el" href="classlldb_1_1SBInstruction.html">SBInstruction</a></li> </ul> 29</div> 30</div><!-- top --> 31<div class="header"> 32 <div class="summary"> 33<a href="#pub-methods">Public Member Functions</a> | 34<a href="#pro-methods">Protected Member Functions</a> | 35<a href="#friends">Friends</a> | 36<a href="classlldb_1_1SBInstruction-members.html">List of all members</a> </div> 37 <div class="headertitle"> 38<div class="title">lldb::SBInstruction Class Reference</div> </div> 39</div><!--header--> 40<div class="contents"> 41 42<p><code>#include <<a class="el" href="SBInstruction_8h_source.html">SBInstruction.h</a>></code></p> 43<table class="memberdecls"> 44<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a> 45Public Member Functions</h2></td></tr> 46<tr class="memitem:a68fd095f4a2a770f7953e08734177847"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#a68fd095f4a2a770f7953e08734177847">SBInstruction</a> ()</td></tr> 47<tr class="memitem:aeb62eff9337815676ce81bfd833e92c1"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#aeb62eff9337815676ce81bfd833e92c1">SBInstruction</a> (const <a class="el" href="classlldb_1_1SBInstruction.html">SBInstruction</a> &rhs)</td></tr> 48<tr class="memitem:aa9de2c02cec437df4b5d97e89a47207b"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classlldb_1_1SBInstruction.html">SBInstruction</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#aa9de2c02cec437df4b5d97e89a47207b">operator=</a> (const <a class="el" href="classlldb_1_1SBInstruction.html">SBInstruction</a> &rhs)</td></tr> 49<tr class="memitem:a4e66d7b71bfb26565be76280dc5057df"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#a4e66d7b71bfb26565be76280dc5057df">~SBInstruction</a> ()</td></tr> 50<tr class="memitem:a0abbe70ad2372828ddae7dd608a74410"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#a0abbe70ad2372828ddae7dd608a74410">IsValid</a> ()</td></tr> 51<tr class="memitem:aa053a3191fb55697c47178c9c71cfbbe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlldb_1_1SBAddress.html">SBAddress</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#aa053a3191fb55697c47178c9c71cfbbe">GetAddress</a> ()</td></tr> 52<tr class="memitem:aff1374ed946260f39bf9140fa97aa0fc"><td class="memItemLeft" align="right" valign="top">lldb::AddressClass </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#aff1374ed946260f39bf9140fa97aa0fc">GetAddressClass</a> ()</td></tr> 53<tr class="memitem:a59b8db49852fa31e99bd03834897077c"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#a59b8db49852fa31e99bd03834897077c">GetMnemonic</a> (<a class="el" href="classlldb_1_1SBTarget.html">lldb::SBTarget</a> target)</td></tr> 54<tr class="memitem:a77c6ac22d261ec082e1c89dcf81504de"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#a77c6ac22d261ec082e1c89dcf81504de">GetOperands</a> (<a class="el" href="classlldb_1_1SBTarget.html">lldb::SBTarget</a> target)</td></tr> 55<tr class="memitem:a5f83690e486b88394866d280bf09a3eb"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#a5f83690e486b88394866d280bf09a3eb">GetComment</a> (<a class="el" href="classlldb_1_1SBTarget.html">lldb::SBTarget</a> target)</td></tr> 56<tr class="memitem:a7de0e98a9265debe0c7a3abe810d11f2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlldb_1_1SBData.html">lldb::SBData</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#a7de0e98a9265debe0c7a3abe810d11f2">GetData</a> (<a class="el" href="classlldb_1_1SBTarget.html">lldb::SBTarget</a> target)</td></tr> 57<tr class="memitem:a59e80b0ba6a32669b7f10348c52fca30"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#a59e80b0ba6a32669b7f10348c52fca30">GetByteSize</a> ()</td></tr> 58<tr class="memitem:a087f53c1202e991468e11cb056fe91d8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#a087f53c1202e991468e11cb056fe91d8">DoesBranch</a> ()</td></tr> 59<tr class="memitem:a2c92bab9d9d73b0afe77e726f2572857"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#a2c92bab9d9d73b0afe77e726f2572857">Print</a> (FILE *out)</td></tr> 60<tr class="memitem:a3fcd105ec9be19ea6e49ba237463665f"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#a3fcd105ec9be19ea6e49ba237463665f">GetDescription</a> (<a class="el" href="classlldb_1_1SBStream.html">lldb::SBStream</a> &description)</td></tr> 61<tr class="memitem:abf66d49fa96c191905e9f4c3d2a2218f"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#abf66d49fa96c191905e9f4c3d2a2218f">EmulateWithFrame</a> (<a class="el" href="classlldb_1_1SBFrame.html">lldb::SBFrame</a> &frame, uint32_t evaluate_options)</td></tr> 62<tr class="memitem:a9e51cbbb2b3426632960ab76302c17c4"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#a9e51cbbb2b3426632960ab76302c17c4">DumpEmulation</a> (const char *triple)</td></tr> 63<tr class="memitem:a3f8ce042930cc99a6ebfd9134ff73c3b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#a3f8ce042930cc99a6ebfd9134ff73c3b">TestEmulation</a> (<a class="el" href="classlldb_1_1SBStream.html">lldb::SBStream</a> &output_stream, const char *test_file)</td></tr> 64</table><table class="memberdecls"> 65<tr class="heading"><td colspan="2"><h2><a name="pro-methods"></a> 66Protected Member Functions</h2></td></tr> 67<tr class="memitem:a92ba22ef5ee264aef1acb3987d599e3e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#a92ba22ef5ee264aef1acb3987d599e3e">SBInstruction</a> (const lldb::InstructionSP &inst_sp)</td></tr> 68<tr class="memitem:aa0431597c292d1fc150bca60ec313648"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#aa0431597c292d1fc150bca60ec313648">SetOpaque</a> (const lldb::InstructionSP &inst_sp)</td></tr> 69</table><table class="memberdecls"> 70<tr class="heading"><td colspan="2"><h2><a name="friends"></a> 71Friends</h2></td></tr> 72<tr class="memitem:aef79410dcd84e1378958b6acc3d32dcb"><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classlldb_1_1SBInstruction.html#aef79410dcd84e1378958b6acc3d32dcb">SBInstructionList</a></td></tr> 73</table> 74<a name="details" id="details"></a><h2>Detailed Description</h2> 75<div class="textblock"> 76<p>Definition at line <a class="el" href="SBInstruction_8h_source.html#l00023">23</a> of file <a class="el" href="SBInstruction_8h_source.html">SBInstruction.h</a>.</p> 77</div><h2>Constructor & Destructor Documentation</h2> 78<a class="anchor" id="a68fd095f4a2a770f7953e08734177847"></a> 79<div class="memitem"> 80<div class="memproto"> 81 <table class="memname"> 82 <tr> 83 <td class="memname">lldb::SBInstruction::SBInstruction </td> 84 <td>(</td> 85 <td class="paramname"></td><td>)</td> 86 <td></td> 87 </tr> 88 </table> 89</div><div class="memdoc"> 90 91</div> 92</div> 93<a class="anchor" id="aeb62eff9337815676ce81bfd833e92c1"></a> 94<div class="memitem"> 95<div class="memproto"> 96 <table class="memname"> 97 <tr> 98 <td class="memname">lldb::SBInstruction::SBInstruction </td> 99 <td>(</td> 100 <td class="paramtype">const <a class="el" href="classlldb_1_1SBInstruction.html">SBInstruction</a> & </td> 101 <td class="paramname"><em>rhs</em></td><td>)</td> 102 <td></td> 103 </tr> 104 </table> 105</div><div class="memdoc"> 106 107</div> 108</div> 109<a class="anchor" id="a4e66d7b71bfb26565be76280dc5057df"></a> 110<div class="memitem"> 111<div class="memproto"> 112 <table class="memname"> 113 <tr> 114 <td class="memname">lldb::SBInstruction::~SBInstruction </td> 115 <td>(</td> 116 <td class="paramname"></td><td>)</td> 117 <td></td> 118 </tr> 119 </table> 120</div><div class="memdoc"> 121 122</div> 123</div> 124<a class="anchor" id="a92ba22ef5ee264aef1acb3987d599e3e"></a> 125<div class="memitem"> 126<div class="memproto"> 127<table class="mlabels"> 128 <tr> 129 <td class="mlabels-left"> 130 <table class="memname"> 131 <tr> 132 <td class="memname">lldb::SBInstruction::SBInstruction </td> 133 <td>(</td> 134 <td class="paramtype">const lldb::InstructionSP & </td> 135 <td class="paramname"><em>inst_sp</em></td><td>)</td> 136 <td></td> 137 </tr> 138 </table> 139 </td> 140 <td class="mlabels-right"> 141<span class="mlabels"><span class="mlabel">protected</span></span> </td> 142 </tr> 143</table> 144</div><div class="memdoc"> 145 146</div> 147</div> 148<h2>Member Function Documentation</h2> 149<a class="anchor" id="a087f53c1202e991468e11cb056fe91d8"></a> 150<div class="memitem"> 151<div class="memproto"> 152 <table class="memname"> 153 <tr> 154 <td class="memname">bool lldb::SBInstruction::DoesBranch </td> 155 <td>(</td> 156 <td class="paramname"></td><td>)</td> 157 <td></td> 158 </tr> 159 </table> 160</div><div class="memdoc"> 161 162</div> 163</div> 164<a class="anchor" id="a9e51cbbb2b3426632960ab76302c17c4"></a> 165<div class="memitem"> 166<div class="memproto"> 167 <table class="memname"> 168 <tr> 169 <td class="memname">bool lldb::SBInstruction::DumpEmulation </td> 170 <td>(</td> 171 <td class="paramtype">const char * </td> 172 <td class="paramname"><em>triple</em></td><td>)</td> 173 <td></td> 174 </tr> 175 </table> 176</div><div class="memdoc"> 177 178</div> 179</div> 180<a class="anchor" id="abf66d49fa96c191905e9f4c3d2a2218f"></a> 181<div class="memitem"> 182<div class="memproto"> 183 <table class="memname"> 184 <tr> 185 <td class="memname">bool lldb::SBInstruction::EmulateWithFrame </td> 186 <td>(</td> 187 <td class="paramtype"><a class="el" href="classlldb_1_1SBFrame.html">lldb::SBFrame</a> & </td> 188 <td class="paramname"><em>frame</em>, </td> 189 </tr> 190 <tr> 191 <td class="paramkey"></td> 192 <td></td> 193 <td class="paramtype">uint32_t </td> 194 <td class="paramname"><em>evaluate_options</em> </td> 195 </tr> 196 <tr> 197 <td></td> 198 <td>)</td> 199 <td></td><td></td> 200 </tr> 201 </table> 202</div><div class="memdoc"> 203 204</div> 205</div> 206<a class="anchor" id="aa053a3191fb55697c47178c9c71cfbbe"></a> 207<div class="memitem"> 208<div class="memproto"> 209 <table class="memname"> 210 <tr> 211 <td class="memname"><a class="el" href="classlldb_1_1SBAddress.html">SBAddress</a> lldb::SBInstruction::GetAddress </td> 212 <td>(</td> 213 <td class="paramname"></td><td>)</td> 214 <td></td> 215 </tr> 216 </table> 217</div><div class="memdoc"> 218 219</div> 220</div> 221<a class="anchor" id="aff1374ed946260f39bf9140fa97aa0fc"></a> 222<div class="memitem"> 223<div class="memproto"> 224 <table class="memname"> 225 <tr> 226 <td class="memname">lldb::AddressClass lldb::SBInstruction::GetAddressClass </td> 227 <td>(</td> 228 <td class="paramname"></td><td>)</td> 229 <td></td> 230 </tr> 231 </table> 232</div><div class="memdoc"> 233 234</div> 235</div> 236<a class="anchor" id="a59e80b0ba6a32669b7f10348c52fca30"></a> 237<div class="memitem"> 238<div class="memproto"> 239 <table class="memname"> 240 <tr> 241 <td class="memname">size_t lldb::SBInstruction::GetByteSize </td> 242 <td>(</td> 243 <td class="paramname"></td><td>)</td> 244 <td></td> 245 </tr> 246 </table> 247</div><div class="memdoc"> 248 249</div> 250</div> 251<a class="anchor" id="a5f83690e486b88394866d280bf09a3eb"></a> 252<div class="memitem"> 253<div class="memproto"> 254 <table class="memname"> 255 <tr> 256 <td class="memname">const char* lldb::SBInstruction::GetComment </td> 257 <td>(</td> 258 <td class="paramtype"><a class="el" href="classlldb_1_1SBTarget.html">lldb::SBTarget</a> </td> 259 <td class="paramname"><em>target</em></td><td>)</td> 260 <td></td> 261 </tr> 262 </table> 263</div><div class="memdoc"> 264 265</div> 266</div> 267<a class="anchor" id="a7de0e98a9265debe0c7a3abe810d11f2"></a> 268<div class="memitem"> 269<div class="memproto"> 270 <table class="memname"> 271 <tr> 272 <td class="memname"><a class="el" href="classlldb_1_1SBData.html">lldb::SBData</a> lldb::SBInstruction::GetData </td> 273 <td>(</td> 274 <td class="paramtype"><a class="el" href="classlldb_1_1SBTarget.html">lldb::SBTarget</a> </td> 275 <td class="paramname"><em>target</em></td><td>)</td> 276 <td></td> 277 </tr> 278 </table> 279</div><div class="memdoc"> 280 281</div> 282</div> 283<a class="anchor" id="a3fcd105ec9be19ea6e49ba237463665f"></a> 284<div class="memitem"> 285<div class="memproto"> 286 <table class="memname"> 287 <tr> 288 <td class="memname">bool lldb::SBInstruction::GetDescription </td> 289 <td>(</td> 290 <td class="paramtype"><a class="el" href="classlldb_1_1SBStream.html">lldb::SBStream</a> & </td> 291 <td class="paramname"><em>description</em></td><td>)</td> 292 <td></td> 293 </tr> 294 </table> 295</div><div class="memdoc"> 296 297</div> 298</div> 299<a class="anchor" id="a59b8db49852fa31e99bd03834897077c"></a> 300<div class="memitem"> 301<div class="memproto"> 302 <table class="memname"> 303 <tr> 304 <td class="memname">const char* lldb::SBInstruction::GetMnemonic </td> 305 <td>(</td> 306 <td class="paramtype"><a class="el" href="classlldb_1_1SBTarget.html">lldb::SBTarget</a> </td> 307 <td class="paramname"><em>target</em></td><td>)</td> 308 <td></td> 309 </tr> 310 </table> 311</div><div class="memdoc"> 312 313</div> 314</div> 315<a class="anchor" id="a77c6ac22d261ec082e1c89dcf81504de"></a> 316<div class="memitem"> 317<div class="memproto"> 318 <table class="memname"> 319 <tr> 320 <td class="memname">const char* lldb::SBInstruction::GetOperands </td> 321 <td>(</td> 322 <td class="paramtype"><a class="el" href="classlldb_1_1SBTarget.html">lldb::SBTarget</a> </td> 323 <td class="paramname"><em>target</em></td><td>)</td> 324 <td></td> 325 </tr> 326 </table> 327</div><div class="memdoc"> 328 329</div> 330</div> 331<a class="anchor" id="a0abbe70ad2372828ddae7dd608a74410"></a> 332<div class="memitem"> 333<div class="memproto"> 334 <table class="memname"> 335 <tr> 336 <td class="memname">bool lldb::SBInstruction::IsValid </td> 337 <td>(</td> 338 <td class="paramname"></td><td>)</td> 339 <td></td> 340 </tr> 341 </table> 342</div><div class="memdoc"> 343 344</div> 345</div> 346<a class="anchor" id="aa9de2c02cec437df4b5d97e89a47207b"></a> 347<div class="memitem"> 348<div class="memproto"> 349 <table class="memname"> 350 <tr> 351 <td class="memname">const <a class="el" href="classlldb_1_1SBInstruction.html">SBInstruction</a>& lldb::SBInstruction::operator= </td> 352 <td>(</td> 353 <td class="paramtype">const <a class="el" href="classlldb_1_1SBInstruction.html">SBInstruction</a> & </td> 354 <td class="paramname"><em>rhs</em></td><td>)</td> 355 <td></td> 356 </tr> 357 </table> 358</div><div class="memdoc"> 359 360</div> 361</div> 362<a class="anchor" id="a2c92bab9d9d73b0afe77e726f2572857"></a> 363<div class="memitem"> 364<div class="memproto"> 365 <table class="memname"> 366 <tr> 367 <td class="memname">void lldb::SBInstruction::Print </td> 368 <td>(</td> 369 <td class="paramtype">FILE * </td> 370 <td class="paramname"><em>out</em></td><td>)</td> 371 <td></td> 372 </tr> 373 </table> 374</div><div class="memdoc"> 375 376</div> 377</div> 378<a class="anchor" id="aa0431597c292d1fc150bca60ec313648"></a> 379<div class="memitem"> 380<div class="memproto"> 381<table class="mlabels"> 382 <tr> 383 <td class="mlabels-left"> 384 <table class="memname"> 385 <tr> 386 <td class="memname">void lldb::SBInstruction::SetOpaque </td> 387 <td>(</td> 388 <td class="paramtype">const lldb::InstructionSP & </td> 389 <td class="paramname"><em>inst_sp</em></td><td>)</td> 390 <td></td> 391 </tr> 392 </table> 393 </td> 394 <td class="mlabels-right"> 395<span class="mlabels"><span class="mlabel">protected</span></span> </td> 396 </tr> 397</table> 398</div><div class="memdoc"> 399 400</div> 401</div> 402<a class="anchor" id="a3f8ce042930cc99a6ebfd9134ff73c3b"></a> 403<div class="memitem"> 404<div class="memproto"> 405 <table class="memname"> 406 <tr> 407 <td class="memname">bool lldb::SBInstruction::TestEmulation </td> 408 <td>(</td> 409 <td class="paramtype"><a class="el" href="classlldb_1_1SBStream.html">lldb::SBStream</a> & </td> 410 <td class="paramname"><em>output_stream</em>, </td> 411 </tr> 412 <tr> 413 <td class="paramkey"></td> 414 <td></td> 415 <td class="paramtype">const char * </td> 416 <td class="paramname"><em>test_file</em> </td> 417 </tr> 418 <tr> 419 <td></td> 420 <td>)</td> 421 <td></td><td></td> 422 </tr> 423 </table> 424</div><div class="memdoc"> 425 426</div> 427</div> 428<h2>Friends And Related Function Documentation</h2> 429<a class="anchor" id="aef79410dcd84e1378958b6acc3d32dcb"></a> 430<div class="memitem"> 431<div class="memproto"> 432<table class="mlabels"> 433 <tr> 434 <td class="mlabels-left"> 435 <table class="memname"> 436 <tr> 437 <td class="memname">friend class <a class="el" href="classlldb_1_1SBInstructionList.html">SBInstructionList</a></td> 438 </tr> 439 </table> 440 </td> 441 <td class="mlabels-right"> 442<span class="mlabels"><span class="mlabel">friend</span></span> </td> 443 </tr> 444</table> 445</div><div class="memdoc"> 446 447<p>Definition at line <a class="el" href="SBInstruction_8h_source.html#l00079">79</a> of file <a class="el" href="SBInstruction_8h_source.html">SBInstruction.h</a>.</p> 448 449</div> 450</div> 451<hr/>The documentation for this class was generated from the following file:<ul> 452<li><a class="el" href="SBInstruction_8h_source.html">SBInstruction.h</a></li> 453</ul> 454</div><!-- contents --> 455<hr> 456<p class="footer"> 457Generated on Fri Jul 19 2013 13:25:55 for <a href="http://lldb.llvm.org/">LLVM</a> by 458<a href="http://www.doxygen.org"><img src="doxygen.png" alt="Doxygen" 459align="middle" border="0"/>1.8.1.2</a><br> 460Copyright © 2003-2013 University of Illinois at Urbana-Champaign. 461All Rights Reserved.</p> 462<hr> 463<!--#include virtual="/attrib.incl" --> 464</body> 465</html> 466