Index: base/compiler_specific.h |
diff --git a/base/compiler_specific.h b/base/compiler_specific.h |
index 5d7d9d11019bd22bc0a9c9e28f06ccb036566a5e..7a3d9f44b7dd219270e132867e87fdb2006ed1d2 100644 |
--- a/base/compiler_specific.h |
+++ b/base/compiler_specific.h |
@@ -166,4 +166,14 @@ |
// If available, it would look like: |
// __attribute__((format(wprintf, format_param, dots_param))) |
+#ifdef MEMORY_SANITIZER |
Alexander Potapenko
2013/03/20 11:19:43
Please add comments describing what shall into thi
|
+extern "C" { |
+ void __msan_unpoison(const void *p, unsigned long s); |
+ void __msan_print_shadow(const void *p, unsigned long s); |
+} |
+#else // MEMORY_SANITIZER |
+#define __msan_unpoison(p, s) |
+#define __msan_print_shadow(p, s) |
+#endif // MEMORY_SANITIZER |
+ |
#endif // BASE_COMPILER_SPECIFIC_H_ |