mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
204b2281fa
AddressSanitizer adds instrumentation to global variables unless the [`no_sanitize_address`](https://llvm.org/docs/LangRef.html#global-attributes) attribute is set on them. This commit extends the existing `#[no_sanitize(address)]` attribute to set this; previously it only had the desired effect on functions.