blob: 68c91384b826b4d1771b1992cd6467e3e85ebc7d [file] [log] [blame]
// Verifies that "EnableSplitLTOUnit" 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, !"EnableSplitLTOUnit", i32 1}