[PATCH] D33161: [compiler-rt] Replace "bool IsHandledDeadlySignal" with "int GetHandleDeadlySignal"
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 15 14:10:50 PDT 2017
eugenis added inline comments.
================
Comment at: lib/sanitizer_common/sanitizer_linux.cc:1397
-bool IsHandledDeadlySignal(int signum) {
+int GetHandleDeadlySignal(int signum) {
switch (signum) {
----------------
If you insist on a tri-state flag, this must be an enum.
With validation in the flag parser (in the other CL).
https://reviews.llvm.org/D33161
More information about the llvm-commits
mailing list