This patch defines a new command line option, /MSVCLTO, to LLD.
If that option is given, LLD invokes link.exe to link LTO-generated
object files. This is hacky but useful because link.exe can create
PDB files.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 3621 Build 3621: arc lint + arc unit
Event Timeline
Comment Actions
LGTM
lld/COFF/DriverUtils.cpp | ||
---|---|---|
659 | I guess defaultlib flags will always refer to archive files, so you probably don't want to strip them. |
Should this create a response file instead of passing the arguments directly?