John McCall
|
d26bc76c98
Use the "undergoes default argument promotion" bit on parameters to
|
14 年之前 |
Devang Patel
|
aa11289f75
DebugInfo can be enabled or disabled at function level (e.g. using an attribute). However, at module level it is determined by command line option and the state of command line option does not change during compilation. Make this layering explicit and fix accidental cases where the code generator was checking whether module has debug info enabled instead of checking whether debug info is enabled for this function or not.
|
14 年之前 |
Devang Patel
|
5de7a0e880
Do not emit stop point for CXXDefaultArgExpr. It results in suboptimial user experience.
|
14 年之前 |
Benjamin Kramer
|
9de4342ef7
StringRefify.
|
14 年之前 |
John McCall
|
34695856c0
Reorganize the emission of local variables.
|
14 年之前 |
John McCall
|
15e310a3b9
Warn about code that uses variables and functions with internal linkage
|
14 年之前 |
John McCall
|
5936e33bf7
Assorted cleanup:
|
14 年之前 |
Rafael Espindola
|
c4850c2aa4
Use raw_svector_ostream in more places in the mangler.
|
14 年之前 |
Douglas Gregor
|
a29bf41b8f
When IRgen refers to a function declaration that is not a definition,
|
14 年之前 |
John McCall
|
d16c2cf1ca
Reorganize CodeGen{Function,Module} to eliminate the unfortunate
|
14 年之前 |
Anders Carlsson
|
1faa89f9c6
Re-land r124768, with a fix for PR9130.
|
14 年之前 |
Fariborz Jahanian
|
53bad4e98e
minor refactoring of -fapple-kext stuff.
|
14 年之前 |
Fariborz Jahanian
|
fd0f89d3d7
What was I thinking?
|
14 年之前 |
Fariborz Jahanian
|
142f9e9901
-fapple-kext cannot have 'weak' visibility in this
|
14 年之前 |
Rafael Espindola
|
01de7a44ce
Revert 124768.
|
14 年之前 |
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 年之前 |