[lld] [LLD] [MinGW] Interpret an empty -entry option as no entry point (PR #96055)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 19 05:47:42 PDT 2024


alvinhochun wrote:

> as long as you drive the linking via GCC/Clang, it always passes one `-e` option or another, so it practically never will hit that case anyway

Does it...? When I run `clang++.exe -### -x c++ -` I don't see any entry point flags in the `ld.lld` invocation.

https://github.com/llvm/llvm-project/pull/96055


More information about the llvm-commits mailing list