13 #ifndef LLVM_LIB_DEBUGINFO_SYMBOLIZE_SYMBOLIZABLEOBJECTFILE_H
14 #define LLVM_LIB_DEBUGINFO_SYMBOLIZE_SYMBOLIZABLEOBJECTFILE_H
32 bool UseSymbolTable)
const override;
35 bool UseSymbolTable)
const override;
47 bool UseSymbolTable)
const;
50 std::string &
Name, uint64_t &Addr,
51 uint64_t &Size)
const;
57 uint64_t OpdAddress = 0);
61 std::unique_ptr<DIContext> DebugInfoContext;
68 friend bool operator<(
const SymbolDesc &s1,
const SymbolDesc &s2) {
69 return s1.Addr < s2.Addr;
72 std::map<SymbolDesc, StringRef> Functions;
73 std::map<SymbolDesc, StringRef> Objects;
76 std::unique_ptr<DIContext> DICtx);
82 #endif // LLVM_LIB_DEBUGINFO_SYMBOLIZE_SYMBOLIZABLEOBJECTFILE_H
Represents either an error or a value T.
bool isWin32Module() const override
A Module instance is used to store all the information related to an LLVM module. ...
static ErrorOr< std::unique_ptr< SymbolizableObjectFile > > create(object::ObjectFile *Obj, std::unique_ptr< DIContext > DICtx)
This class is the base class for all object file types.
DINameKind
A DINameKind is passed to name search methods to specify a preference regarding the type of name reso...
DILineInfo - a format-neutral container for source line information.
DIInliningInfo symbolizeInlinedCode(uint64_t ModuleOffset, FunctionNameKind FNKind, bool UseSymbolTable) const override
DIGlobal symbolizeData(uint64_t ModuleOffset) const override
The instances of the Type class are immutable: once they are created, they are never changed...
DIInliningInfo - a format-neutral container for inlined code description.
uint64_t getModulePreferredBase() const override
This is a value type class that represents a single symbol in the list of symbols in the object file...
bool operator<(int64_t V1, const APSInt &V2)
DILineInfo symbolizeCode(uint64_t ModuleOffset, FunctionNameKind FNKind, bool UseSymbolTable) const override
DIGlobal - container for description of a global variable.