This is an archive of the discontinued LLVM Phabricator instance.

Always transmit SIGPROF back to the inferior.
ClosedPublic

Authored by sas on Oct 23 2014, 6:55 PM.

Details

Summary

SIGPROF is used for profiling processes (with google-perftools for
instance), which results in the inferior receiving a SIGPROF from the
kernel every few milliseconds. Instead of stopping the debugging session
and notifying the user of this, we should just pass the signal and keep
running.

This follows the behavior we have in UnixSignals.cpp.

Diff Detail

Repository
rL LLVM

Event Timeline

sas updated this revision to Diff 15372.Oct 23 2014, 6:55 PM
sas retitled this revision from to Always transmit SIGPROF back to the inferior..
sas updated this object.
sas edited the test plan for this revision. (Show Details)
sas added a subscriber: Unknown Object (MLST).
clayborg accepted this revision.Oct 27 2014, 2:35 PM
clayborg edited edge metadata.

Looks good.

This revision is now accepted and ready to land.Oct 27 2014, 2:35 PM
sas closed this revision.Oct 31 2014, 3:48 PM
sas updated this revision to Diff 15657.

Closed by commit rL221011 (authored by @sas).