Index: src/msan.h |
diff --git a/src/msan.h b/src/msan.h |
index c9be8643aebd81bcf375a98d2856b57d6bb58675..f099595e54f99775e81a0a62d29d4e6c6ad53e15 100644 |
--- a/src/msan.h |
+++ b/src/msan.h |
@@ -23,8 +23,11 @@ |
// Marks a memory range as uninitialized, as if it was allocated here. |
# define MSAN_ALLOCATED_UNINITIALIZED_MEMORY(p, s) \ |
__msan_allocated_memory((p), (s)) |
+// Marks a memory range as initialized. |
+#define MSAN_MEMORY_IS_INITIALIZED(p, s) __msan_unpoison((p), (s)) |
#else |
# define MSAN_ALLOCATED_UNINITIALIZED_MEMORY(p, s) |
+#define MSAN_MEMORY_IS_INITIALIZED(p, s) |
#endif |
#endif // V8_MSAN_H_ |