John McCall
|
d26bc76c98
Use the "undergoes default argument promotion" bit on parameters to
|
14 years ago |
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 years ago |
Devang Patel
|
5de7a0e880
Do not emit stop point for CXXDefaultArgExpr. It results in suboptimial user experience.
|
14 years ago |
Benjamin Kramer
|
9de4342ef7
StringRefify.
|
14 years ago |
John McCall
|
34695856c0
Reorganize the emission of local variables.
|
14 years ago |
John McCall
|
15e310a3b9
Warn about code that uses variables and functions with internal linkage
|
14 years ago |
John McCall
|
5936e33bf7
Assorted cleanup:
|
14 years ago |
Rafael Espindola
|
c4850c2aa4
Use raw_svector_ostream in more places in the mangler.
|
14 years ago |
Douglas Gregor
|
a29bf41b8f
When IRgen refers to a function declaration that is not a definition,
|
14 years ago |
John McCall
|
d16c2cf1ca
Reorganize CodeGen{Function,Module} to eliminate the unfortunate
|
14 years ago |
Anders Carlsson
|
1faa89f9c6
Re-land r124768, with a fix for PR9130.
|
14 years ago |
Fariborz Jahanian
|
53bad4e98e
minor refactoring of -fapple-kext stuff.
|
14 years ago |
Fariborz Jahanian
|
fd0f89d3d7
What was I thinking?
|
14 years ago |
Fariborz Jahanian
|
142f9e9901
-fapple-kext cannot have 'weak' visibility in this
|
14 years ago |
Rafael Espindola
|
01de7a44ce
Revert 124768.
|
14 years ago |
Anders Carlsson
|
aedd9d5ad3
Don't try to mark virtual members referenced for classes where the key function
|
14 years ago |
Rafael Espindola
|
071d3af0de
Revert 124633. The linker has been told how to merge available_externally.
|
14 years ago |
Rafael Espindola
|
517ebc6e13
Set visibility for available_externally globals. This is important for two reasons:
|
14 years ago |
Anders Carlsson
|
6d7f8473cd
When building with optimizations, emit vtables where the key is not in the
|
14 years ago |
Anders Carlsson
|
c7e98fabd8
Move GetLLVMVisibility to CodeGenModule.
|
14 years ago |
Anders Carlsson
|
9a86a137b0
Add RTTIBuilder::GetAddrOfTypeName which uses the newly added CreateOrReplaceCXXRuntimeVariable.
|
14 years ago |
Anders Carlsson
|
fa2e99f72f
Change CodeGenModule::setTypeVisibility to take a TypeVisibilityKind enum instead of an "IsForRTTI" flag.
|
14 years ago |
Anders Carlsson
|
934176f275
Replace an isa/cast with a dyn_cast.
|
14 years ago |
Anders Carlsson
|
0ffeaad72c
Get rid of an unneeded parameter from setGlobalVisibility.
|
14 years ago |
Anders Carlsson
|
96eaf2992b
Use CGM.CreateOrReplaceCXXRuntimeVariable in CGVTables.cpp
|
14 years ago |
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 years ago |
Ken Dyck
|
3b8037a8c6
Replace a literal '8' with getCharWidth().
|
14 years ago |
Anders Carlsson
|
c93a776c89
Remove IsDefinition from CodeGenModule::setTypeVisibility; it is always true.
|
14 years ago |
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 years ago |
Benjamin Kramer
|
15f6765f6e
Use a FunctionType::get overload that doesn't require an empty vector.
|
14 years ago |