diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2019-06-24 20:03:23 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2019-06-24 20:03:23 +0000 |
commit | 9c8282a9b33084d95c579e9f76daddfcd2f74c32 (patch) | |
tree | 31ff6a19c89f57ee9f3d040c93823bc5a5a3e6dd /llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.h | |
parent | 94b43160963daa7fbbf561f00f3a4e682f60d91d (diff) | |
download | bcm5719-llvm-9c8282a9b33084d95c579e9f76daddfcd2f74c32.tar.gz bcm5719-llvm-9c8282a9b33084d95c579e9f76daddfcd2f74c32.zip |
llvm-symbolizer: Add a FRAME command.
This command prints a description of the referenced function's stack frame.
For each formal parameter and local variable, the tool prints:
- function name
- variable name
- file/line of declaration
- FP-relative variable location (if available)
- size in bytes
- HWASAN tag offset
This information will be used by the HWASAN runtime to identify local
variables in UAR reports.
Differential Revision: https://reviews.llvm.org/D63468
llvm-svn: 364225
Diffstat (limited to 'llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.h')
-rw-r--r-- | llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.h b/llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.h index d5510cb1b8e..3a511dcb4d4 100644 --- a/llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.h +++ b/llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.h @@ -40,6 +40,8 @@ public: FunctionNameKind FNKind, bool UseSymbolTable) const override; DIGlobal symbolizeData(object::SectionedAddress ModuleOffset) const override; + std::vector<DILocal> + symbolizeFrame(object::SectionedAddress ModuleOffset) const override; // Return true if this is a 32-bit x86 PE COFF module. bool isWin32Module() const override; |