From 9c8282a9b33084d95c579e9f76daddfcd2f74c32 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Mon, 24 Jun 2019 20:03:23 +0000 Subject: 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 --- llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.h') 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 + symbolizeFrame(object::SectionedAddress ModuleOffset) const override; // Return true if this is a 32-bit x86 PE COFF module. bool isWin32Module() const override; -- cgit v1.2.3