This is an archive of the discontinued LLVM Phabricator instance.

Add real time signals support to FreeBSDSignals
ClosedPublic

Authored by emaste on May 26 2015, 12:46 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

emaste updated this revision to Diff 26529.May 26 2015, 12:46 PM
emaste retitled this revision from to Add real time signals support to FreeBSDSignals.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: sivachandra, labath.
emaste added a subscriber: Unknown Object (MLST).May 26 2015, 12:47 PM
labath accepted this revision.May 27 2015, 2:04 AM
labath edited edge metadata.

LGTM. I am a bit worried about the hole between SIGLIBRT and SIGRTMIN, but I don't know enough about FreeBSD to tell if that's a problem. If I were you, I would check if there is a way to generate signals numbered 34..64, even if they don't have symbolic names (e.g., what will raise(34) do?). LLDB seems to eat signals which are not in this list, so I would add those numbers with made up signal names if there is any chance they can be generated by an application.

This revision is now accepted and ready to land.May 27 2015, 2:04 AM
This revision was automatically updated to reflect the committed changes.

LGTM. I am a bit worried about the hole between SIGLIBRT and SIGRTMIN, but I don't know enough about FreeBSD to tell if that's a problem. If I were you, I would check if there is a way to generate signals numbered 34..64, even if they don't have symbolic names (e.g., what will raise(34) do?). LLDB seems to eat signals which are not in this list, so I would add those numbers with made up signal names if there is any chance they can be generated by an application.

Good point, I'll take care of this in a subsequent commit, after looking into why we ended up with the hole.