[PATCH] D67847: [Support] make report_fatal_error `abort` instead of `exit`

James Y Knight via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 2 12:32:25 PDT 2019


jyknight added a comment.

The `abort()` function raises SIGABRT, for which the default behavior is to trigger a coredump. Do we actually want that behavior?

Either `_exit()` (long available extension, which lld already uses) or `quick_exit()` (the new C standard way) seem possibly preferable?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D67847





More information about the cfe-commits mailing list