[llvm] r227673 - llvm-readobj: add a test case for ARM_MOV32(T) base relocation
Saleem Abdulrasool
compnerd at compnerd.org
Fri Jan 30 20:46:50 PST 2015
Author: compnerd
Date: Fri Jan 30 22:46:50 2015
New Revision: 227673
URL: http://llvm.org/viewvc/llvm-project?rev=227673&view=rev
Log:
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.
Added:
llvm/trunk/test/tools/llvm-readobj/Inputs/trivial.exe.coff-arm (with props)
llvm/trunk/test/tools/llvm-readobj/coff-arm-baserelocs.test
Added: llvm/trunk/test/tools/llvm-readobj/Inputs/trivial.exe.coff-arm
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-readobj/Inputs/trivial.exe.coff-arm?rev=227673&view=auto
==============================================================================
Binary files llvm/trunk/test/tools/llvm-readobj/Inputs/trivial.exe.coff-arm (added) and llvm/trunk/test/tools/llvm-readobj/Inputs/trivial.exe.coff-arm Fri Jan 30 22:46:50 2015 differ
Propchange: llvm/trunk/test/tools/llvm-readobj/Inputs/trivial.exe.coff-arm
------------------------------------------------------------------------------
svn:executable = *
Added: llvm/trunk/test/tools/llvm-readobj/coff-arm-baserelocs.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-readobj/coff-arm-baserelocs.test?rev=227673&view=auto
==============================================================================
--- llvm/trunk/test/tools/llvm-readobj/coff-arm-baserelocs.test (added)
+++ llvm/trunk/test/tools/llvm-readobj/coff-arm-baserelocs.test Fri Jan 30 22:46:50 2015
@@ -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: }
+
More information about the llvm-commits
mailing list