OSDN Git Service

Quick fix to D32609, it seems .o files are not transferred in all cases.
authorEric Beckmann <ecbeckmann@google.com>
Mon, 8 May 2017 02:47:25 +0000 (02:47 +0000)
committerEric Beckmann <ecbeckmann@google.com>
Mon, 8 May 2017 02:47:25 +0000 (02:47 +0000)
Therefore the .o file in question is renamed to .obj.coff.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302400 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/llvm-readobj/Inputs/resources/test_resource.obj.coff [new file with mode: 0644]
test/tools/llvm-readobj/resources.test

diff --git a/test/tools/llvm-readobj/Inputs/resources/test_resource.obj.coff b/test/tools/llvm-readobj/Inputs/resources/test_resource.obj.coff
new file mode 100644 (file)
index 0000000..b9a7908
Binary files /dev/null and b/test/tools/llvm-readobj/Inputs/resources/test_resource.obj.coff differ
index 6e9e39d..855ce53 100644 (file)
@@ -6,7 +6,7 @@
 
 RUN: llvm-readobj -coff-resources -section-data %p/Inputs/zero-string-table.obj.coff-i386 \
 RUN:   | FileCheck %s -check-prefix ZERO
-RUN: llvm-readobj -coff-resources %p/Inputs/resources/test_resource.o \
+RUN: llvm-readobj -coff-resources %p/Inputs/resources/test_resource.obj.coff \
 RUN:   | FileCheck %s -check-prefix TEST_RES
 
 ZERO:      Resources [