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 | f89da7210b09a0a0f7c9ee216cd54dca03c6b64a (patch) | |
tree | 8faca43d4b6b9a088e23ed254f116efb0a1c0228 /test/MC/Mips/r-mips-got-disp.ll | |
parent | 8ed205f0a35337089407a57cc8e01de59bc4e26b (diff) | |
download | llvm-f89da7210b09a0a0f7c9ee216cd54dca03c6b64a.tar.gz llvm-f89da7210b09a0a0f7c9ee216cd54dca03c6b64a.tar.bz2 llvm-f89da7210b09a0a0f7c9ee216cd54dca03c6b64a.tar.xz |
Replace coff-/elf-dump with llvm-readobj
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179361 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Mips/r-mips-got-disp.ll')
-rw-r--r-- | test/MC/Mips/r-mips-got-disp.ll | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/MC/Mips/r-mips-got-disp.ll b/test/MC/Mips/r-mips-got-disp.ll index 73396ac513..7e78a46649 100644 --- a/test/MC/Mips/r-mips-got-disp.ll +++ b/test/MC/Mips/r-mips-got-disp.ll @@ -1,8 +1,9 @@ -; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 < %s -o - | elf-dump --dump-section-data | FileCheck %s +; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 < %s -o - | llvm-readobj -r | FileCheck %s ; Check that the R_MIPS_GOT_DISP relocations were created. -; CHECK: ('r_type', 0x13) +; CHECK: Relocations [ +; CHECK: 0x{{[0-9,A-F]+}} R_MIPS_GOT_DISP @shl = global i64 1, align 8 @.str = private unnamed_addr constant [8 x i8] c"0x%llx\0A\00", align 1 |