Chris Lattner
|
8b418685e9
simplify a bunch of code to use the well-known LLVM IR types computed by CodeGenModule.
|
13 years ago |
Dylan Noblesmith
|
f7ccbad5d9
Basic: import SmallString<> into clang namespace
|
13 years ago |
Benjamin Kramer
|
f5c7504d04
Remove obsolete debugging macro, make helper static.
|
14 years ago |
Peter Collingbourne
|
e09cdf46aa
Move all vtable layout data into new VTableLayout class
|
14 years ago |
Peter Collingbourne
|
84fcc48817
Move vtable component accessors to VTableContext
|
14 years ago |
Peter Collingbourne
|
bf1c5aeadc
Remove CodeGenVTables::ComputeVTableRelatedInformation dependency on CodeGen
|
14 years ago |
Peter Collingbourne
|
5c551f7aef
Move VTT builder to AST
|
14 years ago |
Peter Collingbourne
|
4c341ac59c
Remove CodeGenModule field from VTTBuilder
|
14 years ago |
Peter Collingbourne
|
e2ff5abe47
Make the VTTBuilder class independent of LLVM core
|
14 years ago |
Chris Lattner
|
5f9e272e63
remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports
|
14 years ago |
Jay Foad
|
a5c04344fa
Convert ConstantExpr::getGetElementPtr and
|
14 years ago |
Chris Lattner
|
2acc6e3fed
de-constify llvm::Type, patch by David Blaikie!
|
14 years ago |
Jay Foad
|
97357602a2
Replace the existing forms of ConstantArray::get() with a single form
|
14 years ago |
Anders Carlsson
|
e3d6cf2149
Fix another regression from the "skip vtable pointer initialization"
|
14 years ago |
John McCall
|
bda0d6bda0
We were emitting construction v-tables with internal linkage all the time.
|
14 years ago |
Ken Dyck
|
4230d529a8
Convert the BaseOffset member of BaseSubobject to CharUnits from bits. No
|
14 years ago |
Rafael Espindola
|
f0be979bdd
For consistency, use llvm::raw_ostream in the rest of the mangle api.
|
14 years ago |
Anders Carlsson
|
fa2e99f72f
Change CodeGenModule::setTypeVisibility to take a TypeVisibilityKind enum instead of an "IsForRTTI" flag.
|
14 years ago |
Anders Carlsson
|
691222d5c9
Give VTTs the right visibility.
|
14 years ago |
Anders Carlsson
|
1cbce125b9
Make emitting a VTT a two-step process, much like emitting a VTable. You first get the address of the VTT, and then pass it to EmitVTTDefinition.
|
14 years ago |
Rafael Espindola
|
cd3ac4bd96
Also set unnamed_addr on declarations.
|
14 years ago |
Rafael Espindola
|
62b1607e44
Only add unnamed_addr to definitions.
|
14 years ago |
Rafael Espindola
|
82a0f4e93c
Set unnamed_addr in VTTs.
|
14 years ago |
Anders Carlsson
|
c9e814ba19
Rename RecordLayout::getPrimaryBaseWasVirtual to isPrimaryBaseVirtual.
|
14 years ago |
Anders Carlsson
|
a14f597957
Rename getBaseClassOffset to getBaseClassOffsetInBits and introduce a getBaseClassOffset which returns the offset in CharUnits. Do the same thing for getVBaseClassOffset.
|
15 years ago |
John McCall
|
af14603ca6
Better solution: calculate the visibility of functions and variables
|
15 years ago |
John McCall
|
4c40d98ab7
Teach IR generation to return 'this' from constructors and destructors
|
15 years ago |
Douglas Gregor
|
f4aac11a5e
The global variable for the VTT might not have external linkage; allow
|
15 years ago |
Anders Carlsson
|
3855a07db0
Store the entire base subobject in SubVTTIndices.
|
15 years ago |
Anders Carlsson
|
c11bb21910
Have getSubVTTIndex take a BaseSubobject instead of just a base.
|
15 years ago |