Explicitly state the output file.
authorSterling Augustine <saugustine@google.com>
Thu, 13 Feb 2020 05:22:34 +0000 (21:22 -0800)
committerSterling Augustine <saugustine@google.com>
Thu, 13 Feb 2020 05:25:30 +0000 (21:25 -0800)
commita7ecf4c324eba8fd28a204f6aeb2f4971de75bdd
tree570e6ed18b7fce06c384ad347636c3f7f3fddabc
parent637a24bc0c307519384930834febdb6a7875274e
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
lld/test/ELF/linkerscript/insert-not-exist.test