- Mar 30, 2010
-
-
Anders Carlsson authored
llvm-svn: 99863
-
Anders Carlsson authored
Flip the switch and use the new vtable layout code for everything. I've verified that this passes a self-host but I'll let the bots self host as well before removing the now dead code. llvm-svn: 99861
-
- Mar 29, 2010
-
-
Anders Carlsson authored
When collecting virtual bases it's very important to use the canonical type of the base class. Otherwise, we might add the same virtual base class twice if the virtual base is an instantiated template. Fixes PR6251. llvm-svn: 99829
-
Anders Carlsson authored
llvm-svn: 99812
-
- Mar 27, 2010
-
-
Anders Carlsson authored
llvm-svn: 99729
-
Rafael Espindola authored
llvm-svn: 99702
-
- Mar 26, 2010
-
-
Douglas Gregor authored
through the bases and fields of the definition of the class in which the constructor is declared, rather than some other declaration of that class. llvm-svn: 99661
-
- Mar 25, 2010
-
-
Anders Carlsson authored
llvm-svn: 99555
-
Fariborz Jahanian authored
llvm-svn: 99526
-
Douglas Gregor authored
llvm-svn: 99448
-
Douglas Gregor authored
EmitReferenceBindingToExpr() rather than assuming we have an lvalue. This is just the lowest hanging fruit for PR6024, which still requires a bit of work. llvm-svn: 99447
-
- Mar 24, 2010
-
-
Rafael Espindola authored
implicit methods on explicit template instantiation definitions. As a consequence, we should emit them at every use, even if we see a explicit template instantiation declaration. This is already the current behaviour, but it is good to test for that :-) llvm-svn: 99443
-
Fariborz Jahanian authored
Fixes PR6641. llvm-svn: 99404
-
Anders Carlsson authored
More vtable improvements. We now compute and keep track of all vtable related information which avoids computing the same vtable layout over and over. llvm-svn: 99403
-
Anders Carlsson authored
llvm-svn: 99381
-
Anders Carlsson authored
llvm-svn: 99367
-
Anders Carlsson authored
llvm-svn: 99363
-
- Mar 23, 2010
-
-
Rafael Espindola authored
llvm-svn: 99317
-
Rafael Espindola authored
declaration. llvm-svn: 99311
-
Rafael Espindola authored
we see an specialization definition ever if we then see a extern template declaration. llvm-svn: 99226
-
- Mar 21, 2010
-
-
Rafael Espindola authored
CXXExprWithTemporaries. Not emitting the expression as an aggregate might be the right thing to do, but is orthogonal. Emitting it as an scalar expression will still try to create a temporary for the incomplete type of the CXXExprWithTemporaries and fail. llvm-svn: 99134
-
- Mar 20, 2010
-
-
Daniel Dunbar authored
- Disable RTTI. - Disable use of __cxa_atexit. - Disable unwind tables. - Enable freestanding mode. Also, honor -fhosted correctly. <rdar://problem/7515383> C++ support: -fapple-kext not honored llvm-svn: 99041
-
Daniel Dunbar authored
- So much typing, so little gain... Also, rename the __cxx_global_initialization function just to match llvm-gcc. llvm-svn: 99039
-
John McCall authored
shadowing it in the GlobalDeclMap. Eliminates the string-uniquing requirement for mangled names, which should help C++ codegen times a little. Forces us to do string lookups instead of pointer lookups, which might hurt codegen times a little across the board. We'll see how it plays out. Removing the string-uniquing requirement implicitly fixes any bugs like PR6635 which arose from the fact that we had multiple uniquing tables for different kinds of identifiers. llvm-svn: 99012
-
- Mar 18, 2010
-
-
Anders Carlsson authored
llvm-svn: 98799
-
- Mar 17, 2010
-
-
Rafael Espindola authored
Fixes PR6625. llvm-svn: 98707
-
- Mar 13, 2010
-
-
Douglas Gregor authored
iterations of this patch gave explicit template instantiation link-once ODR linkage, which permitted the back end to eliminate unused symbols. Weak ODR linkage still requires the symbols to be generated. llvm-svn: 98441
-
Douglas Gregor authored
llvm-svn: 98425
-
Douglas Gregor authored
llvm-svn: 98424
-
- Mar 12, 2010
-
-
Douglas Gregor authored
llvm-svn: 98332
-
Douglas Gregor authored
them). Fixes PR6578. llvm-svn: 98328
-
- Mar 11, 2010
-
-
Daniel Dunbar authored
llvm-svn: 98267
-
Rafael Espindola authored
llvm-svn: 98254
-
Anders Carlsson authored
llvm-svn: 98246
-
- Mar 10, 2010
-
-
Anders Carlsson authored
llvm-svn: 98191
-
Anders Carlsson authored
llvm-svn: 98180
-
Anders Carlsson authored
llvm-svn: 98177
-
Rafael Espindola authored
llvm-svn: 98154
-
Anders Carlsson authored
llvm-svn: 98140
-
Anders Carlsson authored
Don't accidentally mark some functions in construction vtables as unused. Also land the test for a previous checkin, now that it's correct. llvm-svn: 98139
-