Revert "[flang][driver] Allow main program to be in an archive"
authorAndrzej Warzynski <andrzej.warzynski@gmail.com>
Fri, 28 Apr 2023 08:39:27 +0000 (09:39 +0100)
committerAndrzej Warzynski <andrzej.warzynski@gmail.com>
Fri, 28 Apr 2023 08:39:27 +0000 (09:39 +0100)
commite5d98c15cb7ba467c5f93b5ef08ac9b18d390133
treecf62065d95fe840670b77ce3ca2091b38c076088
parent9391177cbcb0e5fb051f7a867683d7a0817f1648
Revert "[flang][driver] Allow main program to be in an archive"

This reverts commit 876df74dd47196a9ca3b4fff21ffb5441491a0a0.

My understanding (based on https://reviews.llvm.org/D149429) is that
this patch has caused all of Flang's buildbots to fail. I'm not really
able to verify 100% as the buildbot UI is incredibly slow ATM. I am
reverting either way so that we can discuss the right solution offline.
clang/lib/Driver/ToolChains/Gnu.cpp
flang/docs/FlangDriver.md
flang/test/CMakeLists.txt
flang/test/Driver/link-c-main.c [deleted file]
flang/test/Driver/link-f90-main.f90 [deleted file]
flang/test/Driver/linker-flags.f90