mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			259 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			259 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // 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}
 | 
