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
This commit is contained in:
Colin LeMahieu 2015-07-23 21:40:19 +00:00
parent a5c7608532
commit 8782d64e37
2 changed files with 2 additions and 5 deletions

Binary file not shown.

View File

@ -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
// CHECK: Disassembly of section .data: