![]() |
VR-Link API Documentation for HLA 1.3
|
This class contains the logic necesary for printing a stack trace. More...
Collaboration diagram for DtMiniDumper:Static Public Member Functions | |
| static void | printCallStack (int sig, siginfo_t *info, void *secret) |
| Static callback for printing the call stack. More... | |
Protected Types | |
| typedef std::map< std::string, unsigned long > | AddressSpaceMap |
Static Protected Member Functions | |
| static void | initializeAddressSpace () |
| Initializes the map of base addresses for loaded object files. More... | |
| static void | objFileAndNameFromStack (char *stackEntry, std::string &objFile, std::string &objFileName) |
| Parses the given stack entry for the object file path and base name. More... | |
| static std::string | lookupFileInfo (const std::string &objFile, unsigned long offset) |
| Looks up the file and line number for the instruction at offset in the given object file. More... | |
Static Protected Attributes | |
| static AddressSpaceMap | myAddressSpaceMap |
| Maps loaded object file names to base addresses in memory. More... | |
Private Member Functions | |
| DtMiniDumper () | |
| Private CTOR (Not implemented - Do not instantiate). More... | |
This class contains the logic necesary for printing a stack trace.
This class looks up the source file name and line number of each entry in the stack by using the addr2line command in conjuction with address space mapping from pmap.
|
protected |
|
private |
Private CTOR (Not implemented - Do not instantiate).
|
staticprotected |
Initializes the map of base addresses for loaded object files.
Clears ::myAddresSpaceMap if it has already been initialized.
|
staticprotected |
Looks up the file and line number for the instruction at offset in the given object file.
|
staticprotected |
Parses the given stack entry for the object file path and base name.
|
static |
Static callback for printing the call stack.
|
staticprotected |
Maps loaded object file names to base addresses in memory.