You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most COFF machinery already exists from P3. This phase is the link.exe argument dialect, MSVC CRT conventions, and the debug-information decision.
P5-T0 blocks everything else in this phase. A dev-loop linker whose output cannot be debugged is not a dev-loop linker, and MSVC-ABI debugging means PDB. Evidence: radlink's PDB subsystem is ~20k lines; the Rust pdb crates are read-oriented; nobody has ever shipped incremental PDB generation except MSVC's /DEBUG:FASTLINK, which was removed in VS 2026 for producing a worse debugging experience.
Option
Cost
Consequence
(a) Write PDB
~15–20k LOC
Full VS/WinDbg debugging; dominates the phase
(b) DWARF-in-PE
small, P3 already does it
LLDB works; VS and WinDbg do not
(c) No debug info
zero
Contradicts reld's premise; reject
Recommendation: (b) for v0, (a) only on demonstrated demand. Whatever is chosen goes in the README, not buried in an issue.
P5-T1 link.exe dialect (~40 switches, @response files, .drectve — that's how the CRT gets pulled in)
P5-T2 MSVC CRT conventions, .CRT$XC* ordering
P5-T3 /OPT:ICF accepted-and-warned (MSBuild passes it unconditionally); /INCREMENTAL accepted-and-ignored — Microsoft's scheme is not ours
D5 decided (owner, via #154): PDBs come from LLD's own PDB writer through llvm-ld. llvm-ld already produces EXE and PDB output byte-identical to stock LLD, gated in its CI (llvm-ld#5), and has parallelized PDB emission (llvm-ld#14).
That settles the question that blocked this issue: reld doesn't write its own PDB emitter. What's left here is the MSVC ABI work on top of #96's routing, so this issue follows #96 and inherits its gate (after #153).
Activity
zackees commentedon Sep 18, 2026
D5 decided (owner, via #154): PDBs come from LLD's own PDB writer through llvm-ld. llvm-ld already produces EXE and PDB output byte-identical to stock LLD, gated in its CI (llvm-ld#5), and has parallelized PDB emission (llvm-ld#14).
That settles the question that blocked this issue: reld doesn't write its own PDB emitter. What's left here is the MSVC ABI work on top of #96's routing, so this issue follows #96 and inherits its gate (after #153).
docs(design): resolve the two DESIGN.md contradictions blocking incre…