diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/IR/DebugInfo.cpp')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/IR/DebugInfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/llvm-project/llvm/lib/IR/DebugInfo.cpp b/contrib/llvm-project/llvm/lib/IR/DebugInfo.cpp index eab05eed428e..c6dc42e8ac88 100644 --- a/contrib/llvm-project/llvm/lib/IR/DebugInfo.cpp +++ b/contrib/llvm-project/llvm/lib/IR/DebugInfo.cpp @@ -2115,6 +2115,10 @@ bool AssignmentTrackingPass::runOnFunction(Function &F) { if (F.hasFnAttribute(Attribute::OptimizeNone)) return /*Changed*/ false; + // FIXME: https://github.com/llvm/llvm-project/issues/76545 + if (F.hasFnAttribute(Attribute::SanitizeHWAddress)) + return /*Changed*/ false; + bool Changed = false; auto *DL = &F.getParent()->getDataLayout(); // Collect a map of {backing storage : dbg.declares} (currently "backing |
