[cfe-commits] [PATCH] Constructor and Destructor mangling, along with improved Calling Convention handling for Windows.

Ricky Taylor rickytaylor26 at gmail.com
Thu Jan 20 21:12:28 PST 2011


I've created a patch for clang, that addresses some issues with the
Microsoft ABI:

- Constructors and Destructors are now mangled correctly
- 'Repeated Namespaces' are mangled correctly
- The correct default calling convention is used for class/struct methods
- __declspec syntax is now used, (and presumably the GCC equivalent).
- Attributes are passed down the chain correctly, (they were not being
copied into the Declarator).

The patch is attached below,

-- Ricky Taylor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110121/0701cea9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MSVCCallingConvCTorsDTors.patch
Type: application/octet-stream
Size: 8717 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110121/0701cea9/attachment.obj>

More information about the cfe-commits mailing list