rust/compiler/rustc_llvm
许杰友 Jieyou Xu (Joe) c6d36256a6
Rollup merge of #127483 - BertalanD:no_sanitize-global-var, r=rcvalle
Allow disabling ASan instrumentation for globals

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.

(cc https://github.com/rust-lang/rust/issues/39699)
2024-11-23 20:19:51 +08:00
..
llvm-wrapper Rollup merge of #127483 - BertalanD:no_sanitize-global-var, r=rcvalle 2024-11-23 20:19:51 +08:00
src Make RustString an extern type to avoid improper_ctypes warnings 2024-11-09 11:07:44 +11:00
build.rs Add system libs when cross compiling for Windows 2024-09-15 12:38:55 +00:00
Cargo.toml Unpin cc and upgrade to the latest version 2024-09-30 13:31:42 -04:00