Make this test a bit more interesting.

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

llvm-svn: 241427
This commit is contained in:
Rafael Espindola 2015-07-06 02:45:01 +00:00
parent 92a8c82076
commit 37d8b67426
1 changed files with 4 additions and 1 deletions

View File

@ -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: