[lld] a196e80 - [lld] Use temporary directory to create test outputs

Alexander Kornienko via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 12 05:24:13 PST 2020


Author: Alexander Kornienko
Date: 2020-11-12T14:24:05+01:00
New Revision: a196e8092a9ec1c74a4d8b717d9b611430dfa498

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

LOG: [lld] Use temporary directory to create test outputs

Added: 
    

Modified: 
    lld/test/MachO/dylib-stub.yaml

Removed: 
    


################################################################################
diff  --git a/lld/test/MachO/dylib-stub.yaml b/lld/test/MachO/dylib-stub.yaml
index a47b655b3233..68f5333c0ff9 100644
--- a/lld/test/MachO/dylib-stub.yaml
+++ b/lld/test/MachO/dylib-stub.yaml
@@ -11,8 +11,8 @@
 # REQUIRES: x86
 # RUN: split-file %s %t
 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/test.s -o %t/test.o
-# RUN: yaml2obj %t/fat.dylib.yaml > fat.dylib
-# RUN: %lld -lSystem %t/test.o fat.dylib -o %t/test
+# RUN: yaml2obj %t/fat.dylib.yaml > %t/fat.dylib
+# RUN: %lld -lSystem %t/test.o %t/fat.dylib -o %t/test
 # RUN: llvm-objdump --macho --lazy-bind %t/test | FileCheck %s
 # CHECK: __DATA   __la_symbol_ptr    0x100001008 foo  _foo
 


        


More information about the llvm-commits mailing list