|
LLVM 22.0.0git
|
A class for symbolicating backtraces using a previously dumped symbol table. More...
#include "llvm/ExecutionEngine/Orc/BacktraceTools.h"
Public Member Functions | |
| LLVM_ABI std::string | symbolicate (StringRef Backtrace) |
| Given a backtrace, try to symbolicate any unsymbolicated lines using the symbol addresses in the dumped symbol table. | |
Static Public Member Functions | |
| static Expected< DumpedSymbolTable > | Create (StringRef Path) |
| Create a DumpedSymbolTable from the given path. | |
A class for symbolicating backtraces using a previously dumped symbol table.
Definition at line 74 of file BacktraceTools.h.
|
static |
Create a DumpedSymbolTable from the given path.
Definition at line 62 of file BacktraceTools.cpp.
References llvm::createFileError(), and llvm::MemoryBuffer::getFile().
| std::string llvm::orc::DumpedSymbolTable::symbolicate | ( | StringRef | Backtrace | ) |
Given a backtrace, try to symbolicate any unsymbolicated lines using the symbol addresses in the dumped symbol table.
Definition at line 110 of file BacktraceTools.cpp.
References llvm::formatv(), I, llvm::orc::Result, and llvm::StringRef::split().