Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
d9c84c8381261530b16512d2aac146de8271ea1e
/
lib
/
CodeGen
9f61aa9
Un-namespace-qualify llvm_unreachable. It's a macro, so the qualification gave
by Jeffrey Yasskin
· 15 years ago
9c276ae
Implement runtime checks for undefined behavior. WIP.
by Mike Stump
· 15 years ago
3b27f1a
Patch to allow C-style cast from 'void *' to block pointer type.
by Fariborz Jahanian
· 15 years ago
20e098b
Fix for PR5714: make sure globals that will be modified aren't marked const.
by Eli Friedman
· 15 years ago
470fb73
Fix linkage of type info and vtable for classes without linkage.
by Eli Friedman
· 15 years ago
6f9f25d
Make sure mangling doesn't crash in another case. Add some more tests.
by Eli Friedman
· 15 years ago
ecb7e93
Fix for PR5706: let mangleName deal with mangling names without identifiers
by Eli Friedman
· 15 years ago
44636d1
Move info vectors and add assertions in preparation of moving the vector directly into RTTIBuilder.
by Anders Carlsson
· 15 years ago
4e71356
Use GetAddrOfRTTI when getting the RTTI pointer for a base class.
by Anders Carlsson
· 15 years ago
8d04258
Random string-related cleanups.
by Benjamin Kramer
· 15 years ago
3a17370
Move the code for converting a member pointer to a bool so that it is usable
by Eli Friedman
· 15 years ago
b81c786
Fix for PR5718: implement equality comparisons for member function pointers.
by Eli Friedman
· 15 years ago
31b7f52
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).
by Anders Carlsson
· 15 years ago
d6baec8
Use named flags in RTTIBuilder::BuildPointerType.
by Anders Carlsson
· 15 years ago
6ec687d
When extending the lifetime of a temporary, make sure to emit a branch to the cleanup exit block. This fixes a broken module error in LLVMCConfigurationEmitter.cpp.
by Anders Carlsson
· 15 years ago
8370c58
When an exception needs to be freed by calling __cxa_exception_free, make sure to stash away the exception pointer somewhere.
by Anders Carlsson
· 15 years ago
0924a8a
Fix spacing.
by Mike Stump
· 15 years ago
9dfebdc
Support unary type traits in a scalar context. Not that I've actually seen
by Eli Friedman
· 15 years ago
548e60e
Make sure that explicitly instantiated functions get the right linkage.
by Anders Carlsson
· 15 years ago
7b06f6c
Mangle static variables inside Objective-C methods in Objective-C++. We currently mangle them the same way as gcc does.
by Anders Carlsson
· 15 years ago
9406705
Get rid of static variable.
by Eli Friedman
· 15 years ago
864143f
Actually store the pointer into the global variable, spotted by Eli.
by Anders Carlsson
· 15 years ago
5030a98
Setup cleanup on eh edge out of the construction of the cleanup object
by Mike Stump
· 15 years ago
c7974ca
Handle emitting static variables that have reference type.
by Anders Carlsson
· 15 years ago
fcbfdc1
Separate generating code for static variables and global variables.
by Anders Carlsson
· 15 years ago
eb4072e
Move more decl related functions to CGDeclCXX.cpp
by Anders Carlsson
· 15 years ago
5ec2e7c
Add CGDeclCXX.cpp and move EmitCXXGlobalVarDeclInit there.
by Anders Carlsson
· 15 years ago
8755ec3
Fixup spacing.
by Mike Stump
· 15 years ago
c83ebb5
Fix spacing.
by Mike Stump
· 15 years ago
182f383
Ensure we only generate one terminate handler.
by Mike Stump
· 15 years ago
23e17c8
Remove obsolete FIXME and some dead fallback code.
by Mike Stump
· 15 years ago
20d3a53
Add terminate handler to cleanups on exceptional edges.
by Mike Stump
· 15 years ago
820bca4
Code gen for ObjCIsaExpr AST used as lvalue. (fixes radar 7457534).
by Fariborz Jahanian
· 15 years ago
7695809
Add terminate handler for copy constructors for thrown objects. WIP.
by Mike Stump
· 15 years ago
9b39c51
Break out code for reuse. WIP.
by Mike Stump
· 15 years ago
39406b1
Add throw support. WIP.
by Mike Stump
· 15 years ago
83dc325
Codegen. support for ObjCIsaExpr AST which until now
by Fariborz Jahanian
· 15 years ago
d88ea56
Add cleanups for exceptional edges. WIP.
by Mike Stump
· 15 years ago
386ca78
Fix for PR5709: use the computed type of the declaration instead of the
by Eli Friedman
· 15 years ago
92ef5d7
More detailed analysis of typecast to an objective-c pointer
by Fariborz Jahanian
· 15 years ago
4e0179f
Add fixme.
by Mike Stump
· 15 years ago
e64d434
Remove some old code. WIP.
by Mike Stump
· 15 years ago
88b172c
Update CGExprConstant for change to emit padding values as undef.
by Daniel Dunbar
· 15 years ago
155fd79
Use StringRef in CGDebugInfo::EmitFunctionStart.
by Benjamin Kramer
· 15 years ago
a4d6ca1
Use a Twine to concatenate the name instead of going through std::string.
by Benjamin Kramer
· 15 years ago
47daf68
Use Path.makeAbsolute() and make a constant std::string a const char*.
by Benjamin Kramer
· 15 years ago
dbd872f
DeclRefExpr stores a ValueDecl internally.
by John McCall
· 15 years ago
ceb9bb3
Build fix.
by Eli Friedman
· 15 years ago
77a259c
Fix for PR5707: make sure implicit copy constructors initialize the vtable
by Eli Friedman
· 15 years ago
0259ce2
Slight tweak to vtable linkage.
by Eli Friedman
· 15 years ago
61eab88
Misc key function fixes.
by Eli Friedman
· 15 years ago
c4451db
Fix some direct checks of expressions which might be surrounded by parentheses.
by Eli Friedman
· 15 years ago
ebc3317
Make copy assignment operator synthesis not explode for classes with complex
by Eli Friedman
· 15 years ago
e3fdca2
Remove several .c_str() to be forward-compatible with StringRef.
by Jeffrey Yasskin
· 15 years ago
b2debeb
Fixup catch parameters with class reference type. WIP.
by Mike Stump
· 15 years ago
c245682
No need to add tail padding if the resulting LLVM struct type will have the same size as the final record size.
by Anders Carlsson
· 15 years ago
b455f0e
A bunch more thunk fixes from misc testing.
by Eli Friedman
· 15 years ago
cce3d4f
Add codegen support for exception specifications. WIP.
by Mike Stump
· 15 years ago
48daf59
Correctly handle conditional operators involving throw.
by Eli Friedman
· 15 years ago
130c69e
Make the comma operator consistently call EnsureInsertPoint.
by Eli Friedman
· 15 years ago
c2ab486
Work around emitters that can't deal with dead code contexts yet.
by Mike Stump
· 15 years ago
91f8860
Mangle basic_ostream and basic_iostream specializations.
by Anders Carlsson
· 15 years ago
4bda1e4
Remove obsolete fallback code for objectsize.
by Mike Stump
· 15 years ago
079b495
implement PR5274: mark 'restrict' parameters as noalias
by Nuno Lopes
· 15 years ago
d58987c
It's OK to try to emit a vtable definition more than once. Fixes PR5697.
by Anders Carlsson
· 15 years ago
85301e2
Erm, revert for the moment; I didn't test this as thoroughly as I should have
by Eli Friedman
· 15 years ago
a10c22b
Tweak the formula for non-virtual offsets to something which appears a bit
by Eli Friedman
· 15 years ago
f53df23
Move key functions to a separate map.
by Anders Carlsson
· 15 years ago
f062d9d
Be a bit more complete about accumulating SavedThisAdjustments.
by Eli Friedman
· 15 years ago
72649ed
Work-in-progess rewrite of thunks: move thunk generation outside of vtable
by Eli Friedman
· 15 years ago
20f12a2
Add rudimentary support for member pointers to CGDebugInfo.
by Anders Carlsson
· 15 years ago
86b85b2
use new helpers to simplify code.
by Chris Lattner
· 15 years ago
c3a46ef
Set the correct linkage for VTTs as well.
by Anders Carlsson
· 15 years ago
5794c97
More linkage improvements.
by Anders Carlsson
· 15 years ago
3527225
Pass the desired vtable linkage to GenerateVtable directly. Only call MaybeMarkVirtualImplicitMembersReferenced for non-inline functions.
by Anders Carlsson
· 15 years ago
8c2d36f
Make GenerateVtable a private member function of CGVtableInfo.
by Anders Carlsson
· 15 years ago
224c312
Only emit the vtable definition if the class has a key function and we're emitting it, or if the class doesn't have a key function and we are emitting the complete constructor.
by Anders Carlsson
· 15 years ago
891c8b7
If a class does not have a key function, its linkage should be weak_odr.
by Anders Carlsson
· 15 years ago
152d4dc
Use createGlobalVariable for creating vtable variables too.
by Anders Carlsson
· 15 years ago
bb27d86
CodeGenModule::GenerateVtable now returns a pointer directly to the vtable and not to the address point.
by Anders Carlsson
· 15 years ago
e40477c
Make sure that hte vtable always has an i8* array type.
by Anders Carlsson
· 15 years ago
9ac95b9
Add a function for getting the vtable address point of a class.
by Anders Carlsson
· 15 years ago
4282edf
Simplify BuildVTT.
by Anders Carlsson
· 15 years ago
2e32aae
Let the VTT builder pretend that getVtable returns a pointer to the vtable and not to the vtable address point.
by Anders Carlsson
· 15 years ago
be58b39
Change getCtorVtable to not return the address point offset, but the global variable.
by Anders Carlsson
· 15 years ago
9428b67
Simplify some code.
by Anders Carlsson
· 15 years ago
7ca4643
Factor vtable related GlobalVariable creation out into a separate function. Add vtable linkage test.
by Anders Carlsson
· 15 years ago
761acc1
implement rdar://7346691 by codegen'ing struct/array initializers
by Chris Lattner
· 15 years ago
10976d9
various cleanups.
by Chris Lattner
· 15 years ago
ff933b7
simplify a condition and add a testcase.
by Chris Lattner
· 15 years ago
152b5b1
Skip actually generating the vtable unless we are defining it. This avoids
by Eli Friedman
· 15 years ago
1b3171d
Don't emit explicit specializations of static member variable declarations.
by Anders Carlsson
· 15 years ago
6a1e0eb
Add support for function try blocks.
by Mike Stump
· 15 years ago
ed97649
Fix "using typename" and the instantiation of non-dependent using declarations.
by John McCall
· 15 years ago
cce9fde
Return bool as a bool instead of a uint64_t.
by Benjamin Kramer
· 15 years ago
5dd6b39
Put in FIXME that this mangling is not official in.
by Sean Hunt
· 15 years ago
2421f66
Switch mangling of literal operator names to a string that's
by Sean Hunt
· 15 years ago
1c4269a
Be sure to instantiate rtti for non-polymorphic bases.
by Mike Stump
· 15 years ago
fd12649
When generating a virtual destructor, don't try to make a virtual call to the base class destructor because then we'll just re-enter the same destructor!
by Anders Carlsson
· 15 years ago
b2c9c0b
Fixup nested try blocks.
by Mike Stump
· 15 years ago
Next »