llvm-project/clang/lib
Martin Storsjo 4790194b19 [MinGW] Produce a vtable and RTTI for dllexported classes without a key function
This matches what GCC does in these situations.

This fixes compiling Qt in debug mode. In release mode, references to
the vtable of this particular class ends up optimized away, but in debug
mode, the compiler creates references to the vtable, which is expected
to be dllexported from a different DLL. Make sure the dllexported
version actually ends up emitted.

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

llvm-svn: 349256
2018-12-15 08:08:11 +00:00
..
ARCMigrate Misc typos fixes in ./lib folder 2018-12-10 12:37:46 +00:00
AST Mangle calling conventions into function pointer types where GCC does 2018-12-14 23:42:59 +00:00
ASTMatchers [clang] Add AST matcher for block expressions 🔍 2018-12-13 03:35:10 +00:00
Analysis Change CallGraph print to show the fully qualified name 2018-12-12 18:11:36 +00:00
Basic Basic: make `int_least64_t` and `int_fast64_t` match on Darwin 2018-12-12 17:05:20 +00:00
CodeGen [Clang] Add __builtin_launder 2018-12-14 21:11:28 +00:00
CrossTU Fix up diagnostics. 2018-12-14 03:35:10 +00:00
Driver Implement -frecord-command-line (-frecord-gcc-switches) 2018-12-14 15:38:15 +00:00
Edit [Fixed Point Arithmetic] Fixed Point to Boolean Cast 2018-10-23 17:55:35 +00:00
Format [clang-format] Do not treat asm clobber [ as ObjCExpr, refined 2018-11-22 14:49:55 +00:00
Frontend Implement -frecord-command-line (-frecord-gcc-switches) 2018-12-14 15:38:15 +00:00
FrontendTool PTH-- Remove feature entirely- 2018-12-04 14:34:09 +00:00
Headers [Builltins][X86] Provide implementations of __lzcnt16, __lzcnt, __lzcnt64 for MS compatibility. Remove declarations from intrin.h and implementations from lzcntintrin.h 2018-12-14 00:21:02 +00:00
Index [OpenCL] Add generic AS to 'this' pointer 2018-12-13 10:15:27 +00:00
Lex Misc typos fixes in ./lib folder 2018-12-10 12:37:46 +00:00
Parse Fix up diagnostics. 2018-12-14 03:35:10 +00:00
Rewrite Misc typos fixes in ./lib folder 2018-12-10 12:37:46 +00:00
Sema [MinGW] Produce a vtable and RTTI for dllexported classes without a key function 2018-12-15 08:08:11 +00:00
Serialization Fix up diagnostics. 2018-12-14 03:35:10 +00:00
StaticAnalyzer Revert "[analyzer] MoveChecker: Add checks for dereferencing a smart pointer..." 2018-12-15 02:55:55 +00:00
Tooling Add explicit dependency on clangSerialization for a bunch of components to fix -DBUILD_SHARED_LIBS=on build 2018-12-12 08:02:18 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00