- Nov 13, 2009
-
-
Mike Stump authored
but this is necessary to continue work on virtual vtables. We don't want to penalize virtual table building testcases, just because complex virtual conversions don't yet work. llvm-svn: 88676
-
Anders Carlsson authored
Instead of storing CXXMethodDecls in the vtable builder, store GlobalDecls so we can represent both the complete and deleting destructors. Also, when encountering a destructor decl, emit entries for both the complete and deleting destructors. Mike, please review. With this change, FileCheck builds and runs the clang test suite without failures! llvm-svn: 88663
-
Daniel Dunbar authored
llvm-svn: 87087
-
Zhongxing Xu authored
llvm-svn: 87086
-
Anders Carlsson authored
Add a special BuildVirtualCall that's going to be used for building calls to destructors. This is needed because when compiling: struct A { virtual ~A(); }; void f(A* a) { delete a; } A's deleting destructor should be called. llvm-svn: 87083
-
Anders Carlsson authored
1. For A f() { return A(); } we were incorrectly calling the A destructor on the returned object. 2. For void f(A); void g() { A a; f(a); } we were incorrectly not calling the copy constructor. llvm-svn: 87082
-
Anders Carlsson authored
llvm-svn: 87081
-
Mike Stump authored
virtual bases unless they are morally virtual. llvm-svn: 87071
-
Mike Stump authored
llvm-svn: 87067
-
Mike Stump authored
llvm-svn: 87063
-
Mike Stump authored
llvm-svn: 87043
-
Mike Stump authored
llvm-svn: 87041
-
- Nov 12, 2009
-
-
Mike Stump authored
the right base vtable. WIP. llvm-svn: 87039
-
Mike Stump authored
Refine the VTT entries for virtual bases to refer to the complete object's vtable instead of constructor vtables. Refine the AddressPoint calculations for VTT entries for virtual bases. llvm-svn: 87021
-
Fariborz Jahanian authored
message to 'super'. Fixes radar 7205866. llvm-svn: 87017
-
Devang Patel authored
"Attach debug info with llvm instructions" mode was enabled a month ago. Now make it permanent and remove old way of inserting intrinsics to encode debug info for locations and types. llvm-svn: 87007
-
Devang Patel authored
llvm-svn: 87001
-
Chandler Carruth authored
This resolves the layering violation where CodeGen depended on Frontend. llvm-svn: 86998
-
Devang Patel authored
llvm-svn: 86915
-
- Nov 11, 2009
-
-
Mike Stump authored
llvm-svn: 86879
-
Mike Stump authored
llvm-svn: 86878
-
Devang Patel authored
Do not eagerly set stop point for arguments. This misleads the debugger in identifying beginning of function body. Instead, create new location to attach with llvm.dbg.declare. This location is only used to find the context of the variable by the code generator, and it is not used to emit line number info. llvm-svn: 86862
-
Fariborz Jahanian authored
initializer list. Fixes PR5463. llvm-svn: 86849
-
Mike Stump authored
interface. WIP. llvm-svn: 86793
-
Fariborz Jahanian authored
objects. llvm-svn: 86778
-
Mike Stump authored
llvm-svn: 86772
-
Devang Patel authored
llvm-svn: 86750
-
- Nov 10, 2009
-
-
Eli Friedman authored
llvm-svn: 86745
-
Eli Friedman authored
necessary. llvm-svn: 86741
-
Eli Friedman authored
generated PHI node for the null check of a new operator. llvm-svn: 86738
-
Fariborz Jahanian authored
global array of objects. llvm-svn: 86701
-
Mike Stump authored
llvm-svn: 86699
-
Mike Stump authored
being generated. Add the most derived vtable pointer to the VTT. llvm-svn: 86671
-
Mike Stump authored
Start implementing VTTs. WIP. llvm-svn: 86650
-
Mike Stump authored
llvm-svn: 86647
-
Mike Stump authored
llvm-svn: 86643
-
Jeffrey Yasskin authored
Patch by Victor Zverovich! llvm-svn: 86638
-
- Nov 09, 2009
-
-
Mike Stump authored
llvm-svn: 86607
-
Douglas Gregor authored
ArrayType>()) does not instantiate. Update all callers that used this unsafe feature to use the appropriate ASTContext::getAs*ArrayType method. llvm-svn: 86596
-
Eli Friedman authored
llvm-svn: 86516
-