[PATCH] D70568: [Support] Possibly use exception handler in the Crash Recovery Context in the same way as global exceptions

Duncan P. N. Exon Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 3 16:37:55 PST 2019


dexonsmith added a comment.

In D70568#1768129 <https://reviews.llvm.org/D70568#1768129>, @dexonsmith wrote:

> Can we make this configurable somehow?  (E.g., leave behind an `-ffork-cc1` `-fno-fork-cc1` and a CMake flag to pick?  Or just the CMake flag?)


(I'm not sure we'd want to expose this on the driver command-line.  But making it just a CMake flag is awkward because then you can't run tests for both without configuring twice.  Another option that would keep both paths tested is to have an environment variable such asĀ `CLANG_FORK_CC1={0,1}`, with a CMake flag to pick the default behaviour.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70568





More information about the cfe-commits mailing list