LLVM 20.0.0git
|
#include "llvm/DebugInfo/GSYM/ObjectFileTransformer.h"
Static Public Member Functions | |
static llvm::Error | convert (const object::ObjectFile &Obj, OutputAggregator &Output, GsymCreator &Gsym) |
Extract any object file data that is needed by the GsymCreator. | |
Definition at line 25 of file ObjectFileTransformer.h.
|
static |
Extract any object file data that is needed by the GsymCreator.
The extracted information includes the UUID of the binary and converting all function symbols from any symbol tables into FunctionInfo objects.
Obj | The object file that contains the DWARF debug info. |
Log | The stream to log warnings and non fatal issues to. If NULL, don't log. |
Gsym | The GSYM creator to populate with the function information from the debug info. |
Definition at line 69 of file ObjectFileTransformer.cpp.
References llvm::gsym::GsymCreator::addFunctionInfo(), llvm::consumeError(), llvm::Expected< T >::get(), llvm::gsym::GsymCreator::getNumFunctionInfos(), llvm::gsym::OutputAggregator::GetOS(), llvm::object::ELFSymbolRef::getSize(), getUUID(), llvm::gsym::GsymCreator::insertString(), llvm::gsym::GsymCreator::IsValidTextAddress(), llvm::logAllUnhandledErrors(), Name, llvm::gsym::GsymCreator::setUUID(), llvm::size(), llvm::Error::success(), Sym, llvm::object::ObjectFile::symbols(), and llvm::Expected< T >::takeError().