1 //===-- SWIG Interface for SBSymbol -----------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
13 "Represents the symbol possibly associated with a stack frame.
14 SBModule contains SBSymbol(s). SBSymbol can also be retrieved from SBFrame.
16 See also SBModule and SBFrame."
26 SBSymbol (const lldb::SBSymbol &rhs);
36 GetDisplayName() const;
39 GetMangledName () const;
41 lldb::SBInstructionList
42 GetInstructions (lldb::SBTarget target);
44 lldb::SBInstructionList
45 GetInstructions (lldb::SBTarget target, const char *flavor_string);
54 GetPrologueByteSize ();
60 GetDescription (lldb::SBStream &description);
69 operator == (const lldb::SBSymbol &rhs) const;
72 operator != (const lldb::SBSymbol &rhs) const;
75 def get_instructions_from_current_target (self):
76 return self.GetInstructions (target)
78 __swig_getmethods__["name"] = GetName
79 if _newclass: name = property(GetName, None, doc='''A read only property that returns the name for this symbol as a string.''')
81 __swig_getmethods__["mangled"] = GetMangledName
82 if _newclass: mangled = property(GetMangledName, None, doc='''A read only property that returns the mangled (linkage) name for this symbol as a string.''')
84 __swig_getmethods__["type"] = GetType
85 if _newclass: type = property(GetType, None, doc='''A read only property that returns an lldb enumeration value (see enumerations that start with "lldb.eSymbolType") that represents the type of this symbol.''')
87 __swig_getmethods__["addr"] = GetStartAddress
88 if _newclass: addr = property(GetStartAddress, None, doc='''A read only property that returns an lldb object that represents the start address (lldb.SBAddress) for this symbol.''')
90 __swig_getmethods__["end_addr"] = GetEndAddress
91 if _newclass: end_addr = property(GetEndAddress, None, doc='''A read only property that returns an lldb object that represents the end address (lldb.SBAddress) for this symbol.''')
93 __swig_getmethods__["prologue_size"] = GetPrologueByteSize
94 if _newclass: prologue_size = property(GetPrologueByteSize, None, doc='''A read only property that returns the size in bytes of the prologue instructions as an unsigned integer.''')
96 __swig_getmethods__["instructions"] = get_instructions_from_current_target
97 if _newclass: instructions = property(get_instructions_from_current_target, None, doc='''A read only property that returns an lldb object that represents the instructions (lldb.SBInstructionList) for this symbol.''')
99 __swig_getmethods__["external"] = IsExternal
100 if _newclass: external = property(IsExternal, None, doc='''A read only property that returns a boolean value that indicates if this symbol is externally visiable (exported) from the module that contains it.''')
102 __swig_getmethods__["synthetic"] = IsSynthetic
103 if _newclass: synthetic = property(IsSynthetic, None, doc='''A read only property that returns a boolean value that indicates if this symbol was synthetically created from information in module that contains it.''')