[PATCH] D70753: hwasan: add tag_offset DWARF attribute to optimized debug info

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 26 16:43:32 PST 2019


eugenis created this revision.
eugenis added a reviewer: pcc.
Herald added subscribers: hiraditya, aprantl, srhines.
Herald added a project: LLVM.
eugenis added a reviewer: echristo.
Herald added a subscriber: ormris.

Support alloca-referencing dbg.value in hwasan instrumentation.
Update AsmPrinter to emit DW_AT_LLVM_tag_offset when location is in
loclist format.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70753

Files:
  llvm/lib/CodeGen/AsmPrinter/DebugLocStream.cpp
  llvm/lib/CodeGen/AsmPrinter/DebugLocStream.h
  llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
  llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  llvm/test/CodeGen/AArch64/dbg-value-tag-offset.ll
  llvm/test/Instrumentation/HWAddressSanitizer/dbg-value-tag-offset.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70753.231151.patch
Type: text/x-patch
Size: 15078 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191127/9b31a9c0/attachment.bin>


More information about the llvm-commits mailing list