[all-commits] [llvm/llvm-project] 7b5a44: [hwasan] Add hwasan-all-globals option (#149621)
shuffle2 via All-commits
all-commits at lists.llvm.org
Thu Jul 31 11:39:03 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7b5a44c6056888b4a2b59c834bafac8304f6b538
https://github.com/llvm/llvm-project/commit/7b5a44c6056888b4a2b59c834bafac8304f6b538
Author: shuffle2 <godisgovernment at gmail.com>
Date: 2025-07-31 (Thu, 31 Jul 2025)
Changed paths:
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/test/Instrumentation/HWAddressSanitizer/X86/globals.ll
M llvm/test/Instrumentation/HWAddressSanitizer/globals.ll
Log Message:
-----------
[hwasan] Add hwasan-all-globals option (#149621)
hwasan-globals does not instrument globals with custom sections, because
existing code may use `__start_`/`__stop_` symbols to iterate over
globals in such a way which will cause hwasan assertions.
Introduce new hwasan-all-globals option, which instruments all
user-defined globals (but not those globals which are generated by the
hwasan instrumentation itself), including those with custom sections.
fixes #142442
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