[PATCH] D49639: [MS Demangler] Demangle pointers to member functions

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 26 13:11:49 PDT 2018


zturner updated this revision to Diff 157555.
zturner added a comment.

Mangled Name: `int __cdecl (* __cdecl (B::*volatile memptrtofun7)(void))(void)`
Previous Undecoration: `int __cdecl (*)(void) __cdecl (B::*volatile memptrtofun7)(void)`
New Undecoration: `int __cdecl (* __cdecl (B::*volatile memptrtofun7)(void))(void)`

Note that the calling convention is in the wrong place, but as mentioned in the comments, I will address this in a followup.  I already have the patch that does it, but it requires some more functional changes that I think should be separate since it also affects non-member function pointers, and this patch is specifically about member function pointers.


https://reviews.llvm.org/D49639

Files:
  llvm/lib/Demangle/MicrosoftDemangle.cpp
  llvm/lib/Demangle/StringView.h
  llvm/test/Demangle/ms-basic.test
  llvm/test/Demangle/ms-mangle.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49639.157555.patch
Type: text/x-patch
Size: 15490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180726/faf3884b/attachment.bin>


More information about the llvm-commits mailing list