[Lldb-commits] [PATCH] D67776: Use UnixSignals::ShouldSuppress to filter out signals a process expects
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 20 09:15:45 PDT 2019
JDevlieghere added a comment.
+1 on a test case. Other than that this seems like a good improvement to the way we filter stop reasons.
================
Comment at: source/Interpreter/CommandInterpreter.cpp:2164
+ StopReason reason = stop_info->GetStopReason();
+ if (eStopReasonException == reason || eStopReasonInstrumentation == reason)
+ return true;
----------------
I'm curious why you swapped the two operands. Is there a benefit in `eStopReasonException == reason` compared to `reason == eStopReasonException`?
Repository:
rLLDB LLDB
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67776/new/
https://reviews.llvm.org/D67776
More information about the lldb-commits
mailing list