We need to use the overload of Mangler::getNameWithPrefix that takes a
GlobalValue in order to mangle in the stdcall stack byte count for Windows
targets.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM. Thanks!
llvm/lib/LTO/LTOCodeGenerator.cpp | ||
---|---|---|
425 ↗ | (On Diff #74418) | Can you add the comment for the bool: Mang.getNameWithPrefix(MangledName, &GV, /* CannotUsePrivateLabel */ false) ? |
Comment Actions
The COFF port of LLD uses the legacy LTOCodeGenerator, at least for now. @hans found this while building Chromium with LLD and LTO (crbug.com/655125).