[PATCH] D110904: [lld-macho] Check for errors when the response file doesn't exist.

Vy Nguyen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 1 07:48:31 PDT 2021


oontvoo added a comment.

In D110904#3036354 <https://reviews.llvm.org/D110904#3036354>, @thakis wrote:

> We currently print `ld64.lld: error: cannot open @fooasdfdsaf.txt: No such file or directory` which seems fine?

Hmm which version printed this? 
Right now all i'm getting was ("must specify -arch") for the macho port, which took me awhile to realise I had a typo in my response file name ..

  bin/ld64.lld @foobar.txt
  ld64.lld: error: must specify -arch



> None of the other lld ports do this.

ELF seems to have it:

  $ bin/ld.lld @foobar.txt
  ld.lld: error: cannot open @foobar.txt: No such file or directory


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110904/new/

https://reviews.llvm.org/D110904



More information about the llvm-commits mailing list