[PATCH] D120175: [Driver] Re-run lld with --reproduce when it crashes

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 2 10:02:32 PDT 2022


thakis added inline comments.


================
Comment at: clang/lib/Driver/Driver.cpp:1638
+    llvm::opt::ArgStringList ArgList = NewLLDInvocation.getArguments();
+    ArgList.push_back(Saver.save(Twine{"--reproduce="} + TmpName).data());
+    NewLLDInvocation.replaceArguments(std::move(ArgList));
----------------
This does the wrong thing on Windows, I think (the flag is spelled /reproduce:path there I think?)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120175



More information about the cfe-commits mailing list