This enable no_sanitize C++ attribute to exclude globals from hwasan
testing, and automatically excludes other sanitizers' globals (such as
ubsan location descriptors).
Details
Details
- Reviewers
pcc hctim fmayer - Commits
- rG78f7e6d8d795: [hwasan] Respect llvm.asan.globals.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
ASan does very fancy things to run this logic only once and access it in a function pass.
HWASan is a module pass and it can simply run the code once in initialization.