llvm-cxxfilt: support `-t` to demangle types
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 20 Jan 2017 04:25:26 +0000 (04:25 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 20 Jan 2017 04:25:26 +0000 (04:25 +0000)
commita63fd043fdb331a09c5195db5dd34260d01ac473
tree1cec81485ec4403288f82b8441e162cd707781b2
parent24553c5e55ecccf8c5269d544d21dbb1d4abda1b
llvm-cxxfilt: support `-t` to demangle types

By default c++filt demangles functions, though you can optionally pass
`-t` to have it decode types as well, behaving nearly identical to
`__cxa_demangle`.  Add support for this mode.

llvm-svn: 292576
llvm/test/tools/llvm-cxxfilt/types.test [new file with mode: 0644]
llvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp