[PATCH] D33960: ErrorHandling: report_fatal_error: call abort() instead of exit()

Andrew Trick via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 7 17:14:49 PDT 2017


atrick added a comment.

Note that you can get the stack trace just call RunSignalHandlers before calling exit(1)...

But, I wholeheartedly agree with Chandler's evaluation. exit() makes no sense for a library error. Announce it to the community and fix the behavior.


Repository:
  rL LLVM

https://reviews.llvm.org/D33960





More information about the llvm-commits mailing list