mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 07:09:08 +00:00
Fixup AVR tests to reflect changes in addend format in llvm-objdump
Summary: Changes to llvm-objdump made in D69997 Reviewers: thakis, jhenderson, grimar Reviewed By: thakis Subscribers: dylanmckay, Jim, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70438
This commit is contained in:
parent
7da0f4eb10
commit
1dbe33cab9
@ -1,5 +1,5 @@
|
||||
; RUN: llvm-mc -triple avr -mattr=avr6 -filetype=obj < %s | llvm-objdump -r - | FileCheck %s
|
||||
|
||||
; CHECK: R_AVR_6_ADIW foo+63
|
||||
; CHECK: R_AVR_6_ADIW foo+0x3f
|
||||
adiw r24, foo+63
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llvm-mc -triple avr -mattr=avr6 -filetype=obj < %s | llvm-objdump -r - | FileCheck %s
|
||||
|
||||
; CHECK: R_AVR_7_PCREL foo+127
|
||||
; CHECK: R_AVR_7_PCREL foo+0x7f
|
||||
brbs 1, foo+127
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llvm-mc -triple avr -mattr=avr6 -filetype=obj < %s 2>&1 | llvm-objdump -r - | FileCheck %s
|
||||
|
||||
; CHECK: R_AVR_CALL foo+8388607
|
||||
; CHECK: R_AVR_CALL foo+0x7fffff
|
||||
jmp foo+8388607
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llvm-mc -triple avr -mattr=avr6 -filetype=obj < %s | llvm-objdump -r - | FileCheck %s
|
||||
|
||||
; CHECK: R_AVR_PORT6 foo+63
|
||||
; CHECK: R_AVR_PORT6 foo+0x3f
|
||||
in r3, foo+63
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llvm-mc -triple avr -mattr=avr6 -filetype=obj < %s | llvm-objdump -r - | FileCheck %s
|
||||
|
||||
; CHECK: R_AVR_16 foo+65535
|
||||
; CHECK: R_AVR_16 foo+0xffff
|
||||
lds r2, foo+65535
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llvm-mc -triple avr -mattr=avr6 -filetype=obj < %s | llvm-objdump -r - | FileCheck %s
|
||||
|
||||
; CHECK: R_AVR_13_PCREL foo+4095
|
||||
; CHECK: R_AVR_13_PCREL foo+0xfff
|
||||
rjmp foo+4095
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llvm-mc -triple avr -mattr=avr6 -filetype=obj < %s | llvm-objdump -r - | FileCheck %s
|
||||
|
||||
; CHECK: R_AVR_PORT5 foo+31
|
||||
; CHECK: R_AVR_PORT5 foo+0x1f
|
||||
sbi foo+31, 1
|
||||
|
||||
|
@ -6,31 +6,31 @@
|
||||
bar:
|
||||
jmp bar
|
||||
|
||||
; CHECK: R_AVR_LDI SYMBOL+3
|
||||
; CHECK: R_AVR_LDI SYMBOL+0x3
|
||||
ldi r21, SYMBOL+3
|
||||
|
||||
; CHECK-NEXT: R_AVR_6_ADIW FOO
|
||||
adiw r24, FOO
|
||||
|
||||
; CHECK-NEXT: R_AVR_16 BAR+2
|
||||
; CHECK-NEXT: R_AVR_16 BAR+0x2
|
||||
lds r8, BAR+2
|
||||
|
||||
; CHECK-NEXT: R_AVR_PORT5 foo
|
||||
sbic foo, 1
|
||||
|
||||
; CHECK-NEXT: R_AVR_PORT6 Bar+2
|
||||
; CHECK-NEXT: R_AVR_PORT6 Bar+0x2
|
||||
in r30, Bar+2
|
||||
|
||||
; CHECK-NEXT: R_AVR_CALL foo+3
|
||||
; CHECK-NEXT: R_AVR_CALL foo+0x3
|
||||
call foo+3
|
||||
|
||||
; CHECK-NEXT: R_AVR_13_PCREL foo-10
|
||||
; CHECK-NEXT: R_AVR_13_PCREL foo-0xa
|
||||
rjmp foo-10
|
||||
|
||||
; CHECK-NEXT: R_AVR_7_PCREL foo+2
|
||||
; CHECK-NEXT: R_AVR_7_PCREL foo+0x2
|
||||
brcs foo+2
|
||||
|
||||
; CHECK-NEXT: R_AVR_LO8_LDI bar+3
|
||||
; CHECK-NEXT: R_AVR_LO8_LDI bar+0x3
|
||||
; CHECK-NEXT: R_AVR_LO8_LDI abc
|
||||
; CHECK-NEXT: R_AVR_LO8_LDI abc
|
||||
ldi r24, lo8(bar+3)
|
||||
|
Loading…
Reference in New Issue
Block a user