In the comments I noted many cases that weren’t handled, I wonder if it was one of those<br><div class="gmail_quote"><div dir="ltr">On Tue, Jan 30, 2018 at 5:42 PM Peter Collingbourne via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">pcc added a comment.<br>
Herald added a subscriber: hintonda.<br>
<br>
I've been using <a href="https://github.com/rui314/msvc-demangler" rel="noreferrer" target="_blank">https://github.com/rui314/msvc-demangler</a> which I understand is basically the same code as this.<br>
<br>
Here are a few names which it was unable to demangle:<br>
<br>
  $ undname '??1B@@UAE@XZ'<br>
  E expected, but got AE@XZ<br>
  $ undname '?foo@B@@UAEXXZ'<br>
  E expected, but got AEXXZ<br>
  $ undname '?foo@B@@$4PPPPPPPM@A@AEXXZ'<br>
  unknown func class: $4PPPPPPPM@A@AEXXZ<br>
<br>
They were all derived from the IR from the clang test case `clang/test/CodeGenCXX/microsoft-abi-virtual-inheritance.cpp`.<br>
<br>
<br>
<a href="https://reviews.llvm.org/D34667" rel="noreferrer" target="_blank">https://reviews.llvm.org/D34667</a><br>
<br>
<br>
<br>
</blockquote></div>