Index: runtime/vm/native_arguments.h |
diff --git a/runtime/vm/native_arguments.h b/runtime/vm/native_arguments.h |
index 77c67edad888c2e53d57f6db124657556be2f01a..431692602eca19a4a1f45ca0987a869c9834bd5e 100644 |
--- a/runtime/vm/native_arguments.h |
+++ b/runtime/vm/native_arguments.h |
@@ -142,6 +142,8 @@ class NativeArguments { |
} |
RawObject* ReturnValue() const { |
+ // Tell MemorySanitizer the retval_ was initialized (by generated code). |
+ MSAN_UNPOISON(retval_, kWordSize); |
return *retval_; |
} |