HomePhabricator

[compiler-rt] Build custom libc++abi without exceptions.

Description

[compiler-rt] Build custom libc++abi without exceptions.

Summary:
Since neither compiler-rt nor the libc++ we build use exceptions, we
don't need libc++abi to have them either.

This resolves an issue where libFuzzer's private libc++ contains
implementations for __cxa_throw and friends, causing fuzz targets built
with their own C++ library to segfault during exception unwinding.

See https://github.com/google/oss-fuzz/issues/2328.

Reviewers: phosek, EricWF, kcc

Reviewed By: phosek

Subscribers: kcc, dberris, mgorny, christof, llvm-commits, metzman

Tags: #llvm

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

Details

Committed
morehouseApr 25 2019, 11:14 AM
Reviewer
phosek
Differential Revision
D61053: [compiler-rt] Build custom libc++abi without exceptions.
Branches
Unknown
Tags
Unknown