Johnny Chen | 6d91e0a | 2011-07-19 01:07:06 +0000 | [diff] [blame^] | 1 | //===-- SWIG Interface for SBSymbol -----------------------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | namespace lldb { |
| 11 | |
| 12 | %feature("docstring", |
| 13 | "Represents the symbol possibly associated with a stack frame. |
| 14 | SBModule contains SBSymbol(s). SBSymbol can also be retrived from SBFrame. |
| 15 | |
| 16 | See also SBModule and SBFrame." |
| 17 | ) SBSymbol; |
| 18 | class SBSymbol |
| 19 | { |
| 20 | public: |
| 21 | |
| 22 | SBSymbol (); |
| 23 | |
| 24 | ~SBSymbol (); |
| 25 | |
| 26 | SBSymbol (const lldb::SBSymbol &rhs); |
| 27 | |
| 28 | bool |
| 29 | IsValid () const; |
| 30 | |
| 31 | |
| 32 | const char * |
| 33 | GetName() const; |
| 34 | |
| 35 | const char * |
| 36 | GetMangledName () const; |
| 37 | |
| 38 | lldb::SBInstructionList |
| 39 | GetInstructions (lldb::SBTarget target); |
| 40 | |
| 41 | SBAddress |
| 42 | GetStartAddress (); |
| 43 | |
| 44 | SBAddress |
| 45 | GetEndAddress (); |
| 46 | |
| 47 | uint32_t |
| 48 | GetPrologueByteSize (); |
| 49 | |
| 50 | SymbolType |
| 51 | GetType (); |
| 52 | |
| 53 | bool |
| 54 | GetDescription (lldb::SBStream &description); |
| 55 | }; |
| 56 | |
| 57 | } // namespace lldb |