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)
commit999cbf9d210c23e0311c1d31a89afb2018bc73fe
tree2bebc76cc48dbea956aeadb746fdcb91dc7be501
parentec1e2bb6a495e87fc59226b5c00fcf8d1b139919
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.

llvm-svn: 231819
clang/include/clang/AST/Mangle.h
clang/lib/AST/MicrosoftMangle.cpp
clang/lib/CodeGen/MicrosoftCXXABI.cpp
clang/test/CodeGenCXX/microsoft-abi-throw.cpp