]> granicus.if.org Git - clang/commit
Mangle Objective-C pointers and block pointers in the Microsoft C++ Mangler.
authorCharles Davis <cdavis@mines.edu>
Sat, 3 Jul 2010 16:56:59 +0000 (16:56 +0000)
committerCharles Davis <cdavis@mines.edu>
Sat, 3 Jul 2010 16:56:59 +0000 (16:56 +0000)
commit4d254836f4a6a03fb3c77d0636c3cb5475540eb0
tree52e2f74cfb6d1a78902a48f7fa62bfe5ea7a3290
parentc7d209fb2442a63d328a25e1036b4726b0c4a49d
Mangle Objective-C pointers and block pointers in the Microsoft C++ Mangler.

ObjC pointers were easy enough (as far as the ABI is concerned, they're
just pointers to structs), but I had to invent a new mangling for block
pointers. This is particularly worrying with the Microsoft ABI, because
it is a vendor-specific ABI; extending it could come back to bite us
later when MS extends it on their own (and you know they will).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107572 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MicrosoftCXXABI.cpp
test/CodeGenCXX/mangle-ms.cpp