[PATCH] D35085: Respect exitcode sanitizer option in UBSan

Richard Smith - zygoloid via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 9 06:14:28 PDT 2017


rsmith added a comment.

Sure, it makes sense for UBSan to behave like other sanitizers in this regard.



================
Comment at: lib/ubsan/ubsan_init.cc:44
   InitializeSuppressions();
+  Atexit(ReportFailure);
 }
----------------
Is this the right place to do this? If UBSan is hosted inside another sanitizer, does that sanitizer already set up such a callback?


https://reviews.llvm.org/D35085





More information about the llvm-commits mailing list