[all-commits] [llvm/llvm-project] dabd26: hwasan: add tag_offset DWARF attribute to optimize...

Evgenii Stepanov via All-commits all-commits at lists.llvm.org
Thu Dec 12 16:28:27 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: dabd2622a86900718ce5ba22e787333265375d4a
      https://github.com/llvm/llvm-project/commit/dabd2622a86900718ce5ba22e787333265375d4a
  Author: Evgenii Stepanov <eugenis at google.com>
  Date:   2019-12-12 (Thu, 12 Dec 2019)

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

  Log Message:
  -----------
  hwasan: add tag_offset DWARF attribute to optimized debug info

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

Reviewers: pcc

Subscribers: srhines, aprantl, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70753




More information about the All-commits mailing list