2
2
// RUN: rm -rf %t && split-file %s %t && cd %t
3
3
4
4
//--- a.s
5
-
6
5
.section .tbss,"awT" ,@nobits
7
6
.global a
8
7
a:
9
8
.xword 0
10
9
11
10
//--- ok.s
12
-
13
11
// RUN: llvm-mc -filetype=obj -triple=aarch64-pc-linux -mattr=+pauth ok.s -o ok.o
14
12
// RUN: ld.lld -shared ok.o -o ok.so
15
13
// RUN: llvm-objdump --no-print-imm-hex -d --no-show-raw-insn ok.so | \
@@ -98,9 +96,8 @@ local2:
98
96
/// 0b10100000 bit 63 address diversity = true, bits 61..60 key = DA
99
97
100
98
//--- err1.s
101
-
102
99
// RUN: llvm-mc -filetype=obj -triple=aarch64-pc-linux -mattr=+pauth err1.s -o err1.o
103
- // RUN: not ld.lld -shared err1.o -o err1.so 2>&1 | FileCheck --check-prefix=ERR1 %s
100
+ // RUN: not ld.lld -shared err1.o -o err1.so 2>&1 | FileCheck --check-prefix=ERR1 --implicit-check-not=error: %s
104
101
// ERR1: error: both AUTH and non-AUTH TLSDESC entries for 'a' requested, but only one type of TLSDESC entry per symbol is supported
105
102
// ERR1-NEXT: >>> defined in err1.o
106
103
// ERR1-NEXT: >>> referenced by err1.o:(.text+0x10)
@@ -124,9 +121,8 @@ local2:
124
121
blr x1
125
122
126
123
//--- err2.s
127
-
128
124
// RUN: llvm-mc -filetype=obj -triple=aarch64-pc-linux -mattr=+pauth err2.s -o err2.o
129
- // RUN: not ld.lld -shared err2.o -o err2.so 2>&1 | FileCheck --check-prefix=ERR2 %s
125
+ // RUN: not ld.lld -shared err2.o -o err2.so 2>&1 | FileCheck --check-prefix=ERR2 --implicit-check-not=error: %s
130
126
// ERR2: error: both AUTH and non-AUTH TLSDESC entries for 'a' requested, but only one type of TLSDESC entry per symbol is supported
131
127
// ERR2-NEXT: >>> defined in err2.o
132
128
// ERR2-NEXT: >>> referenced by err2.o:(.text+0x10)
0 commit comments