[all-commits] [llvm/llvm-project] 79a326: [hwasan] Remove memory attrs from instrumented fun...
Evgenii Stepanov via All-commits
all-commits at lists.llvm.org
Tue May 21 17:15:30 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 79a32609759af317a62184c2c7b1300263a336c8
https://github.com/llvm/llvm-project/commit/79a32609759af317a62184c2c7b1300263a336c8
Author: Evgenii Stepanov <eugeni.stepanov at gmail.com>
Date: 2024-05-21 (Tue, 21 May 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
A llvm/test/Instrumentation/HWAddressSanitizer/mem-attr.ll
Log Message:
-----------
[hwasan] Remove memory attrs from instrumented functions. (#92974)
HWASan instrumentation makes writeonly attribute on function parameters,
as well as most memory(*) attributes invalid. This causes
miscompilations with LTO, when more optimizations are run after the
HWASan pass.
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