[NFC][llvm-xray] add a llvm-xray convert option `no-demangle`
authorXu Mingjie <xumingjie.enna1@bytedance.com>
Wed, 18 Aug 2021 04:17:09 +0000 (12:17 +0800)
committerwangliushuai <wangliushuai@bytedance.com>
Wed, 18 Aug 2021 04:22:04 +0000 (12:22 +0800)
commit168ee727186b56c68a164de19fdcdd6d8a89fa2d
tree1a9e4c6dbac272bb1e640516365a3b347fe597dc
parent3f4d00bc3b514d3218089fce15457457fc3312c3
[NFC][llvm-xray] add a llvm-xray convert option `no-demangle`

When option `--symbolize` is true, llvm-xray convert will demangle function
name on default. This patch adds a llvm-xray convert option `no-demangle` to
determine whether to demangle function name when symbolizing function ids from
the input log.

Reviewed By: MaskRay, smeenai

Differential Revision: https://reviews.llvm.org/D108019
llvm/test/tools/llvm-xray/X86/convert-with-debug-syms.txt
llvm/tools/llvm-xray/xray-converter.cpp