[llvm-dev] RFC: Cleaning up the Itanium demangler

Joerg Sonnenberger via llvm-dev llvm-dev at lists.llvm.org
Thu Jun 22 07:50:42 PDT 2017


On Wed, Jun 21, 2017 at 04:42:40PM -0700, Erik Pilkington via llvm-dev wrote:
> I've been working on fixing this by parsing first into an AST structure, and
> then traversing that AST to produce a demangled string. This provides a
> significant performance improvement and also make the demangler somewhat
> more clean.

How does it far in terms of code size? One of the big problems with the
libcxxabi demangler is its size. It's at least twice as large as the one
in elftoolchain, even ignoring some possible feature differences.

Joerg


More information about the llvm-dev mailing list