[llvm] r243044 - Using an input object file instead of trying to generate an object file.
Colin LeMahieu
colinl at codeaurora.org
Thu Jul 23 14:40:19 PDT 2015
Author: colinl
Date: Thu Jul 23 16:40:19 2015
New Revision: 243044
URL: http://llvm.org/viewvc/llvm-project?rev=243044&view=rev
Log:
Using an input object file instead of trying to generate an object file.
Added:
llvm/trunk/test/tools/llvm-objdump/Inputs/disassemble-data.obj (with props)
Modified:
llvm/trunk/test/tools/llvm-objdump/disassemble-data.test
Added: llvm/trunk/test/tools/llvm-objdump/Inputs/disassemble-data.obj
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/Inputs/disassemble-data.obj?rev=243044&view=auto
==============================================================================
Binary file - no diff available.
Propchange: llvm/trunk/test/tools/llvm-objdump/Inputs/disassemble-data.obj
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: llvm/trunk/test/tools/llvm-objdump/disassemble-data.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/disassemble-data.test?rev=243044&r1=243043&r2=243044&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-objdump/disassemble-data.test (original)
+++ llvm/trunk/test/tools/llvm-objdump/disassemble-data.test Thu Jul 23 16:40:19 2015
@@ -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
More information about the llvm-commits
mailing list