[llvm] r335908 - Some targets don't have lld built, so just use a binary copy
Sterling Augustine via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 28 12:47:23 PDT 2018
Author: saugustine
Date: Thu Jun 28 12:47:23 2018
New Revision: 335908
URL: http://llvm.org/viewvc/llvm-project?rev=335908&view=rev
Log:
Some targets don't have lld built, so just use a binary copy
of the input file.
Added:
llvm/trunk/test/tools/llvm-objdump/Inputs/call-absolute-symbol.elf-x86_64 (with props)
Modified:
llvm/trunk/test/tools/llvm-objdump/call-absolute-symbol-elf.test
Added: llvm/trunk/test/tools/llvm-objdump/Inputs/call-absolute-symbol.elf-x86_64
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/Inputs/call-absolute-symbol.elf-x86_64?rev=335908&view=auto
==============================================================================
Binary file - no diff available.
Propchange: llvm/trunk/test/tools/llvm-objdump/Inputs/call-absolute-symbol.elf-x86_64
------------------------------------------------------------------------------
svn:executable = *
Propchange: llvm/trunk/test/tools/llvm-objdump/Inputs/call-absolute-symbol.elf-x86_64
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: llvm/trunk/test/tools/llvm-objdump/call-absolute-symbol-elf.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/call-absolute-symbol-elf.test?rev=335908&r1=335907&r2=335908&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-objdump/call-absolute-symbol-elf.test (original)
+++ llvm/trunk/test/tools/llvm-objdump/call-absolute-symbol-elf.test Thu Jun 28 12:47:23 2018
@@ -1,4 +1,2 @@
-// RUN: echo -e ".text\ncallq foo\n" | llvm-mc -filetype=obj -triple=x86_64-pc-linux - -o %t1.o
-// RUN: ld.lld --defsym foo=0x100 %t1.o -o %t2
-// RUN: llvm-objdump --disassemble %t2 | FileCheck %s
+// RUN: llvm-objdump --disassemble %p/Inputs/call-absolute-symbol.elf-x86_64 | FileCheck %s
CHECK: 201000: e8 fb f0 df ff callq -2100997 <foo>
More information about the llvm-commits
mailing list