OSDN Git Service

[lld] Use temporary directory to create test outputs
authorAlexander Kornienko <alexfh@google.com>
Thu, 12 Nov 2020 13:23:14 +0000 (14:23 +0100)
committerAlexander Kornienko <alexfh@google.com>
Thu, 12 Nov 2020 13:24:05 +0000 (14:24 +0100)
lld/test/MachO/dylib-stub.yaml

index a47b655..68f5333 100644 (file)
@@ -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