forked from OSchip/llvm-project
Make the test harder by using a non-zero offset.
llvm-svn: 204205
This commit is contained in:
parent
08a7cb1fa0
commit
a73744e894
|
@ -10,12 +10,12 @@ foo3:
|
||||||
.globl bar3
|
.globl bar3
|
||||||
bar3 = foo3
|
bar3 = foo3
|
||||||
|
|
||||||
// Test that bar4 is also a function
|
|
||||||
|
// Test that bar4 and bar 5 are also functions and have the same value as foo4.
|
||||||
|
.byte 0
|
||||||
.type foo4,@function
|
.type foo4,@function
|
||||||
foo4:
|
foo4:
|
||||||
bar4 = foo4
|
bar4 = foo4
|
||||||
|
|
||||||
// Test that bar5 is also a function
|
|
||||||
bar5 = bar4
|
bar5 = bar4
|
||||||
|
|
||||||
.long foo2
|
.long foo2
|
||||||
|
@ -41,7 +41,7 @@ bar5 = bar4
|
||||||
// CHECK-NEXT: }
|
// CHECK-NEXT: }
|
||||||
// CHECK-NEXT: Symbol {
|
// CHECK-NEXT: Symbol {
|
||||||
// CHECK-NEXT: Name: bar4
|
// CHECK-NEXT: Name: bar4
|
||||||
// CHECK-NEXT: Value: 0x0
|
// CHECK-NEXT: Value: 0x1
|
||||||
// CHECK-NEXT: Size: 0
|
// CHECK-NEXT: Size: 0
|
||||||
// CHECK-NEXT: Binding: Local
|
// CHECK-NEXT: Binding: Local
|
||||||
// CHECK-NEXT: Type: Function
|
// CHECK-NEXT: Type: Function
|
||||||
|
@ -50,7 +50,7 @@ bar5 = bar4
|
||||||
// CHECK-NEXT: }
|
// CHECK-NEXT: }
|
||||||
// CHECK-NEXT: Symbol {
|
// CHECK-NEXT: Symbol {
|
||||||
// CHECK-NEXT: Name: bar5
|
// CHECK-NEXT: Name: bar5
|
||||||
// CHECK-NEXT: Value: 0x0
|
// CHECK-NEXT: Value: 0x1
|
||||||
// CHECK-NEXT: Size: 0
|
// CHECK-NEXT: Size: 0
|
||||||
// CHECK-NEXT: Binding: Local
|
// CHECK-NEXT: Binding: Local
|
||||||
// CHECK-NEXT: Type: Function
|
// CHECK-NEXT: Type: Function
|
||||||
|
@ -77,7 +77,7 @@ bar5 = bar4
|
||||||
// CHECK-NEXT: }
|
// CHECK-NEXT: }
|
||||||
// CHECK-NEXT: Symbol {
|
// CHECK-NEXT: Symbol {
|
||||||
// CHECK-NEXT: Name: foo4
|
// CHECK-NEXT: Name: foo4
|
||||||
// CHECK-NEXT: Value: 0x0
|
// CHECK-NEXT: Value: 0x1
|
||||||
// CHECK-NEXT: Size: 0
|
// CHECK-NEXT: Size: 0
|
||||||
// CHECK-NEXT: Binding: Local
|
// CHECK-NEXT: Binding: Local
|
||||||
// CHECK-NEXT: Type: Function
|
// CHECK-NEXT: Type: Function
|
||||||
|
|
Loading…
Reference in New Issue