]> granicus.if.org Git - clang/commit
[ms-cxxabi] Mangle in an implicit 'E' for certain types on win64
authorReid Kleckner <reid@kleckner.net>
Tue, 14 May 2013 20:30:42 +0000 (20:30 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 14 May 2013 20:30:42 +0000 (20:30 +0000)
commitd6a08d16a0c8d98e2491f3ee012dbb46b64038f2
tree7f7993f47953800cee1da11171b4e39652bd88f2
parent173a4cc51a416a938885358b9592e629728e7407
[ms-cxxabi] Mangle in an implicit 'E' for certain types on win64

Most of the complexity of this patch is figuring out which types get the
qualifier and which don't.  If we implement __ptr32/64, then we should
check the qualifier instead of assuming all pointers are 64-bit.

This fixes PR13792.

Patch by Warren Hunt!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181825 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/MicrosoftMangle.cpp
lib/AST/RecordLayoutBuilder.cpp
test/CodeGenCXX/mangle-ms-arg-qualifiers.cpp
test/CodeGenCXX/mangle-ms-templates.cpp
test/CodeGenCXX/mangle-ms.cpp