[lld] 82f6cde - lld/test: Make sure removing %t at first

NAKAMURA Takumi via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 8 04:18:51 PDT 2024


Author: NAKAMURA Takumi
Date: 2024-06-08T20:13:38+09:00
New Revision: 82f6cde8a98064be8e17cf57fed170b7205bc184

URL: https://github.com/llvm/llvm-project/commit/82f6cde8a98064be8e17cf57fed170b7205bc184
DIFF: https://github.com/llvm/llvm-project/commit/82f6cde8a98064be8e17cf57fed170b7205bc184.diff

LOG: lld/test: Make sure removing %t at first

2e1788f8e265 reverted #94843. It was creating `%t` as a directory and
causes an error in incremental builds.

Added: 
    

Modified: 
    lld/test/ELF/aarch64-reloc-pauth.s

Removed: 
    


################################################################################
diff  --git a/lld/test/ELF/aarch64-reloc-pauth.s b/lld/test/ELF/aarch64-reloc-pauth.s
index b603d8ffdcabd..0cfcb1665b939 100644
--- a/lld/test/ELF/aarch64-reloc-pauth.s
+++ b/lld/test/ELF/aarch64-reloc-pauth.s
@@ -1,5 +1,6 @@
 # REQUIRES: aarch64
 
+# RUN: rm -rf %t
 # RUN: llvm-mc -filetype=obj -triple=aarch64 %p/Inputs/shared2.s -o %t.a.o
 # RUN: ld.lld -shared %t.a.o -soname=so -o %t.a.so
 # RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o


        


More information about the llvm-commits mailing list