This is an archive of the discontinued LLVM Phabricator instance.

[LLDB] Initialize "ThreadPlanTracer::m_thread" to avoid undefined behavior
Needs ReviewPublic

Authored by vangelists on Apr 30 2020, 6:59 AM.

Details

Reviewers
jingham
Summary

The m_thread field of ThreadPlanTracer is not initialized by the constructor leading to undefined behavior in ThreadPlanTracer::GetThread().

Diff Detail