24 : m_opaque_ptr(lldb_object_ptr) {}
45 return this->
operator bool();
47SBSymbol::operator bool()
const {
50 return m_opaque_ptr !=
nullptr;
56 const char *name =
nullptr;
66 const char *name =
nullptr;
76 const char *name =
nullptr;
114 const char *flavor_string) {
120 std::unique_lock<std::recursive_mutex> lock;
122 lock = std::unique_lock<std::recursive_mutex>(target_sp->GetAPIMutex());
127 const bool force_live_memory =
true;
129 module_sp->GetArchitecture(),
nullptr, flavor_string, *target_sp,
130 symbol_range, force_live_memory));
134 return sb_instructions;
157 if (range_size > 0) {
#define LLDB_INSTRUMENT_VA(...)
void SetAddress(lldb::SBSection section, lldb::addr_t offset)
void SetDisassembler(const lldb::DisassemblerSP &opaque_sp)
lldb_private::Stream & ref()
uint64_t GetValue()
Get the raw value of a symbol.
const char * GetDisplayName() const
const char * GetMangledName() const
uint32_t GetPrologueByteSize()
void reset(lldb_private::Symbol *)
bool GetDescription(lldb::SBStream &description)
SBAddress GetStartAddress()
Get the start address of this symbol.
SBAddress GetEndAddress()
Get the end address of this symbol.
bool operator==(const lldb::SBSymbol &rhs) const
lldb_private::Symbol * m_opaque_ptr
const lldb::SBSymbol & operator=(const lldb::SBSymbol &rhs)
const char * GetName() const
uint64_t GetSize()
Get the size of the symbol.
void SetSymbol(lldb_private::Symbol *lldb_object_ptr)
lldb::SBInstructionList GetInstructions(lldb::SBTarget target)
bool operator!=(const lldb::SBSymbol &rhs) const
lldb_private::Symbol * get()
lldb::TargetSP GetSP() const
A section + offset based address range class.
A section + offset based address class.
bool Slide(int64_t offset)
lldb::ModuleSP GetModule() const
Get accessor for the module for this address.
const char * AsCString(const char *value_if_empty=nullptr) const
Get the string value as a C string.
static lldb::DisassemblerSP DisassembleRange(const ArchSpec &arch, const char *plugin_name, const char *flavor, Target &target, const AddressRange &disasm_range, bool force_live_memory=false)
ConstString & GetMangledName()
Mangled name get accessor.
ConstString GetDisplayDemangledName() const
Display demangled name get accessor.
A stream class that can stream formatted output to a file.
size_t PutCString(llvm::StringRef cstr)
Output a C string to the stream.
bool ValueIsAddress() const
bool GetByteSizeIsValid() const
Address & GetAddressRef()
void GetDescription(Stream *s, lldb::DescriptionLevel level, Target *target, std::optional< Stream::HighlightSettings > settings=std::nullopt) const
lldb::addr_t GetByteSize() const
ConstString GetName() const
lldb::SymbolType GetType() const
uint32_t GetPrologueByteSize()
uint64_t GetRawValue() const
Get the raw value of the symbol from the symbol table.
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::Target > TargetSP
std::shared_ptr< lldb_private::Module > ModuleSP