[msan] A runtime call to support custom allocators.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173687 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/sanitizer/msan_interface.h b/include/sanitizer/msan_interface.h
index 1a76dd6..601dba1 100644
--- a/include/sanitizer/msan_interface.h
+++ b/include/sanitizer/msan_interface.h
@@ -117,6 +117,11 @@
 SANITIZER_INTERFACE_ATTRIBUTE
 void __msan_partial_poison(void* data, void* shadow, uptr size);
 
+// Tell MSan about newly allocated memory (ex.: custom allocator).
+// Memory will be marked uninitialized, with origin at the call site.
+SANITIZER_INTERFACE_ATTRIBUTE
+void __msan_allocated_memory(void* data, uptr size);
+
 #ifdef __cplusplus
 }  // extern "C"
 #endif