[lld] 4c20cc8 - [lld][MachO] Store test outputs in %t

Dmitri Gribenko via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 13 06:04:10 PST 2023


Author: Dmitri Gribenko
Date: 2023-01-13T15:03:18+01:00
New Revision: 4c20cc8ca9b6c121d83448d61b826fa252433f28

URL: https://github.com/llvm/llvm-project/commit/4c20cc8ca9b6c121d83448d61b826fa252433f28
DIFF: https://github.com/llvm/llvm-project/commit/4c20cc8ca9b6c121d83448d61b826fa252433f28.diff

LOG: [lld][MachO] Store test outputs in %t

Added: 
    

Modified: 
    lld/test/MachO/thinlto-emit-index.ll
    lld/test/MachO/thinlto-index-only.ll

Removed: 
    


################################################################################
diff  --git a/lld/test/MachO/thinlto-emit-index.ll b/lld/test/MachO/thinlto-emit-index.ll
index fa87609336c1f..fdc1f48509024 100644
--- a/lld/test/MachO/thinlto-emit-index.ll
+++ b/lld/test/MachO/thinlto-emit-index.ll
@@ -43,9 +43,9 @@
 ; RUN: ls %t/1.o.imports
 
 ;; Ensure LLD generates an empty index for each bitcode file even if all bitcode files are lazy.
-; RUN: rm -f %t/1.o.thinlto.bc
-; RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin /dev/null -o dummy.o
-; RUN: %lld --thinlto-emit-index-files -dylib dummy.o --start-lib %t/1.o --end-lib -o %t/8
+; RUN: rm -f %t/dummy.o %t/1.o.thinlto.bc
+; RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin /dev/null -o %t/dummy.o
+; RUN: %lld --thinlto-emit-index-files -dylib %t/dummy.o --start-lib %t/1.o --end-lib -o %t/8
 ; RUN: ls %t/8
 ; RUN: ls %t/1.o.thinlto.bc
 

diff  --git a/lld/test/MachO/thinlto-index-only.ll b/lld/test/MachO/thinlto-index-only.ll
index 13453c4edae57..54819a2d397b0 100644
--- a/lld/test/MachO/thinlto-index-only.ll
+++ b/lld/test/MachO/thinlto-index-only.ll
@@ -44,9 +44,9 @@
 ; RUN: ls %t/1.o.imports
 
 ;; Ensure LLD generates an empty index for each bitcode file even if all bitcode files are lazy.
-; RUN: rm -f %t/1.o.thinlto.bc
-; RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin /dev/null -o dummy.o
-; RUN: %lld --thinlto-index-only -dylib dummy.o --start-lib %t/1.o --end-lib -o /dev/null
+; RUN: rm -f %t/dummy.o %t/1.o.thinlto.bc
+; RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin /dev/null -o %t/dummy.o
+; RUN: %lld --thinlto-index-only -dylib %t/dummy.o --start-lib %t/1.o --end-lib -o /dev/null
 ; RUN: ls %t/1.o.thinlto.bc
 
 ;; Ensure when the same bitcode object is given as both lazy and non-lazy,


        


More information about the llvm-commits mailing list