Page MenuHomePhabricator

[MinGW] Automatically mangle Windows-specific entry points as C
ClosedPublic

Authored by mstorsjo on Jul 15 2018, 2:12 PM.

Details

Summary

This mangles entry points wmain, WinMain, wWinMain or DllMain as C functions, to match the ABI for these functions.

We already did the same for these functions in MSVC mode, but we also should do the same in the Itanium ABI.

This fixes PR38124.

Diff Detail

Repository
rL LLVM

Event Timeline

mstorsjo created this revision.Jul 15 2018, 2:12 PM
This revision is now accepted and ready to land.Jul 15 2018, 5:03 PM
This revision was automatically updated to reflect the committed changes.