[lld] [lld][COFF] Add /linkreprofullpathrsp flag (PR #165449)
Alexandre Ganea via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 3 08:15:08 PST 2025
================
@@ -88,11 +88,12 @@ class LinkerDriver {
void enqueueArchiveMember(const Archive::Child &c, const Archive::Symbol &sym,
StringRef parentName);
- void enqueuePDB(StringRef Path) { enqueuePath(Path, false, false); }
+ void enqueuePDB(StringRef Path) { enqueuePath(Path, false, false, nullptr); }
----------------
aganea wrote:
This might be an oversight in the implementation of `/LINKREPROFULLPATHRSP` in MSVC. We don't have to follow what they do, but what is right. The documentation says "Generates a response file (.RSP) containing the absolute paths of **all the files the linker took as input**.". The PDB is an input, so it should be there in the .RSP. I can't see how we could make the command-line reproducible otherwise?
https://github.com/llvm/llvm-project/pull/165449
More information about the llvm-commits
mailing list