Skip to content

Commit a284a64

Browse files
committed
Non-exact offset match for failing test
While trying to pass tests, multiple different values were emitted for the offset changed in this commit. This change allows the offset to be non-exact so that the test case does not break unexpectedly in future builds. Between https://buildkite.com/llvm-project/github-pull-requests/builds/181865#0196f537-b4c8-4595-9e8c-9a240d9a07a5 and https://buildkite.com/llvm-project/github-pull-requests/builds/181752#0196f409-1e95-4eea-9f3f-500c0099983c/6-10, in the former the the expected offset was fc58 while in the letter the expected offset was fc68. Locally the objdump output yielded fc78.
1 parent e86e92e commit a284a64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@
6666
# PACPLT: Disassembly of section .plt:
6767
# PACPLT: <.plt>:
6868
# PACPLT-NEXT: stp x16, x30, [sp, #-0x10]!
69-
# PACPLT-NEXT: adrp x16, 0x30000 <_DYNAMIC+0xfc78>
69+
# PACPLT-NEXT: adrp x16, 0x30000 <_DYNAMIC+0x{{[0-9a-fA-F]+}}>
7070
# PACPLT-NEXT: ldr x17, [x16, #0x[[B]]]
7171
# PACPLT-NEXT: add x16, x16, #0x[[B]]
7272
# PACPLT-NEXT: br x17
7373
# PACPLT-NEXT: nop
7474
# PACPLT-NEXT: nop
7575
# PACPLT-NEXT: nop
7676
# PACPLT: <func3@plt>:
77-
# PACPLT-NEXT: adrp x16, 0x30000 <_DYNAMIC+0xfc78>
77+
# PACPLT-NEXT: adrp x16, 0x30000 <_DYNAMIC+0x{{[0-9a-fA-F]+}}>
7878
# PACPLT-NEXT: ldr x17, [x16, #0x[[C]]]
7979
# PACPLT-NEXT: add x16, x16, #0x[[C]]
8080
# NOHINT-NEXT: braa x17, x16

0 commit comments

Comments
 (0)