Skip to content

Commit 6444d7d

Browse files
committed
Address review comments
1 parent 5d699b6 commit 6444d7d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

lld/test/ELF/aarch64-tlsdesc-pauth.s

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22
// RUN: rm -rf %t && split-file %s %t && cd %t
33

44
//--- a.s
5-
65
.section .tbss,"awT",@nobits
76
.global a
87
a:
98
.xword 0
109

1110
//--- ok.s
12-
1311
// RUN: llvm-mc -filetype=obj -triple=aarch64-pc-linux -mattr=+pauth ok.s -o ok.o
1412
// RUN: ld.lld -shared ok.o -o ok.so
1513
// RUN: llvm-objdump --no-print-imm-hex -d --no-show-raw-insn ok.so | \
@@ -98,9 +96,8 @@ local2:
9896
/// 0b10100000 bit 63 address diversity = true, bits 61..60 key = DA
9997

10098
//--- err1.s
101-
10299
// 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
104101
// ERR1: error: both AUTH and non-AUTH TLSDESC entries for 'a' requested, but only one type of TLSDESC entry per symbol is supported
105102
// ERR1-NEXT: >>> defined in err1.o
106103
// ERR1-NEXT: >>> referenced by err1.o:(.text+0x10)
@@ -124,9 +121,8 @@ local2:
124121
blr x1
125122

126123
//--- err2.s
127-
128124
// 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
130126
// ERR2: error: both AUTH and non-AUTH TLSDESC entries for 'a' requested, but only one type of TLSDESC entry per symbol is supported
131127
// ERR2-NEXT: >>> defined in err2.o
132128
// ERR2-NEXT: >>> referenced by err2.o:(.text+0x10)

0 commit comments

Comments
 (0)