From: Colin LeMahieu Date: Thu, 23 Jul 2015 21:40:19 +0000 (+0000) Subject: Using an input object file instead of trying to generate an object file. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8782d64e379fbf80bdf54611a00f8899e9011cd0;p=oota-llvm.git Using an input object file instead of trying to generate an object file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243044 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/llvm-objdump/Inputs/disassemble-data.obj b/test/tools/llvm-objdump/Inputs/disassemble-data.obj new file mode 100644 index 00000000000..6381120a1c8 Binary files /dev/null and b/test/tools/llvm-objdump/Inputs/disassemble-data.obj differ diff --git a/test/tools/llvm-objdump/disassemble-data.test b/test/tools/llvm-objdump/disassemble-data.test index 78697f2cae2..e9c4e7e1e5f 100644 --- a/test/tools/llvm-objdump/disassemble-data.test +++ b/test/tools/llvm-objdump/disassemble-data.test @@ -1,7 +1,4 @@ // This test checks that -D disassembles from a data section -// RUN: llvm-mc -triple x86_64-pc-linux-gnu -filetype=obj -o - %s | \ -// RUN: llvm-objdump -D - | FileCheck %s +// RUN: llvm-objdump -D %p/Inputs/disassemble-data.obj | FileCheck %s -// CHECK: Disassembly of section .data: -.data -.word 0x0 \ No newline at end of file +// CHECK: Disassembly of section .data: \ No newline at end of file