blob: dc6570be32b4873116be0500c03c0ba42b75a568 [file] [log] [blame]
// Verifies that "EnableSplitLTOUnit" module flag is added.
//
// needs-sanitizer-cfi
// compile-flags: -Clto -Ctarget-feature=-crt-static -Zsplit-lto-unit
#![crate_type="lib"]
pub fn foo() {
}
// CHECK: !{{[0-9]+}} = !{i32 4, !"EnableSplitLTOUnit", i32 1}