JDevlieghere added a comment.

I think Raphael is referring to the LLVM's `PrettyStackTrace` which prints a 
backtrace when you crash. Other than the driver I don't think we enable that in 
LLDB, so maybe LLVM was registering them by default if you had no signal 
handler installed?

By default the LLVM signal handlers  propagate the signal once they're done 
with it, so I see no reason why we couldn't have both. I think it should work 
if we ensure libLLDB calls `llvm::EnablePrettyStackTrace()`, but if we go that 
route the behavior should be opt in, libraries shouldn't be setting signal 
handlers by default.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87637/new/

https://reviews.llvm.org/D87637

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to