[all-commits] [llvm/llvm-project] 59074a: [ASan] Add metadata to renamed instructions so ASa...
gbMattN via All-commits
all-commits at lists.llvm.org
Thu Apr 3 07:27:38 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 59074a376099333a2546c4e3a8b30693c8a3ee92
https://github.com/llvm/llvm-project/commit/59074a376099333a2546c4e3a8b30693c8a3ee92
Author: gbMattN <matthew.nagy at sony.com>
Date: 2025-04-03 (Thu, 03 Apr 2025)
Changed paths:
M clang/lib/CodeGen/CGExpr.cpp
A compiler-rt/test/asan/TestCases/shadowed-stack-serialization.cpp
M compiler-rt/test/asan/TestCases/use-after-scope-inlined.cpp
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
Log Message:
-----------
[ASan] Add metadata to renamed instructions so ASan doesn't use the i… (#119387)
…ncorrect name
Clang needs variables to be represented with unique names. This means
that if a variable shadows another, its given a different name
internally to ensure it has a unique name. If ASan tries to use this
name when printing an error, it will print the modified unique name,
rather than the variable's source code name
Fixes #47326
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list