Skip to content

Commit

Permalink
[demangler] Use an AST to represent demangled names
Browse files Browse the repository at this point in the history
The demangler now demangles by producing an AST, then traverses that
AST to produce a demangled name. This is done for performance reasons,
now the demangler doesn't manuiplate std::strings, which hurt
performance and caused string operations to be inlined into the
parser, leading to large code size and stack usage.

Differential revision: https://reviews.llvm.org/D35159

llvm-svn: 309340
  • Loading branch information
epilk committed Jul 28, 2017
1 parent fea50c2 commit 94d2ac7
Show file tree
Hide file tree
Showing 2 changed files with 1,986 additions and 930 deletions.
Loading

0 comments on commit 94d2ac7

Please sign in to comment.