[cfe-dev] libc++abi on linux

Joerg Sonnenberger joerg at britannica.bec.de
Thu Jul 12 04:35:48 PDT 2012


On Thu, Jul 12, 2012 at 05:48:32PM +0800, Ben Pope wrote:
> Can somebody explain to me the pieces of this puzzle?  There are a bunch 
> of pieces on llvm.org, do they even belong to the same puzzle?
> libc++
> libc++abi
> compiler-rt
> The missing piece is libunwind?

libc++ ~ libstdc++ minus libsupc++
libc++abi (or libcxxrt for that matter) ~ libsupc++
compiler-rt + libunwind ~ libgcc_s

For an integrated stack, some libunwind implementation is missing. HP's
implementation or the Pathscale fork is usable on Linux, but leaves a
number of things to desire. libgcc_s has an implementation under GPL +
GCC exception. Apple has its own implementation under Apache 2 License.
In terms of (mis)abstractions, the Apple code seems to be the nicest,
but lacks ELF support (naturally).

Joerg



More information about the cfe-dev mailing list