]> granicus.if.org Git - clang/commit
[MS ABI] Improve our mangling of pass_object_size
authorDavid Majnemer <david.majnemer@gmail.com>
Wed, 30 Dec 2015 05:13:03 +0000 (05:13 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Wed, 30 Dec 2015 05:13:03 +0000 (05:13 +0000)
commitc8051623bfb6162b2004a9b7033e39faa24d6ef9
tree041015fd1465134f0f2368d1578757e9ad87ca6d
parent9559085cc9d1fce0685cdf325b46ae2d0c8dbb3e
[MS ABI] Improve our mangling of pass_object_size

We didn't add the artificial pass_object_size arguments to the
backreference map which bloated the size of manglings which involved
pass_object_size with duplicate types.

This lets us go from:
?qux@PassObjectSize@@YAHQAHW4__pass_object_size1@__clang@@0W4__pass_object_size1@3@@Z

to:
?qux@PassObjectSize@@YAHQAHW4__pass_object_size1@__clang@@01@Z

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