[PATCH] D63468: llvm-symbolizer: Add a FRAME command.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 20:38:57 PDT 2019


pcc created this revision.
pcc added reviewers: eugenis, vitalybuka.
Herald added subscribers: jdoerfert, rupprecht, hiraditya, srhines.
Herald added a project: LLVM.
pcc added a child revision: D63469: hwasan: Teach the runtime to identify the local variable being accessed in UAR reports..

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D63468

Files:
  llvm/include/llvm/DebugInfo/DIContext.h
  llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
  llvm/include/llvm/DebugInfo/PDB/PDBContext.h
  llvm/include/llvm/DebugInfo/Symbolize/DIPrinter.h
  llvm/include/llvm/DebugInfo/Symbolize/SymbolizableModule.h
  llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h
  llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
  llvm/lib/DebugInfo/PDB/PDBContext.cpp
  llvm/lib/DebugInfo/Symbolize/DIPrinter.cpp
  llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
  llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.h
  llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
  llvm/test/tools/llvm-symbolizer/frame-types.s
  llvm/test/tools/llvm-symbolizer/frame.s
  llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63468.205237.patch
Type: text/x-patch
Size: 53927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190618/b97bc880/attachment.bin>


More information about the llvm-commits mailing list