Bug 20387 – pipelink.exe ignores preferred linker

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
visuald
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2019-11-12T23:37:33Z
Last change time
2019-11-17T17:45:37Z
Assigned to
No Owner
Creator
Richard Manthorpe

Comments

Comment #0 by rmanth — 2019-11-12T23:37:33Z
I'm using the new LLVM platfrom toolset in visual studio 2019 which works fine until I do something like "-flto" which is not compatible with link.exe. My "LinkToolExe" property gets correctly set to lld-link.exe but at the last moment VisualD overrides it which pipelink.exe which then calls link.exe. I think it makes more sense for pipelink.exe to delegate to the whatever is in "LinkToolExe" before VisualD takes over.
Comment #1 by r.sagitario — 2019-11-17T17:45:37Z
LinkToolExe now forwarded to pipelink.exe through the environment in https://github.com/dlang/visuald/releases/tag/v0.51.0-beta1