[PATCH] D20677: Make it possible to build a -fno-exceptions libc++abi variant.

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Mon May 30 23:48:18 PDT 2016


EricWF added a comment.

In http://reviews.llvm.org/D20677#443997, @rmaprath wrote:

> Thanks Eric.
>
> I think I noted a few other `assert(true)` statements elsewhere (with similar application), will update those separately.
>
> Btw, do you use some systematic way to detect ABI breakages? I've only bumped into http://lvc.github.io/abi-compliance-checker/ but didn't go as far as setting it up.


Not really, the two primary ways I try to detect ABI breakage are using:

- the scripts under `libcxx/utils/sym_check/`. They provide a way to diff the symbols between two dylibs `sym_diff.py old-lib.so new-lib.so`.
- Compiling against an old library and swapping in a new library at runtime.

I also used libabigail for a while but it was a bit too noisy with false positives. It may be better now though.

> / Asiri





http://reviews.llvm.org/D20677





More information about the cfe-commits mailing list