HomePhabricator

[libcxxabi] Don't process exceptions in cxa_handlers when they're disabled

Authored by phosek on Jul 12 2019, 12:10 PM.

Description

[libcxxabi] Don't process exceptions in cxa_handlers when they're disabled

When exceptions are disabled, avoid their processing altogether.
This avoids pulling in the depenency on demangler significantly
reducing binary size when statically linking against libc++abi
built without exception support.

Differential Revision: https://reviews.llvm.org/D64191

llvm-svn: 365944