diff options
author | shuffle2 <godisgovernment@gmail.com> | 2025-07-31 11:38:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-31 11:38:42 -0700 |
commit | 7b5a44c6056888b4a2b59c834bafac8304f6b538 (patch) | |
tree | 46f62ae198c6ca69addc328110e39f5ec03bda21 /clang/unittests/Basic/SourceManagerTest.cpp | |
parent | c3927086c8efe70d4b6fada3ee1d64a3c6ab6325 (diff) | |
download | llvm-7b5a44c6056888b4a2b59c834bafac8304f6b538.zip llvm-7b5a44c6056888b4a2b59c834bafac8304f6b538.tar.gz llvm-7b5a44c6056888b4a2b59c834bafac8304f6b538.tar.bz2 |
[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
Diffstat (limited to 'clang/unittests/Basic/SourceManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions