This is an archive of the discontinued LLVM Phabricator instance.

Fix segfault when doing `thread info` on a thread without stop info.
ClosedPublic

Authored by chaoren on Apr 8 2015, 2:12 PM.

Details

Summary

E.g., if thread 1 hits a breakpoint, then a thread info on thread 2 will cause
a segfault, since thread 2 will have no stop info (intended behavior?).

Diff Detail

Repository
rL LLVM

Event Timeline

chaoren updated this revision to Diff 23441.Apr 8 2015, 2:12 PM
chaoren retitled this revision from to Fix segfault when doing `thread info` on a thread without stop info..
chaoren updated this object.
chaoren edited the test plan for this revision. (Show Details)
chaoren added reviewers: kubamracek, clayborg.
chaoren added a subscriber: Unknown Object (MLST).
clayborg accepted this revision.Apr 8 2015, 2:17 PM
clayborg edited edge metadata.

Looks good.

This revision is now accepted and ready to land.Apr 8 2015, 2:17 PM
This revision was automatically updated to reflect the committed changes.