brintos

brintos / llvm-project-archived public Read only

0
0
Text · 462 B · 5f8a2c8 Raw
14 lines · plain
1// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S -r --symbols - | FileCheck  %s2 3// Test that relocations with local symbols are represented as relocations4// with the section. They should be equivalent, but gas behaves like this.5 6	movl	foo, %r14d7foo:8 9// CHECK:      Relocations [10// CHECK:        Section {{.*}} .rela.text {11// CHECK-NEXT:     0x{{[^ ]+}} R_X86_64_32S .text 0x{{[^ ]+}}12// CHECK-NEXT:   }13// CHECK-NEXT: ]14