mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
e659840bcd
The %T lit expansion expands to a common directory shared between all the tests in the same directory, which is unexpected and unintuitive, and more importantly, it's been a source of subtle race conditions and flaky tests. In https://reviews.llvm.org/D35396, it was agreed that it would be best to simply ban %T and only keep %t, which is unique to each test. When a test needs a temporary directory, it can just create one using mkdir %t. This patch removes %T in llvm. Differential Revision: https://reviews.llvm.org/D36495 llvm-svn: 310953
25 lines
917 B
ArmAsm
25 lines
917 B
ArmAsm
# RUN: rm -rf %t && mkdir -p %t
|
|
# RUN: llvm-mc -triple=arm-linux-gnueabihf -filetype=obj -o %t/reloc.o %s
|
|
# RUN: llvm-rtdyld -triple=arm-linux-gnueabihf -verify -map-section reloc.o,.ARM.exidx=0x6000 -map-section reloc.o,.text=0x4000 -dummy-extern __aeabi_unwind_cpp_pr0=0x1234 -check=%s %t/reloc.o
|
|
|
|
.text
|
|
.syntax unified
|
|
.eabi_attribute 67, "2.09" @ Tag_conformance
|
|
.cpu cortex-a8
|
|
.fpu neon
|
|
.file "reloc.c"
|
|
.globl g
|
|
.align 2
|
|
.type g,%function
|
|
g:
|
|
.fnstart
|
|
movw r0, #1
|
|
bx lr
|
|
.Lfunc_end0:
|
|
.size g, .Lfunc_end0-g
|
|
.fnend
|
|
|
|
# rtdyld-check: *{4}(section_addr(reloc.o, .ARM.exidx)) = (g - (section_addr(reloc.o, .ARM.exidx))) & 0x7fffffff
|
|
# Compat unwind info: finish(0xb0), finish(0xb0), finish(0xb0)
|
|
# rtdyld-check: *{4}(section_addr(reloc.o, .ARM.exidx) + 0x4) = 0x80b0b0b0
|