diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-01-31 04:46:50 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-01-31 04:46:50 +0000 |
commit | ef2a6771e9158270b5ef340b5438adcad417dcf5 (patch) | |
tree | bbf41e54c0970c0bcd82005ad2d763810431d26c /test/tools/llvm-readobj | |
parent | 02897142dfc8fc07b17016bb31640f075de96f76 (diff) |
llvm-readobj: add a test case for ARM_MOV32(T) base relocation
Add a trivial binary (int main() { return 0; }) built for Windows on ARM to
ensure that we can correctly identify ARM_MOV32(T) base relocations. Addresses
post-commit review comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227673 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tools/llvm-readobj')
-rwxr-xr-x | test/tools/llvm-readobj/Inputs/trivial.exe.coff-arm | bin | 0 -> 7680 bytes | |||
-rw-r--r-- | test/tools/llvm-readobj/coff-arm-baserelocs.test | 7 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/tools/llvm-readobj/Inputs/trivial.exe.coff-arm b/test/tools/llvm-readobj/Inputs/trivial.exe.coff-arm Binary files differnew file mode 100755 index 00000000000..121d820b6b0 --- /dev/null +++ b/test/tools/llvm-readobj/Inputs/trivial.exe.coff-arm diff --git a/test/tools/llvm-readobj/coff-arm-baserelocs.test b/test/tools/llvm-readobj/coff-arm-baserelocs.test new file mode 100644 index 00000000000..c0febd74aef --- /dev/null +++ b/test/tools/llvm-readobj/coff-arm-baserelocs.test @@ -0,0 +1,7 @@ +# RUN: llvm-readobj -coff-basereloc %p/Inputs/trivial.exe.coff-arm | FileCheck %s + +# CHECK: Entry { +# CHECK: Type: ARM_MOV32(T) +# CHECK: Address: 0x9390 +# CHECK: } + |