blob: a54a6d84a8073915aceeb24d6c3c6bfdb6d46056 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Verifies that "cfi-normalize-integers" module flag is added.
//
//@ needs-sanitizer-cfi
//@ compile-flags: -Clto -Ctarget-feature=-crt-static -Zsanitizer=cfi -Zsanitizer-cfi-normalize-integers
#![crate_type = "lib"]
pub fn foo() {}
// CHECK: !{{[0-9]+}} = !{i32 4, !"cfi-normalize-integers", i32 1}
|