[PATCH] D63119: hwasan: Add a tag_offset DWARF attribute to instrumented stack variables.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 13 13:52:03 PDT 2019


pcc updated this revision to Diff 204623.
pcc added a comment.

- Apply tag offset expression to all declares

  This correctly handles the case where we end up with multiple declares pointing to the same alloca because a function was inlined multiple times.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63119/new/

https://reviews.llvm.org/D63119

Files:
  llvm/docs/LangRef.rst
  llvm/include/llvm/BinaryFormat/Dwarf.def
  llvm/include/llvm/BinaryFormat/Dwarf.h
  llvm/lib/BinaryFormat/Dwarf.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
  llvm/lib/IR/DebugInfoMetadata.cpp
  llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  llvm/test/Assembler/diexpression.ll
  llvm/test/CodeGen/AArch64/dbg-declare-tag-offset.ll
  llvm/test/Instrumentation/HWAddressSanitizer/dbg-declare-tag-offset.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63119.204623.patch
Type: text/x-patch
Size: 14109 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190613/c70e5b60/attachment-0001.bin>


More information about the llvm-commits mailing list