diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:26:05 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:26:05 +0000 |
| commit | 14f1b3e8826ce43b978db93a62d1166055db5394 (patch) | |
| tree | 0a00ad8d3498783fe0193f3b656bca17c4c8697d /include/lldb/API/SBFunction.h | |
| parent | 4ee8c119c71a06dcad1e0fecc8c675e480e59337 (diff) | |
Notes
Diffstat (limited to 'include/lldb/API/SBFunction.h')
| -rw-r--r-- | include/lldb/API/SBFunction.h | 88 |
1 files changed, 32 insertions, 56 deletions
diff --git a/include/lldb/API/SBFunction.h b/include/lldb/API/SBFunction.h index f76c77c44e3f..23da02102cfb 100644 --- a/include/lldb/API/SBFunction.h +++ b/include/lldb/API/SBFunction.h @@ -10,96 +10,72 @@ #ifndef LLDB_SBFunction_h_ #define LLDB_SBFunction_h_ -#include "lldb/API/SBDefines.h" #include "lldb/API/SBAddress.h" +#include "lldb/API/SBDefines.h" #include "lldb/API/SBInstructionList.h" namespace lldb { -class LLDB_API SBFunction -{ +class LLDB_API SBFunction { public: + SBFunction(); - SBFunction (); + SBFunction(const lldb::SBFunction &rhs); - SBFunction (const lldb::SBFunction &rhs); + const lldb::SBFunction &operator=(const lldb::SBFunction &rhs); - const lldb::SBFunction & - operator = (const lldb::SBFunction &rhs); + ~SBFunction(); - ~SBFunction (); + bool IsValid() const; - bool - IsValid () const; + const char *GetName() const; - const char * - GetName() const; + const char *GetDisplayName() const; - const char * - GetDisplayName() const; - - const char * - GetMangledName () const; + const char *GetMangledName() const; - lldb::SBInstructionList - GetInstructions (lldb::SBTarget target); + lldb::SBInstructionList GetInstructions(lldb::SBTarget target); - lldb::SBInstructionList - GetInstructions (lldb::SBTarget target, const char *flavor); + lldb::SBInstructionList GetInstructions(lldb::SBTarget target, + const char *flavor); - lldb::SBAddress - GetStartAddress (); + lldb::SBAddress GetStartAddress(); - lldb::SBAddress - GetEndAddress (); + lldb::SBAddress GetEndAddress(); - const char * - GetArgumentName (uint32_t arg_idx); + const char *GetArgumentName(uint32_t arg_idx); - uint32_t - GetPrologueByteSize (); + uint32_t GetPrologueByteSize(); - lldb::SBType - GetType (); + lldb::SBType GetType(); - lldb::SBBlock - GetBlock (); - - lldb::LanguageType - GetLanguage (); + lldb::SBBlock GetBlock(); - bool - GetIsOptimized (); + lldb::LanguageType GetLanguage(); - bool - operator == (const lldb::SBFunction &rhs) const; + bool GetIsOptimized(); - bool - operator != (const lldb::SBFunction &rhs) const; + bool operator==(const lldb::SBFunction &rhs) const; - bool - GetDescription (lldb::SBStream &description); + bool operator!=(const lldb::SBFunction &rhs) const; -protected: + bool GetDescription(lldb::SBStream &description); - lldb_private::Function * - get (); +protected: + lldb_private::Function *get(); - void - reset (lldb_private::Function *lldb_object_ptr); + void reset(lldb_private::Function *lldb_object_ptr); private: - friend class SBAddress; - friend class SBFrame; - friend class SBSymbolContext; - - SBFunction (lldb_private::Function *lldb_object_ptr); + friend class SBAddress; + friend class SBFrame; + friend class SBSymbolContext; + SBFunction(lldb_private::Function *lldb_object_ptr); - lldb_private::Function *m_opaque_ptr; + lldb_private::Function *m_opaque_ptr; }; - } // namespace lldb #endif // LLDB_SBFunction_h_ |
