[PATCH] D35085: Respect exitcode sanitizer option in UBSan

Francis Ricci via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 12 12:47:24 PDT 2017


fjricci added a comment.

Hmmm, it actually appears that even TSan doesn't successfully intercept _exit on Linux, only on Darwin (a CHECK(0) statement in OnExit() is never reached on Linux). If we can't successfully intercept _exit, and we can't exit from atexit, I'm not sure that there's a good way to do this.


https://reviews.llvm.org/D35085





More information about the llvm-commits mailing list