[PATCH] D67301: [LLD] Use the unified llvm demangle frontend function. NFC.

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 12 12:45:04 PDT 2019


mstorsjo added a comment.

In D67301#1665612 <https://reviews.llvm.org/D67301#1665612>, @MaskRay wrote:

> In D67301#1665171 <https://reviews.llvm.org/D67301#1665171>, @rnk wrote:
>
> > In D67301#1664700 <https://reviews.llvm.org/D67301#1664700>, @MaskRay wrote:
> >
> > > I hope at least for ELF, you can keep the `"_Z"` prefix check. It doesn't need the ObjC `"___Z"` extension.
> >
> >
> > Are you sure? Surely users could use `-fblocks` to get those manglings, or use ObjC on Linux.
>
>
> We haven't even heard people complaining about lack of demangling of `__Z`, `___Z` or `___Z` prefixed names. I still lean towards keeping the `"_Z"` check for ELF to avoid false positive.


@rnk - do you want to follow up on this further, or should we move forward with this in this form (which is pretty much NFC now).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67301/new/

https://reviews.llvm.org/D67301





More information about the llvm-commits mailing list