emaste added a subscriber: emaste.
emaste added a comment.
> if (!Name.startswith("_Z"))
> return Name;
This one is needed, otherwise a symbol f would be demangled to float. We want only mangled symbol names (which start with `_Z`), not types etc.
http://reviews.llvm.org/D21930