[PATCH] D34667: [Demangler] [DO NOT SUBMIT] Initial patch for Microsoft demangler.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 30 17:42:07 PST 2018


pcc added a comment.
Herald added a subscriber: hintonda.

I've been using https://github.com/rui314/msvc-demangler which I understand is basically the same code as this.

Here are a few names which it was unable to demangle:

  $ undname '??1B@@UAE at XZ'
  E expected, but got AE at XZ
  $ undname '?foo at B@@UAEXXZ'
  E expected, but got AEXXZ
  $ undname '?foo at B@@$4PPPPPPPM at A@AEXXZ'
  unknown func class: $4PPPPPPPM at A@AEXXZ

They were all derived from the IR from the clang test case `clang/test/CodeGenCXX/microsoft-abi-virtual-inheritance.cpp`.


https://reviews.llvm.org/D34667





More information about the llvm-commits mailing list