13 #ifndef LLVM_LIB_DEBUGINFO_SYMBOLIZE_SYMBOLIZABLEOBJECTFILE_H 14 #define LLVM_LIB_DEBUGINFO_SYMBOLIZE_SYMBOLIZABLEOBJECTFILE_H 24 #include <system_error> 38 bool UseSymbolTable)
const override;
41 bool UseSymbolTable)
const override;
53 bool UseSymbolTable)
const;
56 std::string &
Name, uint64_t &Addr,
57 uint64_t &
Size)
const;
63 uint64_t OpdAddress = 0);
67 std::unique_ptr<DIContext> DebugInfoContext;
75 friend bool operator<(
const SymbolDesc &s1,
const SymbolDesc &s2) {
76 return s1.Addr < s2.Addr;
79 std::map<SymbolDesc, StringRef> Functions;
80 std::map<SymbolDesc, StringRef> Objects;
83 std::unique_ptr<DIContext> DICtx);
90 #endif // LLVM_LIB_DEBUGINFO_SYMBOLIZE_SYMBOLIZABLEOBJECTFILE_H Represents either an error or a value T.
This class represents lattice values for constants.
A Module instance is used to store all the information related to an LLVM module. ...
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...
A format-neutral container for source line information.
amdgpu Simplify well known AMD library false Value Value const Twine & Name
DIInliningInfo symbolizeInlinedCode(uint64_t ModuleOffset, FunctionNameKind FNKind, bool UseSymbolTable) const override
bool isWin32Module() const override
The instances of the Type class are immutable: once they are created, they are never changed...
DILineInfo symbolizeCode(uint64_t ModuleOffset, FunctionNameKind FNKind, bool UseSymbolTable) const override
A format-neutral container for inlined code description.
This is a value type class that represents a single symbol in the list of symbols in the object file...
Provides ErrorOr<T> smart pointer.
bool operator<(int64_t V1, const APSInt &V2)
uint64_t getModulePreferredBase() const override
static ErrorOr< std::unique_ptr< SymbolizableObjectFile > > create(object::ObjectFile *Obj, std::unique_ptr< DIContext > DICtx)
DIGlobal symbolizeData(uint64_t ModuleOffset) const override
Container for description of a global variable.