Index: third_party/mesa/MesaLib/src/mesa/program/ir_to_mesa.cpp |
=================================================================== |
--- third_party/mesa/MesaLib/src/mesa/program/ir_to_mesa.cpp (revision 148930) |
+++ third_party/mesa/MesaLib/src/mesa/program/ir_to_mesa.cpp (working copy) |
@@ -56,6 +56,11 @@ |
#include "program/prog_parameter.h" |
} |
+#if defined(ADDRESS_SANITIZER) |
+// Suppress AddressSanitizer reports about OOB reads in swizzle_for_size(). |
+// See also http://crbug.com/139772. |
+__attribute__((no_address_safety_analysis)) |
+#endif |
static int swizzle_for_size(int size); |
/** |