Anders Carlsson
|
3f4336cb1f
|
Rename GetAddrOfRTTI to GetAddrOfRTTIDescriptor. Remove the overload that takes a CXXRecordDecl since we were just creating a QualType from it anyway.
llvm-svn: 91590
|
2009-12-17 07:09:17 +00:00 |
Anders Carlsson
|
07863b8b6e
|
Use GetAddrOfRTTI everywhere and remove GenerateRTTI and GenerateRTTIRef. With this change, we can now compile and link TableGen.
llvm-svn: 91520
|
2009-12-16 07:05:41 +00:00 |
Anders Carlsson
|
399f499f0c
|
Don't use a cookie if the global placement new function is used.
llvm-svn: 91251
|
2009-12-13 20:34:34 +00:00 |
Anders Carlsson
|
adbe4249d6
|
Fix regression in my last commit - if a struct has a trivial destructor but no usual deallocation function we don't need a cookie.
llvm-svn: 91249
|
2009-12-13 20:10:12 +00:00 |
Anders Carlsson
|
21122cf657
|
More array cookie improvements.
llvm-svn: 91247
|
2009-12-13 20:04:38 +00:00 |
Anders Carlsson
|
f5af8dead7
|
If the usual array deallocation function of a class takes two arguments, we need to pass the number of bytes allocated to the deallocation function, just not the number of bytes in a single element.
llvm-svn: 91246
|
2009-12-13 18:48:07 +00:00 |
Anders Carlsson
|
fd7dfeb779
|
Improve linkage of RTTI data structures. Introduce CodeGenModule::GetAddrOfRTTI which figures out the right linkage of the RTTI information for the given type and whether it should be defined or not. I will migrate clients over to GetAddrOfRTTI in subsequent commits (with tests).
llvm-svn: 91098
|
2009-12-11 02:46:30 +00:00 |
Mike Stump
|
c01c2b87e8
|
Change rtti/Rtti to RTTI, as it is an acronym.
llvm-svn: 90334
|
2009-12-02 18:57:08 +00:00 |
Anders Carlsson
|
3a202f601e
|
Handle cases where we're constructing an array of objects and the constructor has default arguments.
llvm-svn: 89783
|
2009-11-24 18:43:52 +00:00 |
Anders Carlsson
|
59486a2ddb
|
Get rid of the ugly CGCXX names and replace them with CGClass, CGExprCXX and CGTemporaries.
llvm-svn: 89742
|
2009-11-24 05:51:11 +00:00 |