This is an archive of the discontinued LLVM Phabricator instance.

TestHandleSegv: also assert that we have a thread
ClosedPublic

Authored by emaste on May 29 2015, 7:56 AM.

Details

Summary

If get_stopped_thread(... eStopReasonSignal) returns no thread, the thread.IsValid assertion would throw AttributeError: 'NoneType' object has no attribute 'IsValid'.

Diff Detail

Repository
rL LLVM

Event Timeline

emaste updated this revision to Diff 26782.May 29 2015, 7:56 AM
emaste retitled this revision from to TestHandleSegv: also assert that we have a thread.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added a reviewer: labath.
emaste added a subscriber: Unknown Object (MLST).
labath accepted this revision.May 29 2015, 9:23 AM
labath edited edge metadata.

lgtm

This revision is now accepted and ready to land.May 29 2015, 9:23 AM
This revision was automatically updated to reflect the committed changes.