Index: runtime/vm/native_entry.cc |
=================================================================== |
--- runtime/vm/native_entry.cc (revision 42458) |
+++ runtime/vm/native_entry.cc (working copy) |
@@ -86,6 +86,8 @@ |
CHECK_STACK_ALIGNMENT; |
VERIFY_ON_TRANSITION; |
NativeArguments* arguments = reinterpret_cast<NativeArguments*>(args); |
+ /* Tell MemorySanitizer 'arguments' is initialized by generated code. */ |
+ MSAN_UNPOISON(arguments, sizeof(*arguments)); |
Isolate* isolate = arguments->isolate(); |
ApiState* state = isolate->api_state(); |