[llvm] r241427 - Make this test a bit more interesting.

Rafael Espindola rafael.espindola at gmail.com
Sun Jul 5 19:45:01 PDT 2015


Author: rafael
Date: Sun Jul  5 21:45:01 2015
New Revision: 241427

URL: http://llvm.org/viewvc/llvm-project?rev=241427&view=rev
Log:
Make this test a bit more interesting.

Before every test was using a section with an address of zero.

Modified:
    llvm/trunk/test/ExecutionEngine/RuntimeDyld/X86/MachO_i386_DynNoPIC_relocations.s

Modified: llvm/trunk/test/ExecutionEngine/RuntimeDyld/X86/MachO_i386_DynNoPIC_relocations.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/RuntimeDyld/X86/MachO_i386_DynNoPIC_relocations.s?rev=241427&r1=241426&r2=241427&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/RuntimeDyld/X86/MachO_i386_DynNoPIC_relocations.s (original)
+++ llvm/trunk/test/ExecutionEngine/RuntimeDyld/X86/MachO_i386_DynNoPIC_relocations.s Sun Jul  5 21:45:01 2015
@@ -1,7 +1,10 @@
 # RUN: llvm-mc -triple=i386-apple-macosx10.4 -relocation-model=dynamic-no-pic -filetype=obj -o %T/test_i386.o %s
 # RUN: llvm-rtdyld -triple=i386-apple-macosx10.4 -verify -check=%s %/T/test_i386.o
 
-	.section	__TEXT,__text,regular,pure_instructions
+// Put the section used in the test at a non zero address.
+	.long 4
+
+	.section	__TEXT,__text2,regular,pure_instructions
 	.globl	bar
 	.align	4, 0x90
 bar:





More information about the llvm-commits mailing list