]> granicus.if.org Git - clang/commit
MS ABI: Mangle the location of the catchable type into it's name
authorDavid Majnemer <david.majnemer@gmail.com>
Tue, 10 Mar 2015 19:01:51 +0000 (19:01 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Tue, 10 Mar 2015 19:01:51 +0000 (19:01 +0000)
commit88ffddb75a48bef12d0b00d1bf389f3c3843fe73
tree26da7533fc2c04fdd010c755f0cd4bf57322c237
parente9bbc1a72beb9b894302b20d9f8dbe8c9636ec1a
MS ABI: Mangle the location of the catchable type into it's name

Because the catchable type has a reference to its name, mangle the
location to ensure that two catchable types with different locations are
distinct.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@231819 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Mangle.h
lib/AST/MicrosoftMangle.cpp
lib/CodeGen/MicrosoftCXXABI.cpp
test/CodeGenCXX/microsoft-abi-throw.cpp