Fix MSAN build after r34571
Review URL: https://codereview.chromium.org/1776593002 Cr-Commit-Position: refs/heads/master@{#34576}
This commit is contained in:
parent
998a6e5b92
commit
773c44f4b6
@ -417,6 +417,11 @@ StackFrame::Type StackFrame::ComputeType(const StackFrameIteratorBase* iterator,
|
||||
State* state) {
|
||||
DCHECK(state->fp != NULL);
|
||||
|
||||
#if defined(USE_SIMULATOR)
|
||||
MSAN_MEMORY_IS_INITIALIZED(
|
||||
state->fp + CommonFrameConstants::kContextOrFrameTypeOffset,
|
||||
kPointerSize);
|
||||
#endif
|
||||
Object* marker = Memory::Object_at(
|
||||
state->fp + CommonFrameConstants::kContextOrFrameTypeOffset);
|
||||
if (!iterator->can_access_heap_objects_) {
|
||||
@ -427,9 +432,7 @@ StackFrame::Type StackFrame::ComputeType(const StackFrameIteratorBase* iterator,
|
||||
// reliable.
|
||||
#if defined(USE_SIMULATOR)
|
||||
MSAN_MEMORY_IS_INITIALIZED(
|
||||
state->fp + StandardFrameConstants::kContextOffset, kPointerSize);
|
||||
MSAN_MEMORY_IS_INITIALIZED(
|
||||
state->fp + StandardFrameConstants::kMarkerOffset, kPointerSize);
|
||||
state->fp + StandardFrameConstants::kFunctionOffset, kPointerSize);
|
||||
#endif
|
||||
Object* maybe_function =
|
||||
Memory::Object_at(state->fp + StandardFrameConstants::kFunctionOffset);
|
||||
|
Loading…
Reference in New Issue
Block a user