llvm-project/libcxxabi
Louis Dionne 58f32435e8 [libc++abi] Add a rate limiter when logging dynamic_cast errors
This upstreams a fix that Howard made a long time ago, where so many
errors would be logged that applications were becoming sluggish. With
this patch, the first three errors will be printed, and after that the
printing frequency decreases exponentially.

_LIBCXX_DYNAMIC_FALLBACK is only enabled on Apple platforms, so this
should be NFC for other platforms.

rdar://14996273

Differential Revision: https://reviews.llvm.org/D78330
2020-04-21 15:27:33 -04:00
..
cmake [libcxx{,abi}] Don't link libpthread and libdl on Fuchsia 2019-12-06 11:15:15 -08:00
fuzz add cxa_demangle_fuzzer 2016-12-28 03:28:29 +00:00
include Revert "[libc++abi] Change __cxa_finalize return type to void" 2020-03-10 18:11:58 -04:00
lib [libc++] Fix the no-exceptions build of libc++ on Apple 2020-04-20 10:45:14 -04:00
src [libc++abi] Add a rate limiter when logging dynamic_cast errors 2020-04-21 15:27:33 -04:00
test [libc++abi] NFC: Remove trailing whitespace 2020-04-17 10:07:18 -04:00
www [www] Change URLs to HTTPS. 2019-10-24 13:25:15 -07:00
.clang-format Fully Reformat fallback_malloc.cpp 2017-03-04 03:23:15 +00:00
.gitignore
CMakeLists.txt [libc++abi] NFC: Add link to review in workaround comment 2020-04-02 13:20:23 -04:00
CREDITS.TXT Try again, this time with the correct address 2017-12-29 19:26:28 +00:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00