[all-commits] [llvm/llvm-project] 78f099: [hwasan] Workaround unsupported AssignmentTracking...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Tue Jan 2 13:57:20 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78f0991abdae723f535fda58a4bb16b53bea7010
      https://github.com/llvm/llvm-project/commit/78f0991abdae723f535fda58a4bb16b53bea7010
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-01-02 (Tue, 02 Jan 2024)

  Changed paths:
    M compiler-rt/test/hwasan/TestCases/stack-overflow.c
    M compiler-rt/test/hwasan/TestCases/stack-uar.c
    M compiler-rt/test/hwasan/TestCases/stack-uas.c
    M llvm/lib/IR/DebugInfo.cpp
    A llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/hwasan.ll

  Log Message:
  -----------
  [hwasan] Workaround unsupported AssignmentTrackingPass (#76547)

Temporarily fix for issue #76545

Hwasan does not attach tags to @llvm.dbg.assign. It's not clear if we
can attach tags to @llvm.dbg.assign.

For now we just disable the path replacing llvm.dbg.declare with
llvm.dbg.assign.
It may reduce the quality of interactive debugging with HWASAN, but
usually it's
a smaller priority for sanitizers than the quality if reports.




More information about the All-commits mailing list