[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)
commit228ccd675484038df21d68b8178bbd56a00be56a
tree778d3da34ec6afc513c02328e7988e3856ded850
parent3820506960e058b04078e8301404474164fb2628
[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

llvm-svn: 359345
clang/lib/CodeGen/ItaniumCXXABI.cpp
clang/test/CodeGenCXX/vtable-key-function-ios.cpp