Fix wierd problems linking C programs which look for symbols in libstdc++.
authorChris Lattner <sabre@nondot.org>
Sat, 8 Nov 2003 05:13:40 +0000 (05:13 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 8 Nov 2003 05:13:40 +0000 (05:13 +0000)
commita3954095dc5e1bd2ba78d52d5a94445e2724a5bc
tree73ea0b00fd215d5b92debe7b5f05eb7cd8c4f388
parent0ef190686c87b3657b6edafbd5dd3836c8e31b38
Fix wierd problems linking C programs which look for symbols in libstdc++.
This was due to the 'assert' macro expanding into a function call on some
platforms which could throw.  The C++ compiler then added checks for the
exception specifications in these functions, which pulled in the C++ runtime.
This was bad, and the assertions can never fire (the library is now debugged)
so just remove them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9801 91177308-0d34-0410-b5e6-96231b3b80d8
runtime/GCCLibraries/crtend/Exception.cpp