2

I use LLVM on windows and I wonder if there is a command line tool to demangle MSVC C++ mangling. I am talking about command line tool like llvm-cxxfilt.

I see some commits in LLVM, but not sure if those are exposed as some tool or it is just C++ API.

I tried looking for llvm-undname mentioned in those commits in my LLVM install folder, but found nothing.

NoSenseEtAl
  • 28,205
  • 28
  • 128
  • 277

2 Answers2

2

Visual Studio comes with a command line tool called undname.exe which will undecorate (demangle) the name.

q.v. https://learn.microsoft.com/en-us/cpp/build/reference/decorated-names?view=msvc-160

Eljay
  • 4,648
  • 3
  • 16
  • 27
0

Google shows me: https://reviews.llvm.org/D49552
as well as other useful links.

Add a Microsoft Demangler library and utility.

So this feature was added in July of 2018 to the LLVM project.

JDługosz
  • 5,592
  • 3
  • 24
  • 45