1 //===-- SBFunction.h --------------------------------------------*- 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 //===----------------------------------------------------------------------===//
10 #ifndef LLDB_SBFunction_h_
11 #define LLDB_SBFunction_h_
13 #include "lldb/API/SBDefines.h"
14 #include "lldb/API/SBAddress.h"
15 #include "lldb/API/SBInstructionList.h"
19 class LLDB_API SBFunction
25 SBFunction (const lldb::SBFunction &rhs);
27 const lldb::SBFunction &
28 operator = (const lldb::SBFunction &rhs);
39 GetMangledName () const;
41 lldb::SBInstructionList
42 GetInstructions (lldb::SBTarget target);
44 lldb::SBInstructionList
45 GetInstructions (lldb::SBTarget target, const char *flavor);
54 GetPrologueByteSize ();
66 operator == (const lldb::SBFunction &rhs) const;
69 operator != (const lldb::SBFunction &rhs) const;
72 GetDescription (lldb::SBStream &description);
76 lldb_private::Function *
80 reset (lldb_private::Function *lldb_object_ptr);
83 friend class SBAddress;
85 friend class SBSymbolContext;
87 SBFunction (lldb_private::Function *lldb_object_ptr);
90 lldb_private::Function *m_opaque_ptr;
96 #endif // LLDB_SBFunction_h_