[Lldb-commits] [PATCH] D67776: Use UnixSignals::ShouldSuppress to filter out signals a process expects

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 23 14:50:01 PDT 2019


jingham added a comment.

Pavel's example shows why these two choices might be better separated.  If you are using __builtin_trap to implement a stop when in the debugger  of some sort, it seems likely you would want to suppress the signal, but it also seems likely that when you are running in batch mode, you would want the batch mode run to return control to the user at this point.  batch mode is really so you can run some scenario in a loop, looking for something odd to happen.  These debug breaks are probably a signal of that "something odd"...


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