blob: 22577e2a3c46b52bd1d5dfec9071a329553a313a [file] [log] [blame] [edit]
// Verifies that "CFI Canonical Jump Tables" module flag is added.
//
//@ needs-sanitizer-cfi
//@ compile-flags: -Clto -Ctarget-feature=-crt-static -Zsanitizer=cfi
#![crate_type = "lib"]
pub fn foo() {}
// CHECK: !{{[0-9]+}} = !{i32 4, !"CFI Canonical Jump Tables", i32 1}