This is an archive of the discontinued LLVM Phabricator instance.

Set correct ThreadStopInfo in case of trace event
ClosedPublic

Authored by abhishek.aggarwal on Jan 29 2016, 5:29 AM.

Details

Summary
  • The patch solves Bug 23478 and Bug 19311. Resolving Bug 23478 also resolves Bug 23039. Correct ThreadStopInfo is set for Linux and FreeBSD platforms.
  • Summary: When a trace event is reported, we need to check whether the trace event lands at a breakpoint site.

    If it lands at a breakpoint site then set the thread's StopInfo with the reason 'breakpoint'. Else, set the reason to be 'Trace'.

Change-Id: I0af9765e782fd74bc0cead41548486009f8abb87
Signed-off-by: Abhishek Aggarwal <abhishek.a.aggarwal@intel.com>

Diff Detail

Event Timeline

abhishek.aggarwal retitled this revision from to Set correct ThreadStopInfo in case of trace event.
abhishek.aggarwal updated this object.
clayborg accepted this revision.Jan 29 2016, 2:55 PM
clayborg edited edge metadata.

Looks good.

This revision is now accepted and ready to land.Jan 29 2016, 2:55 PM
ovyalov accepted this revision.Jan 29 2016, 4:58 PM
ovyalov edited edge metadata.

LGTM