[PATCH] D119009: [Support] Ensure handlers are set up before printing the stacktrace

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 7 11:24:18 PST 2022


labath added a comment.

I don't think this is a good idea. I'm very much against libraries randomly installing signal handlers, and I think that is the reason this function is called from the main program in lldb (and elsewhere in llvm afaik). If there's no way to get a backtrace without this on windows, then it'd be better to disable the lldbassert functionality there.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119009



More information about the llvm-commits mailing list