[PATCH] D155047: [lld][COFF] Add -print-search-paths for debugging.
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 12 04:11:16 PDT 2023
mstorsjo added inline comments.
================
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
----------------
thieta wrote:
> hans wrote:
> > Those backslashes will probably be forward slashes when this test runs on non-Windows.
> Ah good point. Is there a good facility in Filecheck to match the correct slashes?
Lots of tests have explicit regexes for it (see e.g. clang/test/Driver), like `{{[/\\\\]}}`. It's an absolute pain to both write and read though.
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