Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Unified Diff: runtime/vm/simulator_arm64.cc

Issue 2845053003: Fix asserts in StackFrameIterator which were effectively disabled (Closed)
Patch Set: remote two assertions which cannot be made Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/simulator_arm64.cc
diff --git a/runtime/vm/simulator_arm64.cc b/runtime/vm/simulator_arm64.cc
index 7df213e02746c900020f865f9984068586f4fb98..aa87c865cc5aed26e89ad3105f2bca47a65f7447 100644
--- a/runtime/vm/simulator_arm64.cc
+++ b/runtime/vm/simulator_arm64.cc
@@ -303,9 +303,9 @@ void SimulatorDebugger::PrintDartFrame(uword pc,
void SimulatorDebugger::PrintBacktrace() {
- StackFrameIterator frames(sim_->get_register(FP), sim_->get_register(SP),
- sim_->get_pc(),
- StackFrameIterator::kDontValidateFrames);
+ StackFrameIterator frames(
+ sim_->get_register(FP), sim_->get_register(SP), sim_->get_pc(),
+ StackFrameIterator::kDontValidateFrames, Thread::Current(), false);
StackFrame* frame = frames.NextFrame();
ASSERT(frame != NULL);
Function& function = Function::Handle();

Powered by Google App Engine
This is Rietveld 408576698