mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-04 02:54:00 +00:00
update test for LLVM change
LLVM commit c2a3888793
updates the PIC level version selection. This updates the rust tests to
work under both the old and new behaviors.
Detected by our experimental rust + llvm @ HEAD bot:
https://buildkite.com/llvm-project/rust-llvm-integrate-prototype/builds/12829#0182b368-a405-47a2-b3da-9c79cb907bfe/701-709
This commit is contained in:
parent
6c943bad02
commit
07e41fb54c
@ -13,4 +13,4 @@ pub fn call_foreign_fn() -> u8 {
|
||||
// CHECK: declare zeroext i8 @foreign_fn()
|
||||
extern "C" {fn foreign_fn() -> u8;}
|
||||
|
||||
// CHECK: !{i32 7, !"PIC Level", i32 2}
|
||||
// CHECK: !{i32 {{[78]}}, !"PIC Level", i32 2}
|
||||
|
@ -18,5 +18,5 @@ pub fn call_foreign_fn() -> u8 {
|
||||
// CHECK: declare zeroext i8 @foreign_fn()
|
||||
extern "C" {fn foreign_fn() -> u8;}
|
||||
|
||||
// CHECK: !{i32 7, !"PIC Level", i32 2}
|
||||
// CHECK: !{i32 {{[78]}}, !"PIC Level", i32 2}
|
||||
// CHECK: !{i32 7, !"PIE Level", i32 2}
|
||||
|
Loading…
Reference in New Issue
Block a user