[PATCH] D155047: [lld][COFF] Add -print-search-paths for debugging.
Hans Wennborg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 12 03:38:41 PDT 2023
hans added a comment.
Seems handy to me. We could also add this kind of info to the `/verbose` output, but having a separate option is probably more convenient.
================
Comment at: lld/COFF/Options.td:300
def summary : F<"summary">;
+def print_search_paths : F<"print-search-paths">;
----------------
My ocd noticed that this section of flags seems to be alphabetical.
================
Comment at: lld/test/COFF/print-search-paths.s:7
+# CHECK: Library search paths:
+# CHECK: [[SYSROOT]]/sysroot\VC\Tools\MSVC\1.1.1.1\lib\x64
+# CHECK: [[SYSROOT]]/sysroot\VC\Tools\MSVC\1.1.1.1\atlmfc\lib\x64
----------------
Those backslashes will probably be forward slashes when this test runs on non-Windows.
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