llvm-project/lldb/www/python_reference/lldb.SBSymbolContext-class....

987 lines
42 KiB
HTML
Raw Normal View History

<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>lldb.SBSymbolContext</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" />
<script type="text/javascript" src="epydoc.js"></script>
</head>
<body bgcolor="white" text="black" link="blue" vlink="#204080"
alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
bgcolor="#a0c0ff" cellspacing="0">
<tr valign="middle">
<!-- Tree link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Index link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Help link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Project homepage -->
<th class="navbar" align="right" width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tr><th class="navbar" align="center"
><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th>
</tr></table></th>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="100%">
<span class="breadcrumbs">
<a href="lldb-module.html">Package&nbsp;lldb</a> ::
Class&nbsp;SBSymbolContext
</span>
</td>
<td>
<table cellpadding="0" cellspacing="0">
<!-- hide/show private -->
<tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
<tr><td align="right"><span class="options"
>[<a href="frames.html" target="_top">frames</a
>]&nbsp;|&nbsp;<a href="lldb.SBSymbolContext-class.html"
target="_top">no&nbsp;frames</a>]</span></td></tr>
</table>
</td>
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class SBSymbolContext</h1><p class="nomargin-top"><span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext">source&nbsp;code</a></span></p>
<center>
<center> <map id="uml_class_diagram_for_lldb_sbs_6" name="uml_class_diagram_for_lldb_sbs_6">
<area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#__swig_setmethods__" title="lldb.SBSymbolContext.__swig_setmethods__" alt="" coords="17,31,197,49"/>
<area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#__swig_getmethods__" title="lldb.SBSymbolContext.__swig_getmethods__" alt="" coords="17,49,197,68"/>
<area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#block" title="A read/write property that allows the getting/setting of the block &#160;(lldb.SBBlock) in this symbol context." alt="" coords="17,68,197,87"/>
<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 &#160;(lldb.SBCompileUnit) in this symbol context." alt="" coords="17,87,197,105"/>
<area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#function" title="A read/write property that allows the getting/setting of the function &#160;(lldb.SBFunction) in this symbol context." alt="" coords="17,105,197,124"/>
<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 &#160;(lldb.SBLineEntry) in this symbol context." alt="" coords="17,124,197,143"/>
<area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#module" title="A read/write property that allows the getting/setting of the module &#160;(lldb.SBModule) in this symbol context." alt="" coords="17,143,197,161"/>
<area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#symbol" title="A read/write property that allows the getting/setting of the symbol &#160;(lldb.SBSymbol) in this symbol context." alt="" coords="17,161,197,180"/>
<area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#__setattr__" title="x.__setattr__(&#39;name&#39;, value) &lt;==&gt; x.name = value" alt="" coords="17,183,197,201"/>
<area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#__getattr__" title="lldb.SBSymbolContext.__getattr__" alt="" coords="17,201,197,220"/>
<area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#__repr__" title="repr(x)" alt="" coords="17,220,197,239"/>
<area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#__init__" title="__init__(lldb::SBSymbolContext self) &#45;&gt; SBSymbolContext &#160;__init__(lldb::SBSymbolContext self, SBSymbolContext rhs) &#45;&gt; &#160;SBSymbolContext" alt="" coords="17,239,197,257"/>
<area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#__swig_destroy__" title="delete_SBSymbolContext(SBSymbolContext self)" alt="" coords="17,257,197,276"/>
<area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#__del__" title="lldb.SBSymbolContext.__del__" alt="" coords="17,276,197,295"/>
<area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#__nonzero__" title="lldb.SBSymbolContext.__nonzero__" alt="" coords="17,295,197,313"/>
<area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#IsValid" title="IsValid(SBSymbolContext self) &#45;&gt; bool" alt="" coords="17,313,197,332"/>
<area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#GetModule" title="GetModule(SBSymbolContext self) &#45;&gt; SBModule" alt="" coords="17,332,197,351"/>
<area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#GetCompileUnit" title="GetCompileUnit(SBSymbolContext self) &#45;&gt; SBCompileUnit" alt="" coords="17,351,197,369"/>
<area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#GetFunction" title="GetFunction(SBSymbolContext self) &#45;&gt; SBFunction" alt="" coords="17,369,197,388"/>
<area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#GetBlock" title="GetBlock(SBSymbolContext self) &#45;&gt; SBBlock" alt="" coords="17,388,197,407"/>
<area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#GetLineEntry" title="GetLineEntry(SBSymbolContext self) &#45;&gt; SBLineEntry" alt="" coords="17,407,197,425"/>
<area shape="rect" id="node42" href="lldb.SBSymbolContext-class.html#__str__" title="__str__(SBSymbolContext self) &#45;&gt; PyObject *" alt="" coords="17,444,197,463"/>
<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"/>
</map>
<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" />
</center>
</center>
<hr />
<pre class="literalblock">
A context object that provides access to core debugger entities.
Manay debugger functions require a context when doing lookups. This class
provides a common structure that can be used as the result of a query that
can contain a single result.
For example,
exe = os.path.join(os.getcwd(), 'a.out')
# Create a target for the debugger.
target = self.dbg.CreateTarget(exe)
# Now create a breakpoint on main.c by name 'c'.
breakpoint = target.BreakpointCreateByName('c', 'a.out')
# Now launch the process, and do not stop at entry point.
process = target.LaunchSimple(None, None, os.getcwd())
# The inferior should stop on 'c'.
from lldbutil import get_stopped_thread
thread = get_stopped_thread(process, lldb.eStopReasonBreakpoint)
frame0 = thread.GetFrameAtIndex(0)
# Now get the SBSymbolContext from this frame. We want everything. :-)
context = frame0.GetSymbolContext(lldb.eSymbolContextEverything)
# Get the module.
module = context.GetModule()
...
# And the compile unit associated with the frame.
compileUnit = context.GetCompileUnit()
...
</pre>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
<td colspan="2" class="table-header">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td align="left"><span class="table-header">Instance Methods</span></td>
<td align="right" valign="top"
><span class="options">[<a href="#section-InstanceMethods"
class="privatelink" onclick="toggle_private();"
>hide private</a>]</span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<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>,
<span class="summary-sig-arg">name</span>,
<span class="summary-sig-arg">value</span>)</span><br />
x.__setattr__('name', value) &lt;==&gt; x.name = value</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.__setattr__">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="__getattr__"></a><span class="summary-sig-name">__getattr__</span>(<span class="summary-sig-arg">self</span>,
<span class="summary-sig-arg">name</span>)</span></td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.__getattr__">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<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 />
repr(x)</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<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>,
<span class="summary-sig-arg">*args</span>)</span><br />
__init__(lldb::SBSymbolContext self) -&gt; SBSymbolContext
__init__(lldb::SBSymbolContext self, SBSymbolContext rhs) -&gt;
SBSymbolContext</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.__init__">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<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 />
delete_SBSymbolContext(SBSymbolContext self)</td>
<td align="right" valign="top">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<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>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.__del__">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<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>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.__nonzero__">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<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 />
IsValid(SBSymbolContext self) -&gt; bool</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.IsValid">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<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 />
GetModule(SBSymbolContext self) -&gt; SBModule</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.GetModule">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<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 />
GetCompileUnit(SBSymbolContext self) -&gt; SBCompileUnit</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.GetCompileUnit">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<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 />
GetFunction(SBSymbolContext self) -&gt; SBFunction</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.GetFunction">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<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 />
GetBlock(SBSymbolContext self) -&gt; SBBlock</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.GetBlock">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<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 />
GetLineEntry(SBSymbolContext self) -&gt; SBLineEntry</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.GetLineEntry">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<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 />
GetSymbol(SBSymbolContext self) -&gt; SBSymbol</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.GetSymbol">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="SetModule"></a><span class="summary-sig-name">SetModule</span>(<span class="summary-sig-arg">self</span>,
<span class="summary-sig-arg">*args</span>)</span><br />
SetModule(SBSymbolContext self, SBModule module)</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.SetModule">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="SetCompileUnit"></a><span class="summary-sig-name">SetCompileUnit</span>(<span class="summary-sig-arg">self</span>,
<span class="summary-sig-arg">*args</span>)</span><br />
SetCompileUnit(SBSymbolContext self, SBCompileUnit compile_unit)</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.SetCompileUnit">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="SetFunction"></a><span class="summary-sig-name">SetFunction</span>(<span class="summary-sig-arg">self</span>,
<span class="summary-sig-arg">*args</span>)</span><br />
SetFunction(SBSymbolContext self, SBFunction function)</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.SetFunction">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="SetBlock"></a><span class="summary-sig-name">SetBlock</span>(<span class="summary-sig-arg">self</span>,
<span class="summary-sig-arg">*args</span>)</span><br />
SetBlock(SBSymbolContext self, SBBlock block)</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.SetBlock">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="SetLineEntry"></a><span class="summary-sig-name">SetLineEntry</span>(<span class="summary-sig-arg">self</span>,
<span class="summary-sig-arg">*args</span>)</span><br />
SetLineEntry(SBSymbolContext self, SBLineEntry line_entry)</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.SetLineEntry">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="SetSymbol"></a><span class="summary-sig-name">SetSymbol</span>(<span class="summary-sig-arg">self</span>,
<span class="summary-sig-arg">*args</span>)</span><br />
SetSymbol(SBSymbolContext self, SBSymbol symbol)</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.SetSymbol">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="GetParentOfInlinedScope"></a><span class="summary-sig-name">GetParentOfInlinedScope</span>(<span class="summary-sig-arg">self</span>,
<span class="summary-sig-arg">*args</span>)</span><br />
GetParentOfInlinedScope(SBSymbolContext self, SBAddress
curr_frame_pc, SBAddress parent_frame_addr) -&gt; SBSymbolContext</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.GetParentOfInlinedScope">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="GetDescription"></a><span class="summary-sig-name">GetDescription</span>(<span class="summary-sig-arg">self</span>,
<span class="summary-sig-arg">*args</span>)</span><br />
GetDescription(SBSymbolContext self, SBStream description) -&gt; bool</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.GetDescription">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<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 />
__str__(SBSymbolContext self) -&gt; PyObject *</td>
<td align="right" valign="top">
<span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.__str__">source&nbsp;code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" class="summary">
<p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
<code>__delattr__</code>,
<code>__format__</code>,
<code>__getattribute__</code>,
<code>__hash__</code>,
<code>__new__</code>,
<code>__reduce__</code>,
<code>__reduce_ex__</code>,
<code>__sizeof__</code>,
<code>__subclasshook__</code>
</p>
</td>
</tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
<td colspan="2" class="table-header">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td align="left"><span class="table-header">Class Variables</span></td>
<td align="right" valign="top"
><span class="options">[<a href="#section-ClassVariables"
class="privatelink" onclick="toggle_private();"
>hide private</a>]</span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a name="__swig_setmethods__"></a><span class="summary-name">__swig_setmethods__</span> = <code title="{}">{}</code>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a name="__swig_getmethods__"></a><span class="summary-name">__swig_getmethods__</span> = <code title="{}">{}</code>
</td>
</tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
<td colspan="2" class="table-header">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td align="left"><span class="table-header">Properties</span></td>
<td align="right" valign="top"
><span class="options">[<a href="#section-Properties"
class="privatelink" onclick="toggle_private();"
>hide private</a>]</span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="lldb.SBSymbolContext-class.html#block" class="summary-name">block</a><br />
A read/write property that allows the getting/setting of the block
(lldb.SBBlock) in this symbol context.
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="lldb.SBSymbolContext-class.html#compile_unit" class="summary-name">compile_unit</a><br />
A read/write property that allows the getting/setting of the compile
unit (lldb.SBCompileUnit) in this symbol context.
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="lldb.SBSymbolContext-class.html#function" class="summary-name">function</a><br />
A read/write property that allows the getting/setting of the function
(lldb.SBFunction) in this symbol context.
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="lldb.SBSymbolContext-class.html#line_entry" class="summary-name">line_entry</a><br />
A read/write property that allows the getting/setting of the line
entry (lldb.SBLineEntry) in this symbol context.
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="lldb.SBSymbolContext-class.html#module" class="summary-name">module</a><br />
A read/write property that allows the getting/setting of the module
(lldb.SBModule) in this symbol context.
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="lldb.SBSymbolContext-class.html#symbol" class="summary-name">symbol</a><br />
A read/write property that allows the getting/setting of the symbol
(lldb.SBSymbol) in this symbol context.
</td>
</tr>
<tr>
<td colspan="2" class="summary">
<p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
<code>__class__</code>
</p>
</td>
</tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
<td colspan="2" class="table-header">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td align="left"><span class="table-header">Method Details</span></td>
<td align="right" valign="top"
><span class="options">[<a href="#section-MethodDetails"
class="privatelink" onclick="toggle_private();"
>hide private</a>]</span></td>
</tr>
</table>
</td>
</tr>
</table>
<a name="__setattr__"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr valign="top"><td>
<h3 class="epydoc"><span class="sig"><span class="sig-name">__setattr__</span>(<span class="sig-arg">self</span>,
<span class="sig-arg">name</span>,
<span class="sig-arg">value</span>)</span>
</h3>
</td><td align="right" valign="top"
><span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.__setattr__">source&nbsp;code</a></span>&nbsp;
</td>
</tr></table>
<p>x.__setattr__('name', value) &lt;==&gt; x.name = value</p>
<dl class="fields">
<dt>Overrides:
object.__setattr__
<dd><em class="note">(inherited documentation)</em></dd>
</dt>
</dl>
</td></tr></table>
</div>
<a name="__repr__"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr valign="top"><td>
<h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span>
<br /><em class="fname">(Representation operator)</em>
</h3>
</td><td align="right" valign="top"
><span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source&nbsp;code</a></span>&nbsp;
</td>
</tr></table>
<p>repr(x)</p>
<dl class="fields">
<dt>Overrides:
object.__repr__
<dd><em class="note">(inherited documentation)</em></dd>
</dt>
</dl>
</td></tr></table>
</div>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr valign="top"><td>
<h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
<span class="sig-arg">*args</span>)</span>
<br /><em class="fname">(Constructor)</em>
</h3>
</td><td align="right" valign="top"
><span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.__init__">source&nbsp;code</a></span>&nbsp;
</td>
</tr></table>
<p>__init__(lldb::SBSymbolContext self) -&gt; SBSymbolContext
__init__(lldb::SBSymbolContext self, SBSymbolContext rhs) -&gt;
SBSymbolContext</p>
<dl class="fields">
<dt>Overrides:
object.__init__
</dt>
</dl>
</td></tr></table>
</div>
<a name="__str__"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr valign="top"><td>
<h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span>
<br /><em class="fname">(Informal representation operator)</em>
</h3>
</td><td align="right" valign="top"
><span class="codelink"><a href="lldb-pysrc.html#SBSymbolContext.__str__">source&nbsp;code</a></span>&nbsp;
</td>
</tr></table>
<p>__str__(SBSymbolContext self) -&gt; PyObject *</p>
<dl class="fields">
<dt>Overrides:
object.__str__
</dt>
</dl>
</td></tr></table>
</div>
<br />
<!-- ==================== PROPERTY DETAILS ==================== -->
<a name="section-PropertyDetails"></a>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
<td colspan="2" class="table-header">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td align="left"><span class="table-header">Property Details</span></td>
<td align="right" valign="top"
><span class="options">[<a href="#section-PropertyDetails"
class="privatelink" onclick="toggle_private();"
>hide private</a>]</span></td>
</tr>
</table>
</td>
</tr>
</table>
<a name="block"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<h3 class="epydoc">block</h3>
<p>A read/write property that allows the getting/setting of the block
(lldb.SBBlock) in this symbol context.</p>
<dl class="fields">
<dt>Get Method:</dt>
<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>
- GetBlock(SBSymbolContext self) -&gt; SBBlock
</dd>
<dt>Set Method:</dt>
<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>,
<span class="summary-sig-arg">*args</span>)</span>
- SetBlock(SBSymbolContext self, SBBlock block)
</dd>
</dl>
</td></tr></table>
</div>
<a name="compile_unit"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<h3 class="epydoc">compile_unit</h3>
<p>A read/write property that allows the getting/setting of the compile
unit (lldb.SBCompileUnit) in this symbol context.</p>
<dl class="fields">
<dt>Get Method:</dt>
<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>
- GetCompileUnit(SBSymbolContext self) -&gt; SBCompileUnit
</dd>
<dt>Set Method:</dt>
<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>,
<span class="summary-sig-arg">*args</span>)</span>
- SetCompileUnit(SBSymbolContext self, SBCompileUnit compile_unit)
</dd>
</dl>
</td></tr></table>
</div>
<a name="function"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<h3 class="epydoc">function</h3>
<p>A read/write property that allows the getting/setting of the function
(lldb.SBFunction) in this symbol context.</p>
<dl class="fields">
<dt>Get Method:</dt>
<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>
- GetFunction(SBSymbolContext self) -&gt; SBFunction
</dd>
<dt>Set Method:</dt>
<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>,
<span class="summary-sig-arg">*args</span>)</span>
- SetFunction(SBSymbolContext self, SBFunction function)
</dd>
</dl>
</td></tr></table>
</div>
<a name="line_entry"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<h3 class="epydoc">line_entry</h3>
<p>A read/write property that allows the getting/setting of the line
entry (lldb.SBLineEntry) in this symbol context.</p>
<dl class="fields">
<dt>Get Method:</dt>
<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>
- GetLineEntry(SBSymbolContext self) -&gt; SBLineEntry
</dd>
<dt>Set Method:</dt>
<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>,
<span class="summary-sig-arg">*args</span>)</span>
- SetLineEntry(SBSymbolContext self, SBLineEntry line_entry)
</dd>
</dl>
</td></tr></table>
</div>
<a name="module"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<h3 class="epydoc">module</h3>
<p>A read/write property that allows the getting/setting of the module
(lldb.SBModule) in this symbol context.</p>
<dl class="fields">
<dt>Get Method:</dt>
<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>
- GetModule(SBSymbolContext self) -&gt; SBModule
</dd>
<dt>Set Method:</dt>
<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>,
<span class="summary-sig-arg">*args</span>)</span>
- SetModule(SBSymbolContext self, SBModule module)
</dd>
</dl>
</td></tr></table>
</div>
<a name="symbol"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<h3 class="epydoc">symbol</h3>
<p>A read/write property that allows the getting/setting of the symbol
(lldb.SBSymbol) in this symbol context.</p>
<dl class="fields">
<dt>Get Method:</dt>
<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>
- GetSymbol(SBSymbolContext self) -&gt; SBSymbol
</dd>
<dt>Set Method:</dt>
<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>,
<span class="summary-sig-arg">*args</span>)</span>
- SetSymbol(SBSymbolContext self, SBSymbol symbol)
</dd>
</dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
bgcolor="#a0c0ff" cellspacing="0">
<tr valign="middle">
<!-- Tree link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Index link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Help link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Project homepage -->
<th class="navbar" align="right" width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tr><th class="navbar" align="center"
><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th>
</tr></table></th>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1 on Fri Jul 19 13:22:36 2013
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
>http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
// Private objects are initially displayed (because if
// javascript is turned off then we want them to be
// visible); but by default, we want to hide them. So hide
// them unless we have a cookie that says to show them.
checkCookie();
// -->
</script>
</body>
</html>