[PATCH] [UBSAN] Suppress an error report with given type information

Alexey Samsonov vonosmas at gmail.com
Wed Jul 30 15:02:55 PDT 2014


================
Comment at: lib/ubsan/ubsan_diag.cc:314
@@ +313,3 @@
+
+  ALIGNED(64) static char placeholder[sizeof(SuppressionContext)];
+  suppression_ctx = new(placeholder) SuppressionContext;
----------------
Alexey Samsonov wrote:
> No, I believe we must first move the code for initializing suppression context into sanitizer_common and make "suppressions" a common runtime flag. I will work on it soon. I've submitted the first patch for that in r214334.
I think this should be done as of r214344.

http://reviews.llvm.org/D4702






More information about the llvm-commits mailing list