]> granicus.if.org Git - clang/commit
[MinGW] Always emit local typeinfo
authorMartin Storsjo <martin@martin.st>
Fri, 26 Apr 2019 19:31:51 +0000 (19:31 +0000)
committerMartin Storsjo <martin@martin.st>
Fri, 26 Apr 2019 19:31:51 +0000 (19:31 +0000)
commitcde9c9e3de199301f9b3e23b8eacebcd86ffe502
treec16e19b57071fc31c40c8a511bd7c8e46b28db8c
parent3bbed5ed96fe98ec1c57a7455c8e56378c29cbd6
[MinGW] Always emit local typeinfo

This makes sure that code built with headers for a statically linked
libc++ also works when linking to the DLL version, when the DLL
hasn't been built with --export-all-symbols.

This matches what GCC for MinGW does for this test case.

Differential Revision: https://reviews.llvm.org/D61177

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359345 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ItaniumCXXABI.cpp
test/CodeGenCXX/vtable-key-function-ios.cpp