aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ObjectFile.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-05-31 03:34:08 +0000
committerRui Ueyama <ruiu@google.com>2015-05-31 03:34:08 +0000
commit5cff68599d6140194bf8efdd68896d2c35b4062f (patch)
treea00b18ac276076f19a9b2b9a0f70cb7b8b24139f /llvm/lib/Object/ObjectFile.cpp
parent87601bef58c4410989a1010f6ac550f84421653a (diff)
downloadllvm-5cff68599d6140194bf8efdd68896d2c35b4062f.zip
llvm-5cff68599d6140194bf8efdd68896d2c35b4062f.tar.gz
llvm-5cff68599d6140194bf8efdd68896d2c35b4062f.tar.bz2
COFF: Infer entry symbol name if /entry is not given.
`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
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions