retdec
|
#include <debugformat.h>
Static Public Member Functions | |
static DebugFormat * | addDebugFormat (llvm::Module *m, retdec::loader::Image *objf, const std::string &pdbFile, Demangler *demangler) |
static DebugFormat * | getDebugFormat (llvm::Module *m) |
static bool | getDebugFormat (llvm::Module *m, DebugFormat *&df) |
static void | clear () |
Private Types | |
using | SymbolTable = std::map< retdec::common::Address, const retdec::fileformat::Symbol * > |
Static Private Attributes | |
static std::map< llvm::Module *, DebugFormat > | _module2debug |
Mapping of modules to debug info associated with them. More... | |
Completely static object – all members and methods are static -> it can be used by anywhere in bin2llvmirl. It provides mapping of modules to debug info associated with them.
|
private |
|
static |
Create and add to provider a debug info for the given module m, file image objf, pdb file path pdbFile, and demangler demangler.
nullptr
if something went wrong and it was not successfully created.
|
static |
Clear all stored data.
|
static |
nullptr
if there is no associated debug info.
|
static |
Get debug info d associated with the module m.
[in] | m | Module for which to get debug info. |
[out] | df | Set to debug info associated with m module, or nullptr if there is no associated debug info. |
True
if debug info d was set ok and can be used. False
otherwise.
|
staticprivate |
Mapping of modules to debug info associated with them.