[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 04:14:12 PDT 2023
hans 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
----------------
mstorsjo wrote:
> 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.
No, I believe the way to do is it with regexes: `{{[/\\]}}`
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