[PATCH] D155047: [lld][COFF] Add -print-search-paths for debugging.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 12 09:58:36 PDT 2023


MaskRay added inline comments.


================
Comment at: lld/COFF/Driver.cpp:2065
+    message(buffer);
+    return;
+  }
----------------
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.


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