summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaOverload.cpp
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-09-18 21:34:12 +0000
committerHoward Hinnant <hhinnant@apple.com>2012-09-18 21:34:12 +0000
commite115af2777f6532c8943e95baf7011e2f92f781a (patch)
tree98669c11702707521b6a2805fce3cfcd03ffcb79 /clang/lib/Sema/SemaOverload.cpp
parent1de7ec8c7caa59c8a1c3862b3cda9b0f17481bca (diff)
downloadbcm5719-llvm-e115af2777f6532c8943e95baf7011e2f92f781a.tar.gz
bcm5719-llvm-e115af2777f6532c8943e95baf7011e2f92f781a.zip
I've added Apple-only behavior that looks for libstdc++ in the same process and if found, checks the string stored in <stdexcept> exception objects to see if it is the gcc empty string singleton before manipulating the reference count. This is done so that if such an exception is created with a zero-length string in libstdc++, libc++abi won't try to delete the memory. This is part of a ongoing process to make libc++ exceptions ABI-compatible with libstdc++-4.2 exceptions, to the point that each library can catch exceptions thrown by the other. If other parties would also like this behavior, the #if __APPLE__ can be broadened.
llvm-svn: 164170
Diffstat (limited to 'clang/lib/Sema/SemaOverload.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud