1 <?xml version="1.0" encoding="ascii"?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 3 "DTD/xhtml1-transitional.dtd"> 4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 5 <head> 6 <title>lldb.SBSymbolContext</title> 7 <link rel="stylesheet" href="epydoc.css" type="text/css" /> 8 <script type="text/javascript" src="epydoc.js"></script> 9 </head> 10 11 <body bgcolor="white" text="black" link="blue" vlink="#204080" 12 alink="#204080"> 13 <!-- ==================== NAVIGATION BAR ==================== --> 14 <table class="navbar" border="0" width="100%" cellpadding="0" 15 bgcolor="#a0c0ff" cellspacing="0"> 16 <tr valign="middle"> 17 18 <!-- Tree link --> 19 <th> <a 20 href="module-tree.html">Trees</a> </th> 21 22 <!-- Index link --> 23 <th> <a 24 href="identifier-index.html">Indices</a> </th> 25 26 <!-- Help link --> 27 <th> <a 28 href="help.html">Help</a> </th> 29 30 <!-- Project homepage --> 31 <th class="navbar" align="right" width="100%"> 32 <table border="0" cellpadding="0" cellspacing="0"> 33 <tr><th class="navbar" align="center" 34 ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th> 35 </tr></table></th> 36 </tr> 37 </table> 38 <table width="100%" cellpadding="0" cellspacing="0"> 39 <tr valign="top"> 40 <td width="100%"> 41 <span class="breadcrumbs"> 42 <a href="lldb-module.html">Package lldb</a> :: 43 Class SBSymbolContext 44 </span> 45 </td> 46 <td> 47 <table cellpadding="0" cellspacing="0"> 48 <!-- hide/show private --> 49 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" 50 onclick="toggle_private();">hide private</a>]</span></td></tr> 51 <tr><td align="right"><span class="options" 52 >[<a href="frames.html" target="_top">frames</a 53 >] | <a href="lldb.SBSymbolContext-class.html" 54 target="_top">no frames</a>]</span></td></tr> 55 </table> 56 </td> 57 </tr> 58 </table> 59 <!-- ==================== CLASS DESCRIPTION ==================== --> 60 <h1 class="epydoc">Class SBSymbolContext</h1><p class="nomargin-top"><span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext">source code</a></span></p> 61 <center> 62 <center> <map id="uml_class_diagram_for_lldb_sbs_6" name="uml_class_diagram_for_lldb_sbs_6"> 63 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#__swig_setmethods__" title="lldb.SBSymbolContext.__swig_setmethods__" alt="" coords="17,31,197,49"/> 64 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#__swig_getmethods__" title="lldb.SBSymbolContext.__swig_getmethods__" alt="" coords="17,49,197,68"/> 65 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#block" title="A read/write property that allows the getting/setting of the block  (lldb.SBBlock) in this symbol context." alt="" coords="17,68,197,87"/> 66 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#compile_unit" title="A read/write property that allows the getting/setting of the compile unit  (lldb.SBCompileUnit) in this symbol context." alt="" coords="17,87,197,105"/> 67 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#function" title="A read/write property that allows the getting/setting of the function  (lldb.SBFunction) in this symbol context." alt="" coords="17,105,197,124"/> 68 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#line_entry" title="A read/write property that allows the getting/setting of the line entry  (lldb.SBLineEntry) in this symbol context." alt="" coords="17,124,197,143"/> 69 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#module" title="A read/write property that allows the getting/setting of the module  (lldb.SBModule) in this symbol context." alt="" coords="17,143,197,161"/> 70 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#symbol" title="A read/write property that allows the getting/setting of the symbol  (lldb.SBSymbol) in this symbol context." alt="" coords="17,161,197,180"/> 71 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#__setattr__" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="17,183,197,201"/> 72 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#__getattr__" title="lldb.SBSymbolContext.__getattr__" alt="" coords="17,201,197,220"/> 73 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#__repr__" title="repr(x)" alt="" coords="17,220,197,239"/> 74 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#__init__" title="__init__(lldb::SBSymbolContext self) -> SBSymbolContext  __init__(lldb::SBSymbolContext self, SBSymbolContext rhs) ->  SBSymbolContext" alt="" coords="17,239,197,257"/> 75 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#__swig_destroy__" title="delete_SBSymbolContext(SBSymbolContext self)" alt="" coords="17,257,197,276"/> 76 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#__del__" title="lldb.SBSymbolContext.__del__" alt="" coords="17,276,197,295"/> 77 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#__nonzero__" title="lldb.SBSymbolContext.__nonzero__" alt="" coords="17,295,197,313"/> 78 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#IsValid" title="IsValid(SBSymbolContext self) -> bool" alt="" coords="17,313,197,332"/> 79 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#GetModule" title="GetModule(SBSymbolContext self) -> SBModule" alt="" coords="17,332,197,351"/> 80 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#GetCompileUnit" title="GetCompileUnit(SBSymbolContext self) -> SBCompileUnit" alt="" coords="17,351,197,369"/> 81 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#GetFunction" title="GetFunction(SBSymbolContext self) -> SBFunction" alt="" coords="17,369,197,388"/> 82 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#GetBlock" title="GetBlock(SBSymbolContext self) -> SBBlock" alt="" coords="17,388,197,407"/> 83 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#GetLineEntry" title="GetLineEntry(SBSymbolContext self) -> SBLineEntry" alt="" coords="17,407,197,425"/> 84 <area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#__str__" title="__str__(SBSymbolContext self) -> PyObject *" alt="" coords="17,444,197,463"/> 85 <area shape="rect" id="node1" href="lldb.SBSymbolContext-class.html" title="A context object that provides access to core debugger entities." alt="" coords="5,6,208,469"/> 86 </map> 87 <img src="uml_class_diagram_for_lldb_sbs_6.gif" alt='' usemap="#uml_class_diagram_for_lldb_sbs_6" ismap="ismap" class="graph-without-title" /> 88 </center> 89 </center> 90 <hr /> 91 <pre class="literalblock"> 92 93 A context object that provides access to core debugger entities. 94 95 Manay debugger functions require a context when doing lookups. This class 96 provides a common structure that can be used as the result of a query that 97 can contain a single result. 98 99 For example, 100 101 exe = os.path.join(os.getcwd(), 'a.out') 102 103 # Create a target for the debugger. 104 target = self.dbg.CreateTarget(exe) 105 106 # Now create a breakpoint on main.c by name 'c'. 107 breakpoint = target.BreakpointCreateByName('c', 'a.out') 108 109 # Now launch the process, and do not stop at entry point. 110 process = target.LaunchSimple(None, None, os.getcwd()) 111 112 # The inferior should stop on 'c'. 113 from lldbutil import get_stopped_thread 114 thread = get_stopped_thread(process, lldb.eStopReasonBreakpoint) 115 frame0 = thread.GetFrameAtIndex(0) 116 117 # Now get the SBSymbolContext from this frame. We want everything. :-) 118 context = frame0.GetSymbolContext(lldb.eSymbolContextEverything) 119 120 # Get the module. 121 module = context.GetModule() 122 ... 123 124 # And the compile unit associated with the frame. 125 compileUnit = context.GetCompileUnit() 126 ... 127 128 </pre> 129 130 <!-- ==================== INSTANCE METHODS ==================== --> 131 <a name="section-InstanceMethods"></a> 132 <table class="summary" border="1" cellpadding="3" 133 cellspacing="0" width="100%" bgcolor="white"> 134 <tr bgcolor="#70b0f0" class="table-header"> 135 <td colspan="2" class="table-header"> 136 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 137 <tr valign="top"> 138 <td align="left"><span class="table-header">Instance Methods</span></td> 139 <td align="right" valign="top" 140 ><span class="options">[<a href="#section-InstanceMethods" 141 class="privatelink" onclick="toggle_private();" 142 >hide private</a>]</span></td> 143 </tr> 144 </table> 145 </td> 146 </tr> 147 <tr> 148 <td width="15%" align="right" valign="top" class="summary"> 149 <span class="summary-type"> </span> 150 </td><td class="summary"> 151 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 152 <tr> 153 <td><span class="summary-sig"><a href="lldb.SBSymbolContext-class.html#__setattr__" class="summary-sig-name">__setattr__</a>(<span class="summary-sig-arg">self</span>, 154 <span class="summary-sig-arg">name</span>, 155 <span class="summary-sig-arg">value</span>)</span><br /> 156 x.__setattr__('name', value) <==> x.name = value</td> 157 <td align="right" valign="top"> 158 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.__setattr__">source code</a></span> 159 160 </td> 161 </tr> 162 </table> 163 164 </td> 165 </tr> 166 <tr> 167 <td width="15%" align="right" valign="top" class="summary"> 168 <span class="summary-type"> </span> 169 </td><td class="summary"> 170 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 171 <tr> 172 <td><span class="summary-sig"><a name="__getattr__"></a><span class="summary-sig-name">__getattr__</span>(<span class="summary-sig-arg">self</span>, 173 <span class="summary-sig-arg">name</span>)</span></td> 174 <td align="right" valign="top"> 175 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.__getattr__">source code</a></span> 176 177 </td> 178 </tr> 179 </table> 180 181 </td> 182 </tr> 183 <tr> 184 <td width="15%" align="right" valign="top" class="summary"> 185 <span class="summary-type"> </span> 186 </td><td class="summary"> 187 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 188 <tr> 189 <td><span class="summary-sig"><a href="lldb.SBSymbolContext-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br /> 190 repr(x)</td> 191 <td align="right" valign="top"> 192 <span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span> 193 194 </td> 195 </tr> 196 </table> 197 198 </td> 199 </tr> 200 <tr> 201 <td width="15%" align="right" valign="top" class="summary"> 202 <span class="summary-type"> </span> 203 </td><td class="summary"> 204 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 205 <tr> 206 <td><span class="summary-sig"><a href="lldb.SBSymbolContext-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, 207 <span class="summary-sig-arg">*args</span>)</span><br /> 208 __init__(lldb::SBSymbolContext self) -> SBSymbolContext 209 __init__(lldb::SBSymbolContext self, SBSymbolContext rhs) -> 210 SBSymbolContext</td> 211 <td align="right" valign="top"> 212 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.__init__">source code</a></span> 213 214 </td> 215 </tr> 216 </table> 217 218 </td> 219 </tr> 220 <tr> 221 <td width="15%" align="right" valign="top" class="summary"> 222 <span class="summary-type"> </span> 223 </td><td class="summary"> 224 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 225 <tr> 226 <td><span class="summary-sig"><a name="__swig_destroy__"></a><span class="summary-sig-name">__swig_destroy__</span>(<span class="summary-sig-arg">...</span>)</span><br /> 227 delete_SBSymbolContext(SBSymbolContext self)</td> 228 <td align="right" valign="top"> 229 230 231 </td> 232 </tr> 233 </table> 234 235 </td> 236 </tr> 237 <tr> 238 <td width="15%" align="right" valign="top" class="summary"> 239 <span class="summary-type"> </span> 240 </td><td class="summary"> 241 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 242 <tr> 243 <td><span class="summary-sig"><a name="__del__"></a><span class="summary-sig-name">__del__</span>(<span class="summary-sig-arg">self</span>)</span></td> 244 <td align="right" valign="top"> 245 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.__del__">source code</a></span> 246 247 </td> 248 </tr> 249 </table> 250 251 </td> 252 </tr> 253 <tr> 254 <td width="15%" align="right" valign="top" class="summary"> 255 <span class="summary-type"> </span> 256 </td><td class="summary"> 257 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 258 <tr> 259 <td><span class="summary-sig"><a name="__nonzero__"></a><span class="summary-sig-name">__nonzero__</span>(<span class="summary-sig-arg">self</span>)</span></td> 260 <td align="right" valign="top"> 261 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.__nonzero__">source code</a></span> 262 263 </td> 264 </tr> 265 </table> 266 267 </td> 268 </tr> 269 <tr> 270 <td width="15%" align="right" valign="top" class="summary"> 271 <span class="summary-type"> </span> 272 </td><td class="summary"> 273 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 274 <tr> 275 <td><span class="summary-sig"><a name="IsValid"></a><span class="summary-sig-name">IsValid</span>(<span class="summary-sig-arg">self</span>)</span><br /> 276 IsValid(SBSymbolContext self) -> bool</td> 277 <td align="right" valign="top"> 278 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.IsValid">source code</a></span> 279 280 </td> 281 </tr> 282 </table> 283 284 </td> 285 </tr> 286 <tr> 287 <td width="15%" align="right" valign="top" class="summary"> 288 <span class="summary-type"> </span> 289 </td><td class="summary"> 290 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 291 <tr> 292 <td><span class="summary-sig"><a name="GetModule"></a><span class="summary-sig-name">GetModule</span>(<span class="summary-sig-arg">self</span>)</span><br /> 293 GetModule(SBSymbolContext self) -> SBModule</td> 294 <td align="right" valign="top"> 295 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.GetModule">source code</a></span> 296 297 </td> 298 </tr> 299 </table> 300 301 </td> 302 </tr> 303 <tr> 304 <td width="15%" align="right" valign="top" class="summary"> 305 <span class="summary-type"> </span> 306 </td><td class="summary"> 307 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 308 <tr> 309 <td><span class="summary-sig"><a name="GetCompileUnit"></a><span class="summary-sig-name">GetCompileUnit</span>(<span class="summary-sig-arg">self</span>)</span><br /> 310 GetCompileUnit(SBSymbolContext self) -> SBCompileUnit</td> 311 <td align="right" valign="top"> 312 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.GetCompileUnit">source code</a></span> 313 314 </td> 315 </tr> 316 </table> 317 318 </td> 319 </tr> 320 <tr> 321 <td width="15%" align="right" valign="top" class="summary"> 322 <span class="summary-type"> </span> 323 </td><td class="summary"> 324 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 325 <tr> 326 <td><span class="summary-sig"><a name="GetFunction"></a><span class="summary-sig-name">GetFunction</span>(<span class="summary-sig-arg">self</span>)</span><br /> 327 GetFunction(SBSymbolContext self) -> SBFunction</td> 328 <td align="right" valign="top"> 329 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.GetFunction">source code</a></span> 330 331 </td> 332 </tr> 333 </table> 334 335 </td> 336 </tr> 337 <tr> 338 <td width="15%" align="right" valign="top" class="summary"> 339 <span class="summary-type"> </span> 340 </td><td class="summary"> 341 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 342 <tr> 343 <td><span class="summary-sig"><a name="GetBlock"></a><span class="summary-sig-name">GetBlock</span>(<span class="summary-sig-arg">self</span>)</span><br /> 344 GetBlock(SBSymbolContext self) -> SBBlock</td> 345 <td align="right" valign="top"> 346 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.GetBlock">source code</a></span> 347 348 </td> 349 </tr> 350 </table> 351 352 </td> 353 </tr> 354 <tr> 355 <td width="15%" align="right" valign="top" class="summary"> 356 <span class="summary-type"> </span> 357 </td><td class="summary"> 358 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 359 <tr> 360 <td><span class="summary-sig"><a name="GetLineEntry"></a><span class="summary-sig-name">GetLineEntry</span>(<span class="summary-sig-arg">self</span>)</span><br /> 361 GetLineEntry(SBSymbolContext self) -> SBLineEntry</td> 362 <td align="right" valign="top"> 363 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.GetLineEntry">source code</a></span> 364 365 </td> 366 </tr> 367 </table> 368 369 </td> 370 </tr> 371 <tr> 372 <td width="15%" align="right" valign="top" class="summary"> 373 <span class="summary-type"> </span> 374 </td><td class="summary"> 375 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 376 <tr> 377 <td><span class="summary-sig"><a name="GetSymbol"></a><span class="summary-sig-name">GetSymbol</span>(<span class="summary-sig-arg">self</span>)</span><br /> 378 GetSymbol(SBSymbolContext self) -> SBSymbol</td> 379 <td align="right" valign="top"> 380 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.GetSymbol">source code</a></span> 381 382 </td> 383 </tr> 384 </table> 385 386 </td> 387 </tr> 388 <tr> 389 <td width="15%" align="right" valign="top" class="summary"> 390 <span class="summary-type"> </span> 391 </td><td class="summary"> 392 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 393 <tr> 394 <td><span class="summary-sig"><a name="SetModule"></a><span class="summary-sig-name">SetModule</span>(<span class="summary-sig-arg">self</span>, 395 <span class="summary-sig-arg">*args</span>)</span><br /> 396 SetModule(SBSymbolContext self, SBModule module)</td> 397 <td align="right" valign="top"> 398 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.SetModule">source code</a></span> 399 400 </td> 401 </tr> 402 </table> 403 404 </td> 405 </tr> 406 <tr> 407 <td width="15%" align="right" valign="top" class="summary"> 408 <span class="summary-type"> </span> 409 </td><td class="summary"> 410 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 411 <tr> 412 <td><span class="summary-sig"><a name="SetCompileUnit"></a><span class="summary-sig-name">SetCompileUnit</span>(<span class="summary-sig-arg">self</span>, 413 <span class="summary-sig-arg">*args</span>)</span><br /> 414 SetCompileUnit(SBSymbolContext self, SBCompileUnit compile_unit)</td> 415 <td align="right" valign="top"> 416 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.SetCompileUnit">source code</a></span> 417 418 </td> 419 </tr> 420 </table> 421 422 </td> 423 </tr> 424 <tr> 425 <td width="15%" align="right" valign="top" class="summary"> 426 <span class="summary-type"> </span> 427 </td><td class="summary"> 428 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 429 <tr> 430 <td><span class="summary-sig"><a name="SetFunction"></a><span class="summary-sig-name">SetFunction</span>(<span class="summary-sig-arg">self</span>, 431 <span class="summary-sig-arg">*args</span>)</span><br /> 432 SetFunction(SBSymbolContext self, SBFunction function)</td> 433 <td align="right" valign="top"> 434 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.SetFunction">source code</a></span> 435 436 </td> 437 </tr> 438 </table> 439 440 </td> 441 </tr> 442 <tr> 443 <td width="15%" align="right" valign="top" class="summary"> 444 <span class="summary-type"> </span> 445 </td><td class="summary"> 446 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 447 <tr> 448 <td><span class="summary-sig"><a name="SetBlock"></a><span class="summary-sig-name">SetBlock</span>(<span class="summary-sig-arg">self</span>, 449 <span class="summary-sig-arg">*args</span>)</span><br /> 450 SetBlock(SBSymbolContext self, SBBlock block)</td> 451 <td align="right" valign="top"> 452 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.SetBlock">source code</a></span> 453 454 </td> 455 </tr> 456 </table> 457 458 </td> 459 </tr> 460 <tr> 461 <td width="15%" align="right" valign="top" class="summary"> 462 <span class="summary-type"> </span> 463 </td><td class="summary"> 464 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 465 <tr> 466 <td><span class="summary-sig"><a name="SetLineEntry"></a><span class="summary-sig-name">SetLineEntry</span>(<span class="summary-sig-arg">self</span>, 467 <span class="summary-sig-arg">*args</span>)</span><br /> 468 SetLineEntry(SBSymbolContext self, SBLineEntry line_entry)</td> 469 <td align="right" valign="top"> 470 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.SetLineEntry">source code</a></span> 471 472 </td> 473 </tr> 474 </table> 475 476 </td> 477 </tr> 478 <tr> 479 <td width="15%" align="right" valign="top" class="summary"> 480 <span class="summary-type"> </span> 481 </td><td class="summary"> 482 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 483 <tr> 484 <td><span class="summary-sig"><a name="SetSymbol"></a><span class="summary-sig-name">SetSymbol</span>(<span class="summary-sig-arg">self</span>, 485 <span class="summary-sig-arg">*args</span>)</span><br /> 486 SetSymbol(SBSymbolContext self, SBSymbol symbol)</td> 487 <td align="right" valign="top"> 488 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.SetSymbol">source code</a></span> 489 490 </td> 491 </tr> 492 </table> 493 494 </td> 495 </tr> 496 <tr> 497 <td width="15%" align="right" valign="top" class="summary"> 498 <span class="summary-type"> </span> 499 </td><td class="summary"> 500 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 501 <tr> 502 <td><span class="summary-sig"><a name="GetParentOfInlinedScope"></a><span class="summary-sig-name">GetParentOfInlinedScope</span>(<span class="summary-sig-arg">self</span>, 503 <span class="summary-sig-arg">*args</span>)</span><br /> 504 GetParentOfInlinedScope(SBSymbolContext self, SBAddress 505 curr_frame_pc, SBAddress parent_frame_addr) -> SBSymbolContext</td> 506 <td align="right" valign="top"> 507 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.GetParentOfInlinedScope">source code</a></span> 508 509 </td> 510 </tr> 511 </table> 512 513 </td> 514 </tr> 515 <tr> 516 <td width="15%" align="right" valign="top" class="summary"> 517 <span class="summary-type"> </span> 518 </td><td class="summary"> 519 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 520 <tr> 521 <td><span class="summary-sig"><a name="GetDescription"></a><span class="summary-sig-name">GetDescription</span>(<span class="summary-sig-arg">self</span>, 522 <span class="summary-sig-arg">*args</span>)</span><br /> 523 GetDescription(SBSymbolContext self, SBStream description) -> bool</td> 524 <td align="right" valign="top"> 525 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.GetDescription">source code</a></span> 526 527 </td> 528 </tr> 529 </table> 530 531 </td> 532 </tr> 533 <tr> 534 <td width="15%" align="right" valign="top" class="summary"> 535 <span class="summary-type"> </span> 536 </td><td class="summary"> 537 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 538 <tr> 539 <td><span class="summary-sig"><a href="lldb.SBSymbolContext-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br /> 540 __str__(SBSymbolContext self) -> PyObject *</td> 541 <td align="right" valign="top"> 542 <span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.__str__">source code</a></span> 543 544 </td> 545 </tr> 546 </table> 547 548 </td> 549 </tr> 550 <tr> 551 <td colspan="2" class="summary"> 552 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 553 <code>__delattr__</code>, 554 <code>__format__</code>, 555 <code>__getattribute__</code>, 556 <code>__hash__</code>, 557 <code>__new__</code>, 558 <code>__reduce__</code>, 559 <code>__reduce_ex__</code>, 560 <code>__sizeof__</code>, 561 <code>__subclasshook__</code> 562 </p> 563 </td> 564 </tr> 565 </table> 566 <!-- ==================== CLASS VARIABLES ==================== --> 567 <a name="section-ClassVariables"></a> 568 <table class="summary" border="1" cellpadding="3" 569 cellspacing="0" width="100%" bgcolor="white"> 570 <tr bgcolor="#70b0f0" class="table-header"> 571 <td colspan="2" class="table-header"> 572 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 573 <tr valign="top"> 574 <td align="left"><span class="table-header">Class Variables</span></td> 575 <td align="right" valign="top" 576 ><span class="options">[<a href="#section-ClassVariables" 577 class="privatelink" onclick="toggle_private();" 578 >hide private</a>]</span></td> 579 </tr> 580 </table> 581 </td> 582 </tr> 583 <tr> 584 <td width="15%" align="right" valign="top" class="summary"> 585 <span class="summary-type"> </span> 586 </td><td class="summary"> 587 <a name="__swig_setmethods__"></a><span class="summary-name">__swig_setmethods__</span> = <code title="{}">{}</code> 588 </td> 589 </tr> 590 <tr> 591 <td width="15%" align="right" valign="top" class="summary"> 592 <span class="summary-type"> </span> 593 </td><td class="summary"> 594 <a name="__swig_getmethods__"></a><span class="summary-name">__swig_getmethods__</span> = <code title="{}">{}</code> 595 </td> 596 </tr> 597 </table> 598 <!-- ==================== PROPERTIES ==================== --> 599 <a name="section-Properties"></a> 600 <table class="summary" border="1" cellpadding="3" 601 cellspacing="0" width="100%" bgcolor="white"> 602 <tr bgcolor="#70b0f0" class="table-header"> 603 <td colspan="2" class="table-header"> 604 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 605 <tr valign="top"> 606 <td align="left"><span class="table-header">Properties</span></td> 607 <td align="right" valign="top" 608 ><span class="options">[<a href="#section-Properties" 609 class="privatelink" onclick="toggle_private();" 610 >hide private</a>]</span></td> 611 </tr> 612 </table> 613 </td> 614 </tr> 615 <tr> 616 <td width="15%" align="right" valign="top" class="summary"> 617 <span class="summary-type"> </span> 618 </td><td class="summary"> 619 <a href="lldb.SBSymbolContext-class.html#block" class="summary-name">block</a><br /> 620 A read/write property that allows the getting/setting of the block 621 (lldb.SBBlock) in this symbol context. 622 </td> 623 </tr> 624 <tr> 625 <td width="15%" align="right" valign="top" class="summary"> 626 <span class="summary-type"> </span> 627 </td><td class="summary"> 628 <a href="lldb.SBSymbolContext-class.html#compile_unit" class="summary-name">compile_unit</a><br /> 629 A read/write property that allows the getting/setting of the compile 630 unit (lldb.SBCompileUnit) in this symbol context. 631 </td> 632 </tr> 633 <tr> 634 <td width="15%" align="right" valign="top" class="summary"> 635 <span class="summary-type"> </span> 636 </td><td class="summary"> 637 <a href="lldb.SBSymbolContext-class.html#function" class="summary-name">function</a><br /> 638 A read/write property that allows the getting/setting of the function 639 (lldb.SBFunction) in this symbol context. 640 </td> 641 </tr> 642 <tr> 643 <td width="15%" align="right" valign="top" class="summary"> 644 <span class="summary-type"> </span> 645 </td><td class="summary"> 646 <a href="lldb.SBSymbolContext-class.html#line_entry" class="summary-name">line_entry</a><br /> 647 A read/write property that allows the getting/setting of the line 648 entry (lldb.SBLineEntry) in this symbol context. 649 </td> 650 </tr> 651 <tr> 652 <td width="15%" align="right" valign="top" class="summary"> 653 <span class="summary-type"> </span> 654 </td><td class="summary"> 655 <a href="lldb.SBSymbolContext-class.html#module" class="summary-name">module</a><br /> 656 A read/write property that allows the getting/setting of the module 657 (lldb.SBModule) in this symbol context. 658 </td> 659 </tr> 660 <tr> 661 <td width="15%" align="right" valign="top" class="summary"> 662 <span class="summary-type"> </span> 663 </td><td class="summary"> 664 <a href="lldb.SBSymbolContext-class.html#symbol" class="summary-name">symbol</a><br /> 665 A read/write property that allows the getting/setting of the symbol 666 (lldb.SBSymbol) in this symbol context. 667 </td> 668 </tr> 669 <tr> 670 <td colspan="2" class="summary"> 671 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 672 <code>__class__</code> 673 </p> 674 </td> 675 </tr> 676 </table> 677 <!-- ==================== METHOD DETAILS ==================== --> 678 <a name="section-MethodDetails"></a> 679 <table class="details" border="1" cellpadding="3" 680 cellspacing="0" width="100%" bgcolor="white"> 681 <tr bgcolor="#70b0f0" class="table-header"> 682 <td colspan="2" class="table-header"> 683 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 684 <tr valign="top"> 685 <td align="left"><span class="table-header">Method Details</span></td> 686 <td align="right" valign="top" 687 ><span class="options">[<a href="#section-MethodDetails" 688 class="privatelink" onclick="toggle_private();" 689 >hide private</a>]</span></td> 690 </tr> 691 </table> 692 </td> 693 </tr> 694 </table> 695 <a name="__setattr__"></a> 696 <div> 697 <table class="details" border="1" cellpadding="3" 698 cellspacing="0" width="100%" bgcolor="white"> 699 <tr><td> 700 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 701 <tr valign="top"><td> 702 <h3 class="epydoc"><span class="sig"><span class="sig-name">__setattr__</span>(<span class="sig-arg">self</span>, 703 <span class="sig-arg">name</span>, 704 <span class="sig-arg">value</span>)</span> 705 </h3> 706 </td><td align="right" valign="top" 707 ><span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.__setattr__">source code</a></span> 708 </td> 709 </tr></table> 710 711 <p>x.__setattr__('name', value) <==> x.name = value</p> 712 <dl class="fields"> 713 <dt>Overrides: 714 object.__setattr__ 715 <dd><em class="note">(inherited documentation)</em></dd> 716 </dt> 717 </dl> 718 </td></tr></table> 719 </div> 720 <a name="__repr__"></a> 721 <div> 722 <table class="details" border="1" cellpadding="3" 723 cellspacing="0" width="100%" bgcolor="white"> 724 <tr><td> 725 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 726 <tr valign="top"><td> 727 <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span> 728 <br /><em class="fname">(Representation operator)</em> 729 </h3> 730 </td><td align="right" valign="top" 731 ><span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span> 732 </td> 733 </tr></table> 734 735 <p>repr(x)</p> 736 <dl class="fields"> 737 <dt>Overrides: 738 object.__repr__ 739 <dd><em class="note">(inherited documentation)</em></dd> 740 </dt> 741 </dl> 742 </td></tr></table> 743 </div> 744 <a name="__init__"></a> 745 <div> 746 <table class="details" border="1" cellpadding="3" 747 cellspacing="0" width="100%" bgcolor="white"> 748 <tr><td> 749 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 750 <tr valign="top"><td> 751 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, 752 <span class="sig-arg">*args</span>)</span> 753 <br /><em class="fname">(Constructor)</em> 754 </h3> 755 </td><td align="right" valign="top" 756 ><span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.__init__">source code</a></span> 757 </td> 758 </tr></table> 759 760 <p>__init__(lldb::SBSymbolContext self) -> SBSymbolContext 761 __init__(lldb::SBSymbolContext self, SBSymbolContext rhs) -> 762 SBSymbolContext</p> 763 <dl class="fields"> 764 <dt>Overrides: 765 object.__init__ 766 </dt> 767 </dl> 768 </td></tr></table> 769 </div> 770 <a name="__str__"></a> 771 <div> 772 <table class="details" border="1" cellpadding="3" 773 cellspacing="0" width="100%" bgcolor="white"> 774 <tr><td> 775 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 776 <tr valign="top"><td> 777 <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span> 778 <br /><em class="fname">(Informal representation operator)</em> 779 </h3> 780 </td><td align="right" valign="top" 781 ><span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.__str__">source code</a></span> 782 </td> 783 </tr></table> 784 785 <p>__str__(SBSymbolContext self) -> PyObject *</p> 786 <dl class="fields"> 787 <dt>Overrides: 788 object.__str__ 789 </dt> 790 </dl> 791 </td></tr></table> 792 </div> 793 <br /> 794 <!-- ==================== PROPERTY DETAILS ==================== --> 795 <a name="section-PropertyDetails"></a> 796 <table class="details" border="1" cellpadding="3" 797 cellspacing="0" width="100%" bgcolor="white"> 798 <tr bgcolor="#70b0f0" class="table-header"> 799 <td colspan="2" class="table-header"> 800 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 801 <tr valign="top"> 802 <td align="left"><span class="table-header">Property Details</span></td> 803 <td align="right" valign="top" 804 ><span class="options">[<a href="#section-PropertyDetails" 805 class="privatelink" onclick="toggle_private();" 806 >hide private</a>]</span></td> 807 </tr> 808 </table> 809 </td> 810 </tr> 811 </table> 812 <a name="block"></a> 813 <div> 814 <table class="details" border="1" cellpadding="3" 815 cellspacing="0" width="100%" bgcolor="white"> 816 <tr><td> 817 <h3 class="epydoc">block</h3> 818 <p>A read/write property that allows the getting/setting of the block 819 (lldb.SBBlock) in this symbol context.</p> 820 <dl class="fields"> 821 <dt>Get Method:</dt> 822 <dd class="value"><span class="summary-sig"><a href="lldb.SBSymbolContext-class.html#GetBlock" class="summary-sig-name">GetBlock</a>(<span class="summary-sig-arg">self</span>)</span> 823 - GetBlock(SBSymbolContext self) -> SBBlock 824 </dd> 825 <dt>Set Method:</dt> 826 <dd class="value"><span class="summary-sig"><a href="lldb.SBSymbolContext-class.html#SetBlock" class="summary-sig-name">SetBlock</a>(<span class="summary-sig-arg">self</span>, 827 <span class="summary-sig-arg">*args</span>)</span> 828 - SetBlock(SBSymbolContext self, SBBlock block) 829 </dd> 830 </dl> 831 </td></tr></table> 832 </div> 833 <a name="compile_unit"></a> 834 <div> 835 <table class="details" border="1" cellpadding="3" 836 cellspacing="0" width="100%" bgcolor="white"> 837 <tr><td> 838 <h3 class="epydoc">compile_unit</h3> 839 <p>A read/write property that allows the getting/setting of the compile 840 unit (lldb.SBCompileUnit) in this symbol context.</p> 841 <dl class="fields"> 842 <dt>Get Method:</dt> 843 <dd class="value"><span class="summary-sig"><a href="lldb.SBSymbolContext-class.html#GetCompileUnit" class="summary-sig-name">GetCompileUnit</a>(<span class="summary-sig-arg">self</span>)</span> 844 - GetCompileUnit(SBSymbolContext self) -> SBCompileUnit 845 </dd> 846 <dt>Set Method:</dt> 847 <dd class="value"><span class="summary-sig"><a href="lldb.SBSymbolContext-class.html#SetCompileUnit" class="summary-sig-name">SetCompileUnit</a>(<span class="summary-sig-arg">self</span>, 848 <span class="summary-sig-arg">*args</span>)</span> 849 - SetCompileUnit(SBSymbolContext self, SBCompileUnit compile_unit) 850 </dd> 851 </dl> 852 </td></tr></table> 853 </div> 854 <a name="function"></a> 855 <div> 856 <table class="details" border="1" cellpadding="3" 857 cellspacing="0" width="100%" bgcolor="white"> 858 <tr><td> 859 <h3 class="epydoc">function</h3> 860 <p>A read/write property that allows the getting/setting of the function 861 (lldb.SBFunction) in this symbol context.</p> 862 <dl class="fields"> 863 <dt>Get Method:</dt> 864 <dd class="value"><span class="summary-sig"><a href="lldb.SBSymbolContext-class.html#GetFunction" class="summary-sig-name">GetFunction</a>(<span class="summary-sig-arg">self</span>)</span> 865 - GetFunction(SBSymbolContext self) -> SBFunction 866 </dd> 867 <dt>Set Method:</dt> 868 <dd class="value"><span class="summary-sig"><a href="lldb.SBSymbolContext-class.html#SetFunction" class="summary-sig-name">SetFunction</a>(<span class="summary-sig-arg">self</span>, 869 <span class="summary-sig-arg">*args</span>)</span> 870 - SetFunction(SBSymbolContext self, SBFunction function) 871 </dd> 872 </dl> 873 </td></tr></table> 874 </div> 875 <a name="line_entry"></a> 876 <div> 877 <table class="details" border="1" cellpadding="3" 878 cellspacing="0" width="100%" bgcolor="white"> 879 <tr><td> 880 <h3 class="epydoc">line_entry</h3> 881 <p>A read/write property that allows the getting/setting of the line 882 entry (lldb.SBLineEntry) in this symbol context.</p> 883 <dl class="fields"> 884 <dt>Get Method:</dt> 885 <dd class="value"><span class="summary-sig"><a href="lldb.SBSymbolContext-class.html#GetLineEntry" class="summary-sig-name">GetLineEntry</a>(<span class="summary-sig-arg">self</span>)</span> 886 - GetLineEntry(SBSymbolContext self) -> SBLineEntry 887 </dd> 888 <dt>Set Method:</dt> 889 <dd class="value"><span class="summary-sig"><a href="lldb.SBSymbolContext-class.html#SetLineEntry" class="summary-sig-name">SetLineEntry</a>(<span class="summary-sig-arg">self</span>, 890 <span class="summary-sig-arg">*args</span>)</span> 891 - SetLineEntry(SBSymbolContext self, SBLineEntry line_entry) 892 </dd> 893 </dl> 894 </td></tr></table> 895 </div> 896 <a name="module"></a> 897 <div> 898 <table class="details" border="1" cellpadding="3" 899 cellspacing="0" width="100%" bgcolor="white"> 900 <tr><td> 901 <h3 class="epydoc">module</h3> 902 <p>A read/write property that allows the getting/setting of the module 903 (lldb.SBModule) in this symbol context.</p> 904 <dl class="fields"> 905 <dt>Get Method:</dt> 906 <dd class="value"><span class="summary-sig"><a href="lldb.SBSymbolContext-class.html#GetModule" class="summary-sig-name">GetModule</a>(<span class="summary-sig-arg">self</span>)</span> 907 - GetModule(SBSymbolContext self) -> SBModule 908 </dd> 909 <dt>Set Method:</dt> 910 <dd class="value"><span class="summary-sig"><a href="lldb.SBSymbolContext-class.html#SetModule" class="summary-sig-name">SetModule</a>(<span class="summary-sig-arg">self</span>, 911 <span class="summary-sig-arg">*args</span>)</span> 912 - SetModule(SBSymbolContext self, SBModule module) 913 </dd> 914 </dl> 915 </td></tr></table> 916 </div> 917 <a name="symbol"></a> 918 <div> 919 <table class="details" border="1" cellpadding="3" 920 cellspacing="0" width="100%" bgcolor="white"> 921 <tr><td> 922 <h3 class="epydoc">symbol</h3> 923 <p>A read/write property that allows the getting/setting of the symbol 924 (lldb.SBSymbol) in this symbol context.</p> 925 <dl class="fields"> 926 <dt>Get Method:</dt> 927 <dd class="value"><span class="summary-sig"><a href="lldb.SBSymbolContext-class.html#GetSymbol" class="summary-sig-name">GetSymbol</a>(<span class="summary-sig-arg">self</span>)</span> 928 - GetSymbol(SBSymbolContext self) -> SBSymbol 929 </dd> 930 <dt>Set Method:</dt> 931 <dd class="value"><span class="summary-sig"><a href="lldb.SBSymbolContext-class.html#SetSymbol" class="summary-sig-name">SetSymbol</a>(<span class="summary-sig-arg">self</span>, 932 <span class="summary-sig-arg">*args</span>)</span> 933 - SetSymbol(SBSymbolContext self, SBSymbol symbol) 934 </dd> 935 </dl> 936 </td></tr></table> 937 </div> 938 <br /> 939 <!-- ==================== NAVIGATION BAR ==================== --> 940 <table class="navbar" border="0" width="100%" cellpadding="0" 941 bgcolor="#a0c0ff" cellspacing="0"> 942 <tr valign="middle"> 943 944 <!-- Tree link --> 945 <th> <a 946 href="module-tree.html">Trees</a> </th> 947 948 <!-- Index link --> 949 <th> <a 950 href="identifier-index.html">Indices</a> </th> 951 952 <!-- Help link --> 953 <th> <a 954 href="help.html">Help</a> </th> 955 956 <!-- Project homepage --> 957 <th class="navbar" align="right" width="100%"> 958 <table border="0" cellpadding="0" cellspacing="0"> 959 <tr><th class="navbar" align="center" 960 ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th> 961 </tr></table></th> 962 </tr> 963 </table> 964 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> 965 <tr> 966 <td align="left" class="footer"> 967 Generated by Epydoc 3.0.1 on Fri Jul 19 13:22:36 2013 968 </td> 969 <td align="right" class="footer"> 970 <a target="mainFrame" href="http://epydoc.sourceforge.net" 971 >http://epydoc.sourceforge.net</a> 972 </td> 973 </tr> 974 </table> 975 976 <script type="text/javascript"> 977 <!-- 978 // Private objects are initially displayed (because if 979 // javascript is turned off then we want them to be 980 // visible); but by default, we want to hide them. So hide 981 // them unless we have a cookie that says to show them. 982 checkCookie(); 983 // --> 984 </script> 985 </body> 986 </html> 987