[clang] [flang] [flang][Driver] Let the linker fail on multiple definitions of main() (PR #73124)

Michael Klemm via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 24 05:41:08 PST 2023


================
@@ -122,6 +122,7 @@
 # the build directory holding that tool.
 tools = [
     ToolSubst("%flang", command=FindTool("flang-new"), unresolved="fatal"),
+    ToolSubst("%clang", command=FindTool("clang"), unresolved="fatal"),
----------------
mjklemm wrote:

I have removed this in favor of compiling a LL file instead, like suggest below.

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


More information about the cfe-commits mailing list