Revert "[Driver] Correctly handle static C++ standard library"
authorNico Weber <thakis@chromium.org>
Fri, 24 Sep 2021 22:43:51 +0000 (18:43 -0400)
committerNico Weber <thakis@chromium.org>
Fri, 24 Sep 2021 22:44:53 +0000 (18:44 -0400)
commit6ece82e9006d16b7fba7660ce09b2c62ab8460fa
tree806c87d946d5deb18282d9307327e333fb2abd04
parent6deaebe5fe00bfb69d9d007bae95fac70779398a
Revert "[Driver] Correctly handle static C++ standard library"

This reverts commit 03142c5f67788bcc1573f76732d0fccd75c6b965.
Breaks check-asan if system ld doesn't support --push-state, even
if lld was built and is used according to lit's output.
See comments on https://reviews.llvm.org/D110128
clang/lib/Driver/ToolChains/Fuchsia.cpp
clang/lib/Driver/ToolChains/Gnu.cpp
clang/test/Driver/fuchsia.cpp
clang/test/Driver/linux-ld.c