12 #ifndef LLVM_LIB_DEBUGINFO_SYMBOLIZE_SYMBOLIZABLEOBJECTFILE_H 13 #define LLVM_LIB_DEBUGINFO_SYMBOLIZE_SYMBOLIZABLEOBJECTFILE_H 23 #include <system_error> 39 bool UseSymbolTable)
const override;
42 bool UseSymbolTable)
const override;
56 bool UseSymbolTable)
const;
59 std::string &
Name, uint64_t &Addr,
60 uint64_t &
Size)
const;
66 uint64_t OpdAddress = 0);
70 uint64_t getModuleSectionIndexForAddress(uint64_t Address)
const;
73 std::unique_ptr<DIContext> DebugInfoContext;
82 bool operator<(
const SymbolDesc &RHS)
const {
83 return Addr != RHS.Addr ? Addr < RHS.Addr : Size < RHS.Size;
86 std::vector<std::pair<SymbolDesc, StringRef>> Functions;
87 std::vector<std::pair<SymbolDesc, StringRef>> Objects;
90 std::unique_ptr<DIContext> DICtx,
98 #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. ...
amdgpu Simplify well known AMD library false FunctionCallee Value const Twine & Name
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.
DIInliningInfo symbolizeInlinedCode(object::SectionedAddress 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...
A format-neutral container for inlined code description.
std::vector< DILocal > symbolizeFrame(object::SectionedAddress ModuleOffset) const override
This is a value type class that represents a single symbol in the list of symbols in the object file...
DILineInfo symbolizeCode(object::SectionedAddress ModuleOffset, FunctionNameKind FNKind, bool UseSymbolTable) const override
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(const object::ObjectFile *Obj, std::unique_ptr< DIContext > DICtx, bool UntagAddresses)
DIGlobal symbolizeData(object::SectionedAddress ModuleOffset) const override
Container for description of a global variable.