This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] Replace ifs with switch statement in IsHandledDeadlySignal
ClosedPublic

Authored by vitalybuka on May 12 2017, 6:07 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

vitalybuka created this revision.May 12 2017, 6:07 PM
eugenis accepted this revision.May 18 2017, 4:20 PM

LGTM

lib/sanitizer_common/sanitizer_mac.cc
397 ↗(On Diff #98862)

I think we normally don't do braces on single-line if statements. I'd move the comment one line up though.

This revision is now accepted and ready to land.May 18 2017, 4:20 PM
vitalybuka updated this revision to Diff 99508.May 18 2017, 4:26 PM

Moved comment

vitalybuka marked an inline comment as done.May 18 2017, 4:26 PM
This revision was automatically updated to reflect the committed changes.