forked from OSchip/llvm-project
00a1007545
Override __cxa_atexit and ignore callbacks. This prevents crashes in a configuration when the symbolizer is built into sanitizer runtime and consequently into the test process. LLVM libraries have some global objects destroyed during exit, so if the test process triggers any bugs after that, the symbolizer crashes. An example stack trace of such crash: For the standalone llvm-symbolizer this does not hurt, we just don't destroy few global objects on exit. Reviewed By: kda Differential Revision: https://reviews.llvm.org/D102470 |
||
---|---|---|
.. | ||
scripts | ||
sanitizer_symbolize.cpp | ||
sanitizer_wrappers.cpp |