From 8782d64e379fbf80bdf54611a00f8899e9011cd0 Mon Sep 17 00:00:00 2001 From: Colin LeMahieu Date: Thu, 23 Jul 2015 21:40:19 +0000 Subject: [PATCH] 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 --- .../llvm-objdump/Inputs/disassemble-data.obj | Bin 0 -> 254 bytes test/tools/llvm-objdump/disassemble-data.test | 7 ++----- 2 files changed, 2 insertions(+), 5 deletions(-) create mode 100644 test/tools/llvm-objdump/Inputs/disassemble-data.obj 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 0000000000000000000000000000000000000000..6381120a1c83ac56c75d637bac1878a83af0d054 GIT binary patch literal 254 zcmeZaWM%+?J|JcTvltlkN>VFIplle`17kpG1qOozy_Cd~L?m%0ARAqs1B1Z literal 0 HcmV?d00001 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 -- 2.34.1