Skip to content

Commit 64927b9

Browse files
committed
Fix LVI test post LLVM 16 update
1 parent 7a06007 commit 64927b9

7 files changed

+7
-7
lines changed

tests/run-make/x86_64-fortanix-unknown-sgx-lvi/cc_plus_one_asm.checks

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ CHECK: cc_plus_one_asm
22
CHECK-NEXT: movl
33
CHECK-NEXT: lfence
44
CHECK-NEXT: incl
5-
CHECK-NEXT: shlq $0, (%rsp)
5+
CHECK-NEXT: shlq $0x0, (%rsp)
66
CHECK-NEXT: lfence
77
CHECK-NEXT: retq

tests/run-make/x86_64-fortanix-unknown-sgx-lvi/cc_plus_one_c_asm.checks

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ CHECK: lfence
66
CHECK: lfence
77
CHECK-NEXT: incl
88
CHECK-NEXT: jmp
9-
CHECK-NEXT: shlq $0, (%rsp)
9+
CHECK-NEXT: shlq $0x0, (%rsp)
1010
CHECK-NEXT: lfence
1111
CHECK-NEXT: retq
1212
CHECK: popq

tests/run-make/x86_64-fortanix-unknown-sgx-lvi/cc_plus_one_cxx_asm.checks

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CHECK: lfence
77
CHECK: lfence
88
CHECK-NEXT: incl
99
CHECK-NEXT: jmp 0x{{[[:xdigit:]]+}} <cc_plus_one_cxx_asm+0x{{[[:xdigit:]]+}}>
10-
CHECK-NEXT: shlq $0, (%rsp)
10+
CHECK-NEXT: shlq $0x0, (%rsp)
1111
CHECK-NEXT: lfence
1212
CHECK-NEXT: retq
1313
CHECK: popq

tests/run-make/x86_64-fortanix-unknown-sgx-lvi/cmake_plus_one_asm.checks

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ CHECK: cmake_plus_one_asm
22
CHECK-NEXT: movl
33
CHECK-NEXT: lfence
44
CHECK-NEXT: incl
5-
CHECK-NEXT: shlq $0, (%rsp)
5+
CHECK-NEXT: shlq $0x0, (%rsp)
66
CHECK-NEXT: lfence
77
CHECK-NEXT: retq

tests/run-make/x86_64-fortanix-unknown-sgx-lvi/cmake_plus_one_c_asm.checks

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CHECK: movl
77
CHECK: lfence
88
CHECK-NEXT: incl
99
CHECK-NEXT: jmp 0x{{[[:xdigit:]]+}} <cmake_plus_one_c_asm+0x{{[[:xdigit:]]+}}>
10-
CHECK-NEXT: shlq $0, (%rsp)
10+
CHECK-NEXT: shlq $0x0, (%rsp)
1111
CHECK-NEXT: lfence
1212
CHECK-NEXT: retq
1313
CHECK: popq

tests/run-make/x86_64-fortanix-unknown-sgx-lvi/cmake_plus_one_cxx_asm.checks

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CHECK: movl
77
CHECK: lfence
88
CHECK-NEXT: incl
99
CHECK-NEXT: jmp 0x{{[[:xdigit:]]+}} <cmake_plus_one_cxx_asm+0x{{[[:xdigit:]]+}}>
10-
CHECK-NEXT: shlq $0, (%rsp)
10+
CHECK-NEXT: shlq $0x0, (%rsp)
1111
CHECK-NEXT: lfence
1212
CHECK-NEXT: retq
1313
CHECK: popq
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CHECK: unw_getcontext
22
CHECK: lfence
33
CHECK: lfence
4-
CHECK: shlq $0, (%rsp)
4+
CHECK: shlq $0x0, (%rsp)
55
CHECK-NEXT: lfence
66
CHECK-NEXT: retq

0 commit comments

Comments
 (0)