[cfe-commits] [PATCH] Grab bag of Microsoft C++ ABI Mangler fixes

Charles Davis cdavis at mymail.mines.edu
Sat Jun 9 14:41:01 PDT 2012


This is a grab bag of various fixes to the VC++ name mangler.

- The mangler is now capable of mangling the names of virtual function tables--but not virtual base tables. That needs a serious refactoring of the ManglerContext's interface.
- Local names are now mangled correctly--complete with anonymous numbered scopes. I needed this to make the virtual table test case--which I copied from the Itanium ABI test cases--work.
- Instead of throwing an llvm_unreachable(), unimplemented cases now raise a compiler error. (This was the hardest part, since I needed source locations to give to the DiagnosticsEngine.

This is a big patch, so I wanted to run it past the list before I commit. OK to commit?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ms-mangle-grab-bag.diff
Type: application/octet-stream
Size: 41934 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120609/93ebebaf/attachment.obj>

More information about the cfe-commits mailing list