[Lldb-commits] [PATCH] D87637: [lldb/test] Enable faulthandler in dotest

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 13 16:05:04 PST 2020


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



More information about the lldb-commits mailing list