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"
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 ();
63 operator == (const lldb::SBFunction &rhs) const;
66 operator != (const lldb::SBFunction &rhs) const;
69 GetDescription (lldb::SBStream &description);
73 lldb_private::Function *
77 reset (lldb_private::Function *lldb_object_ptr);
80 friend class SBAddress;
82 friend class SBSymbolContext;
84 SBFunction (lldb_private::Function *lldb_object_ptr);
87 lldb_private::Function *m_opaque_ptr;
93 #endif // LLDB_SBFunction_h_