[PATCH] D141197: [lld][NFC] Improve AVR relocation tests
Ben Shi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 7 06:48:35 PST 2023
benshi001 created this revision.
benshi001 added reviewers: aykevl, MaskRay.
Herald added subscribers: StephenFan, Jim, emaste, dylanmckay.
Herald added a project: All.
benshi001 requested review of this revision.
Herald added subscribers: llvm-commits, jacquesguan.
Herald added a project: LLVM.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D141197
Files:
lld/test/ELF/avr-reloc.s
Index: lld/test/ELF/avr-reloc.s
===================================================================
--- lld/test/ELF/avr-reloc.s
+++ lld/test/ELF/avr-reloc.s
@@ -70,14 +70,14 @@
in r20, b ; R_AVR_PORT6
sbic b, 1 ; R_AVR_PORT5
-;; The disassembler is not yet able to decode those opcodes
-;; 0f c0 rjmp .+30
-;; ee cf rjmp .-36
-;; 69 f0 breq .+26
-;; 61 f3 breq .-40
.section .PCREL,"ax", at progbits
-; HEX-LABEL: section .PCREL:
-; HEX-NEXT: 0fc0eecf 69f061f3
+; CHECK-LABEL: section .PCREL
+; CHECK: rjmp .+30
+; CHECK-NEXT: rjmp .-36
+; CHECK-NEXT: breq .+26
+; CHECK-NEXT: breq .-40
+; HEX-LABEL: section .PCREL:
+; HEX-NEXT: 0fc0eecf 69f061f3
foo:
rjmp foo + 32 ; R_AVR_13_PCREL
rjmp foo - 32 ; R_AVR_13_PCREL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141197.487090.patch
Type: text/x-patch
Size: 766 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230107/a33830e9/attachment.bin>
More information about the llvm-commits
mailing list