]> granicus.if.org Git - clang/commit
type_info objects are not unnamed_addr: the ABI requires us to
authorJohn McCall <rjmccall@apple.com>
Sat, 8 Feb 2014 03:26:05 +0000 (03:26 +0000)
committerJohn McCall <rjmccall@apple.com>
Sat, 8 Feb 2014 03:26:05 +0000 (03:26 +0000)
commitc174fe5f125f749eaf5ea7cc41f3cbf049bc5ada
tree9d086cbc77218e1c495517c49852eeedfe230477
parentda8b957aca16ce42731cc3e7d16abc63d8b77b95
type_info objects are not unnamed_addr: the ABI requires us to
unique them and permits the implementation of dynamic_cast (and
anything else which knows it's working with a complete class
type) to compare their addresses directly.

rdar://16005328

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201020 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
lib/CodeGen/CGRTTI.cpp
test/CodeGenCXX/exceptions-no-rtti.cpp
test/CodeGenCXX/rtti-fundamental.cpp
test/CodeGenCXX/rtti-linkage.cpp
test/CodeGenCXX/rtti-visibility.cpp
test/CodeGenCXX/type_visibility.cpp
test/CodeGenCXX/virt-dtor-key.cpp
test/CodeGenCXX/visibility-ms-compat.cpp
test/CodeGenCXX/vtable-available-externally.cpp
test/CodeGenCXX/vtable-key-function-arm.cpp
test/CodeGenCXX/vtable-key-function-ios.cpp
test/CodeGenCXX/vtable-linkage.cpp
test/CodeGenCXX/weak-extern-typeinfo.cpp
test/CodeGenObjCXX/rtti.mm
test/SemaCXX/typeid-ref.cpp