diff options
| author | Nico Rieck <nico.rieck@gmail.com> | 2013-04-12 04:06:46 +0000 |
|---|---|---|
| committer | Nico Rieck <nico.rieck@gmail.com> | 2013-04-12 04:06:46 +0000 |
| commit | ba848e3bca9aa8a80272bea5a7b35e6c269200f9 (patch) | |
| tree | 4e3df631b19fadde341ff3adaeacfc2c97ed8a2c /llvm/test/CodeGen/PowerPC/tls-ie-obj.ll | |
| parent | e35173294274fa49f3cc3a97b7a1addb40d7d9bf (diff) | |
| download | bcm5719-llvm-ba848e3bca9aa8a80272bea5a7b35e6c269200f9.tar.gz bcm5719-llvm-ba848e3bca9aa8a80272bea5a7b35e6c269200f9.zip | |
Replace coff-/elf-dump with llvm-readobj
llvm-svn: 179361
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/tls-ie-obj.ll')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/tls-ie-obj.ll | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/llvm/test/CodeGen/PowerPC/tls-ie-obj.ll b/llvm/test/CodeGen/PowerPC/tls-ie-obj.ll index 3600cc52ba5..0f7a3529523 100644 --- a/llvm/test/CodeGen/PowerPC/tls-ie-obj.ll +++ b/llvm/test/CodeGen/PowerPC/tls-ie-obj.ll @@ -1,5 +1,5 @@ ; RUN: llc -mcpu=pwr7 -O0 -filetype=obj %s -o - | \ -; RUN: elf-dump --dump-section-data | FileCheck %s +; RUN: llvm-readobj -r | FileCheck %s ; Test correct relocation generation for thread-local storage ; using the initial-exec model and integrated assembly. @@ -20,17 +20,10 @@ entry: ; Verify generation of R_PPC64_GOT_TPREL16_DS and R_PPC64_TLS for ; accessing external variable a. ; -; CHECK: '.rela.text' -; CHECK: Relocation 0 -; CHECK-NEXT: 'r_offset' -; CHECK-NEXT: 'r_sym', 0x[[SYM1:[0-9a-f]+]] -; CHECK-NEXT: 'r_type', 0x0000005a -; CHECK: Relocation 1 -; CHECK-NEXT: 'r_offset' -; CHECK-NEXT: 'r_sym', 0x[[SYM1]] -; CHECK-NEXT: 'r_type', 0x00000058 -; CHECK: Relocation 2 -; CHECK-NEXT: 'r_offset' -; CHECK-NEXT: 'r_sym', 0x[[SYM1]] -; CHECK-NEXT: 'r_type', 0x00000043 - +; CHECK: Relocations [ +; CHECK: Section (1) .text { +; CHECK: 0x{{[0-9,A-F]+}} R_PPC64_GOT_TPREL16_HA a +; CHECK: 0x{{[0-9,A-F]+}} R_PPC64_GOT_TPREL16_LO_DS a +; CHECK: 0x{{[0-9,A-F]+}} R_PPC64_TLS a +; CHECK: } +; CHECK: ] |

