forked from OSchip/llvm-project
Explicitly state the output file.
Summary: Even though this test is a check for failure, lld still attempts to open the final output file, which fails when the default "a.out" file is used and the current directory is read-only. Specifying an output file works around this problem. Reviewers: espindola Subscribers: emaste, MaskRay, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D74523
This commit is contained in:
parent
637a24bc0c
commit
a7ecf4c324
|
@ -1,6 +1,6 @@
|
|||
# REQUIRES: x86
|
||||
# RUN: llvm-mc -filetype=obj -triple=x86_64 %p/Inputs/insert-after.s -o %t.o
|
||||
# RUN: not ld.lld -T %s %t.o 2>&1 | FileCheck %s
|
||||
# RUN: not ld.lld -T %s %t.o -o %t.out 2>&1 | FileCheck %s
|
||||
|
||||
# CHECK: error: unable to insert .foo.data after .not_exist
|
||||
# CHECK: error: unable to insert .foo.text before .not_exist
|
||||
|
|
Loading…
Reference in New Issue