[Patch] Break the Demangle -> Support dependency

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 6 13:29:16 PDT 2016


On Tue, Sep 6, 2016 at 1:23 PM, Rafael EspĂ­ndola via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> On 6 September 2016 at 16:18, Reid Kleckner <rnk at google.com> wrote:
> > Do we intend to make this demangler asynch signal safe, i.e. not call
> malloc
> > at all? If so, I vote keep the custom allocator. If not, I'd say nuke it.
>
> Is that a requirement for the demangler in libcxxabi?


No.  In fact, it cannot be with the API it implements because you can ask
it to allocate memory via malloc.


> Note that as it
> is right now I think we would still call malloc in some cases (both
> mallloc_alloc and arena::allocate).
>
> Cheers,
> Rafael
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160906/64a5e33a/attachment.html>


More information about the llvm-commits mailing list