[PATCH] D137723: [PDB] Don't include input files in the 'cmd' entry of S_ENVBLOCK

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 09:44:46 PST 2022


thakis added inline comments.


================
Comment at: lld/COFF/PDB.cpp:1357
   for (StringRef a : args) {
+    if (!a.startswith("/") && !a.startswith("-"))
+      continue;
----------------
What if I'm cross-linking on Linux and passing in /path/to/foo.o?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137723/new/

https://reviews.llvm.org/D137723



More information about the llvm-commits mailing list