Anders Carlsson
|
aedd9d5ad3
Don't try to mark virtual members referenced for classes where the key function
|
14 年之前 |
Rafael Espindola
|
071d3af0de
Revert 124633. The linker has been told how to merge available_externally.
|
14 年之前 |
Rafael Espindola
|
517ebc6e13
Set visibility for available_externally globals. This is important for two reasons:
|
14 年之前 |
Anders Carlsson
|
6d7f8473cd
When building with optimizations, emit vtables where the key is not in the
|
14 年之前 |
Anders Carlsson
|
c7e98fabd8
Move GetLLVMVisibility to CodeGenModule.
|
14 年之前 |
Anders Carlsson
|
9a86a137b0
Add RTTIBuilder::GetAddrOfTypeName which uses the newly added CreateOrReplaceCXXRuntimeVariable.
|
14 年之前 |
Anders Carlsson
|
fa2e99f72f
Change CodeGenModule::setTypeVisibility to take a TypeVisibilityKind enum instead of an "IsForRTTI" flag.
|
14 年之前 |
Anders Carlsson
|
934176f275
Replace an isa/cast with a dyn_cast.
|
14 年之前 |
Anders Carlsson
|
0ffeaad72c
Get rid of an unneeded parameter from setGlobalVisibility.
|
14 年之前 |
Anders Carlsson
|
96eaf2992b
Use CGM.CreateOrReplaceCXXRuntimeVariable in CGVTables.cpp
|
14 年之前 |
Anders Carlsson
|
3bd6202ea2
Add a new function, to be used by CGRTTI, CGVTables and CGVTT (which each has their own copy of this code).
|
14 年之前 |
Ken Dyck
|
3b8037a8c6
Replace a literal '8' with getCharWidth().
|
14 年之前 |
Anders Carlsson
|
c93a776c89
Remove IsDefinition from CodeGenModule::setTypeVisibility; it is always true.
|
14 年之前 |
Anders Carlsson
|
f502d93b0e
Mark VTables and RTTI data linkonce_odr instead of weak_odr, with the exception of explicit template instantiations, which have to be weak_odr.
|
14 年之前 |
Benjamin Kramer
|
15f6765f6e
Use a FunctionType::get overload that doesn't require an empty vector.
|
14 年之前 |
Rafael Espindola
|
c532b50285
Add unnamed_addr in CreateRuntimeVariable.
|
14 年之前 |
Ken Dyck
|
06f486ecd0
Replace calls to CharUnits::fromQuantity() with ones to
|
14 年之前 |
Rafael Espindola
|
d3d4e1ee39
More unnamed_addr.
|
14 年之前 |
Rafael Espindola
|
803d307a53
merge strings created by
|
14 年之前 |
Rafael Espindola
|
b266a1fce0
Add unnamed_addr to the special strings created by
|
14 年之前 |
Peter Collingbourne
|
1411047788
Move name mangling support from CodeGen to AST. In the
|
14 年之前 |
Rafael Espindola
|
b1c65ff108
Set unnamed_addr for type infos that we are confortable marking as hidden. I
|
14 年之前 |
Rafael Espindola
|
c5f657fe30
Add unnamed_addr to constructors and destructors.
|
14 年之前 |
Rafael Espindola
|
1257bc6ee7
Add unnamed_addr when creating artificial string globals. For example, in
|
14 年之前 |
Benjamin Kramer
|
9f0c7cc36d
Simplify mem{cpy, move, set} creation with IRBuilder.
|
14 年之前 |
John McCall
|
bfdcdc8e26
Set the "implicitly inline" bit on a method as soon as we see a definition
|
14 年之前 |
Eric Christopher
|
a6cf1e709b
Add support for the common and nocommon attributes.
|
14 年之前 |
John McCall
|
3030eb8259
Simplify the logic for emitting guard variables for template static
|
15 年之前 |
John McCall
|
112c967bd5
Ensure that static local variables in function templates inherit the
|
15 年之前 |
John McCall
|
af14603ca6
Better solution: calculate the visibility of functions and variables
|
15 年之前 |