Skip to content
  • Rui Ueyama's avatar
    COFF: Infer entry symbol name if /entry is not given. · 5cff6859
    Rui Ueyama authored
    `main` is not the only main function in Windows. You can choose one
    from these four -- {w,}{WinMain,main}. There are four different entry
    point functions for them, {w,}{WinMain,main}CRTStartup, respectively.
    The linker needs to choose the right one depending on which `main`
    function is defined.
    
    llvm-svn: 238667
    5cff6859
Loading