[PATCH] D87701: Do not apply calling conventions to MSVC entry points

Amy Huang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 16 13:48:26 PDT 2020


akhuang added a comment.

This is causing a link error in the windows chromium build:

lld-link: error: undefined symbol: _WinMain at 16

>>> referenced by D:\agent\_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:102
>>>
>>>   msvcrtd.lib(exe_winmain.obj):(int __cdecl invoke_main(void))


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87701/new/

https://reviews.llvm.org/D87701



More information about the cfe-commits mailing list