This adds an additional cli flag for the llvm-xray extract tool. This is useful if you're more interested in consuming the mangled symbol name, instead of the default now which is demangled.
Test Plan: ninja check-llvm
Differential D72804
[xray] add --symbolize-mangled cli opt for llvm-xray extract to output mangled names johnislarry on Jan 15 2020, 1:01 PM. Authored by
Details This adds an additional cli flag for the llvm-xray extract tool. This is useful if you're more interested in consuming the mangled symbol name, instead of the default now which is demangled. Test Plan: ninja check-llvm
Diff Detail
Event TimelineComment Actions The usual "naming of things" - are there flags with similar functionality in other tools (like llvm-symbolizer) that might provide inspiration for consistent naming here (perhaps the name you've chosen already was inspired by that)?
Comment Actions Thanks @dblaikie - I fixed the curly braces, and decided to go with --no-demangle, which llvm-symbolizer happens to use, and which seems more standard Comment Actions Thanks @dblaikie! I don't have commit access so I believe that means I can't commit this directly. I'd appreciate it if you or anyone else could do that on my behalf! |
Usually LLVM code skips {} on single statement blocks.