[PATCH] D49139: [OptRemark] Demangle symbols when emitting remarks

Hal Finkel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 10 10:12:12 PDT 2018


hfinkel added a comment.

I specifically didn't want to do this for the YAML output. The tool consuming the YAML should demangle if it wants. It's hard to go backward, and so if the tool needs to map back to symbols in the program, it needs the mangled name. That having been said:

1. I'm happy to demangle in textual output from the command-line tools (although we should probably print both the mangled and demangled name).
2. I'm happy to include both the mangled and demangled name in the YAML.


https://reviews.llvm.org/D49139





More information about the llvm-commits mailing list