[PATCH] D155047: [lld][COFF] Add -print-search-paths for debugging.
Tobias Hieta via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 12 12:01:58 PDT 2023
thieta added inline comments.
================
Comment at: lld/COFF/Driver.cpp:2065
+ message(buffer);
+ return;
+ }
----------------
MaskRay wrote:
> If we want to behave more like ld.lld, `--print-*` does not quit early. If we want to behave more like clang driver, options like `--print-target-triple` quit early. I think the ld.lld style makes more sense.
So print and not exit until the linker normally exits? That seems fine to me, unless anyone objects to that I'll make that change tomorrow.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155047/new/
https://reviews.llvm.org/D155047
More information about the llvm-commits
mailing list