This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] Add siginfo into SignalContext
ClosedPublic

Authored by vitalybuka on Sep 12 2017, 11:51 PM.

Event Timeline

vitalybuka created this revision.Sep 12 2017, 11:51 PM

undo unneeded change

alekseyshl added inline comments.Sep 13 2017, 10:59 AM
compiler-rt/lib/sanitizer_common/sanitizer_common.h
799

We never own or outlive those two pointers, right? Can you add a comment explaining that to the ctor?

808

Make it private.

828

Then let's call it GetType() or GetSignalType()

vitalybuka marked 2 inline comments as done.

rename and comment about ownership

vitalybuka added inline comments.Sep 13 2017, 11:10 AM
compiler-rt/lib/sanitizer_common/sanitizer_common.h
808

I'd like to replace static create with regular constructor, but in new patch. So I'd keep it as is for now.

alekseyshl accepted this revision.Sep 13 2017, 11:26 AM
This revision is now accepted and ready to land.Sep 13 2017, 11:26 AM
This revision was automatically updated to reflect the committed changes.