]> granicus.if.org Git - clang/commit
[Compiler-RT] Remove dependency on libgcc_s/eh
authorRenato Golin <renato.golin@linaro.org>
Thu, 23 Jul 2015 17:24:41 +0000 (17:24 +0000)
committerRenato Golin <renato.golin@linaro.org>
Thu, 23 Jul 2015 17:24:41 +0000 (17:24 +0000)
commitb33750c50c0907b02fb5a928a2baeca37880cce8
tree691a57b6584ccd35c71af3b229a4cfa25cc5f109
parented09be366dd5a509046f0560f9053c9aef647e61
[Compiler-RT] Remove dependency on libgcc_s/eh

Currently, for --rtlib=compiler-rt on GNU systems, we're assuming
that one has libgcc_s and libgcc_eh as low-level libraries, which
when used in conjunction with -lunwind or -lc++abi, breaks that
assumption.

My original fix was wrong, and this patch reverts it to prepare for
a new flag to choose the unwinder/C++ libraries. For the time being,
people can use "-lgcc_s -lgcc_eh" or "-lunwind -lc++abi" or any
combination they need explicitly.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@243025 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/linux-ld.c