[lld] [lld][COFF] Add /linkreprofullpathrsp flag (PR #165449)
David Truby via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 3 06:12:02 PST 2025
================
@@ -356,8 +357,17 @@ void LinkerDriver::enqueuePath(StringRef path, bool wholeArchive, bool lazy) {
Err(ctx) << msg;
else
Err(ctx) << msg << "; did you mean '" << nearest << "'";
- } else
+ } else {
+ // Write full path to library to repro file if /linkreprofullpathrsp
+ // is specified.
+ if (reproFile) {
+ *reproFile << '"';
+ if (defaultlib)
+ *reproFile << "/defaultlib:";
+ *reproFile << pathStr << "\"\n";
+ }
----------------
DavidTruby wrote:
Ahh you're right. I thought I'd checked that and finally found the place where the paths would be full resolved.
I don't suppose you might know offhand where that might be? Otherwise I will keep looking...
https://github.com/llvm/llvm-project/pull/165449
More information about the llvm-commits
mailing list