mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +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
22 lines
720 B
ArmAsm
22 lines
720 B
ArmAsm
# RUN: rm -rf %t && mkdir -p %t
|
|
# RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj -o %t/ELF_x86-64_debug_frame.o %s
|
|
# RUN: llvm-rtdyld -triple=x86_64-pc-linux -verify -check=%s %t/ELF_x86-64_debug_frame.o
|
|
|
|
.text
|
|
.file "debug_frame_test.c"
|
|
.align 16, 0x90
|
|
.type foo,@function
|
|
foo:
|
|
.cfi_startproc
|
|
retq
|
|
.Ltmp0:
|
|
.size foo, .Ltmp0-foo
|
|
.cfi_endproc
|
|
.cfi_sections .debug_frame
|
|
|
|
# Check that .debug_frame is mapped to 0.
|
|
# rtdyld-check: section_addr(ELF_x86-64_debug_frame.o, .debug_frame) = 0
|
|
|
|
# Check that The relocated FDE's CIE offset also points to zero.
|
|
# rtdyld-check: *{4}(section_addr(ELF_x86-64_debug_frame.o, .debug_frame) + 0x1C) = 0
|