[cfe-dev] Choosing the unwinder / C++ low-level libraries in Clang
Jonathan Roelofs
jonathan at codesourcery.com
Thu Jul 23 09:48:23 PDT 2015
On 7/23/15 10:04 AM, David Chisnall wrote:
> On 23 Jul 2015, at 16:26, Renato Golin <renato.golin at linaro.org> wrote:
>>> The Compiler-RT repository does include an unwinder, so perhaps this should be built as libcompilerrt_eh.so for platforms that want to use -rtlib=compilerrt?
>>
>> No, the unwinder is long gone to its own repository, because of a
>> cross-dependency with libc++abi.
>
> I thought the unwinder only used C++ features that didn’t depend on the C++ runtime library (no exceptions, no RTTI) and only depended on some header-only things from elsewhere?
It does, but that wasn't the only layering violation. EHABI introduces a
dependency in the wrong direction for some kinds of catch descriptors:
https://github.com/llvm-mirror/libunwind/blob/master/src/Unwind-EHABI.cpp#L142
Jon
>
> David
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
--
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded
More information about the cfe-dev
mailing list