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:
David Bozier 2019-11-19 13:56:29 +00:00
parent 6265be2782
commit e6c55fbe01
8 changed files with 14 additions and 14 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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)