Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Move the code for converting a member pointer to a bool so that it is usable | Eli Friedman | 2009-12-11 | 2 | -28/+17 | |
| | | | | | | for logical not. llvm-svn: 91112 | |||||
* | Fix for PR5718: implement equality comparisons for member function pointers. | Eli Friedman | 2009-12-11 | 1 | -1/+28 | |
| | | | | llvm-svn: 91108 | |||||
* | Improve linkage of RTTI data structures. Introduce ↵ | Anders Carlsson | 2009-12-11 | 4 | -52/+100 | |
| | | | | | | 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). llvm-svn: 91098 | |||||
* | Use named flags in RTTIBuilder::BuildPointerType. | Anders Carlsson | 2009-12-11 | 1 | -25/+54 | |
| | | | | llvm-svn: 91088 | |||||
* | When extending the lifetime of a temporary, make sure to emit a branch to ↵ | Anders Carlsson | 2009-12-11 | 1 | -1/+4 | |
| | | | | | | the cleanup exit block. This fixes a broken module error in LLVMCConfigurationEmitter.cpp. llvm-svn: 91086 | |||||
* | When an exception needs to be freed by calling __cxa_exception_free, make ↵ | Anders Carlsson | 2009-12-11 | 1 | -12/+20 | |
| | | | | | | | | sure to stash away the exception pointer somewhere. This fixes an "Instruction does not dominate all uses!" verification error when compiling TableGen. llvm-svn: 91084 | |||||
* | Fix spacing. | Mike Stump | 2009-12-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 91078 | |||||
* | Support unary type traits in a scalar context. Not that I've actually seen | Eli Friedman | 2009-12-10 | 1 | -0/+4 | |
| | | | | | | this construct, but might as well for completeness. llvm-svn: 91071 | |||||
* | Make sure that explicitly instantiated functions get the right linkage. | Anders Carlsson | 2009-12-10 | 1 | -3/+12 | |
| | | | | llvm-svn: 91069 | |||||
* | Mangle static variables inside Objective-C methods in Objective-C++. We ↵ | Anders Carlsson | 2009-12-10 | 1 | -3/+24 | |
| | | | | | | currently mangle them the same way as gcc does. llvm-svn: 91042 | |||||
* | Get rid of static variable. | Eli Friedman | 2009-12-10 | 3 | -4/+5 | |
| | | | | llvm-svn: 91041 | |||||
* | Actually store the pointer into the global variable, spotted by Eli. | Anders Carlsson | 2009-12-10 | 1 | -2/+5 | |
| | | | | llvm-svn: 91036 | |||||
* | Setup cleanup on eh edge out of the construction of the cleanup object | Mike Stump | 2009-12-10 | 1 | -12/+6 | |
| | | | | | | during throw to deallocate the exception object. WIP. llvm-svn: 91035 | |||||
* | Handle emitting static variables that have reference type. | Anders Carlsson | 2009-12-10 | 1 | -1/+4 | |
| | | | | llvm-svn: 91027 | |||||
* | Separate generating code for static variables and global variables. | Anders Carlsson | 2009-12-10 | 1 | -33/+59 | |
| | | | | llvm-svn: 91026 | |||||
* | Move more decl related functions to CGDeclCXX.cpp | Anders Carlsson | 2009-12-10 | 2 | -117/+117 | |
| | | | | llvm-svn: 91012 | |||||
* | Add CGDeclCXX.cpp and move EmitCXXGlobalVarDeclInit there. | Anders Carlsson | 2009-12-10 | 3 | -45/+63 | |
| | | | | llvm-svn: 91006 | |||||
* | Fixup spacing. | Mike Stump | 2009-12-10 | 1 | -41/+41 | |
| | | | | llvm-svn: 91001 | |||||
* | Fix spacing. | Mike Stump | 2009-12-10 | 1 | -1/+1 | |
| | | | | llvm-svn: 91000 | |||||
* | Ensure we only generate one terminate handler. | Mike Stump | 2009-12-10 | 3 | -2/+8 | |
| | | | | llvm-svn: 90998 | |||||
* | Remove obsolete FIXME and some dead fallback code. | Mike Stump | 2009-12-09 | 1 | -6/+0 | |
| | | | | llvm-svn: 90997 | |||||
* | Add terminate handler to cleanups on exceptional edges. | Mike Stump | 2009-12-09 | 1 | -3/+2 | |
| | | | | llvm-svn: 90996 | |||||
* | Code gen for ObjCIsaExpr AST used as lvalue. | Fariborz Jahanian | 2009-12-09 | 3 | -15/+24 | |
| | | | | | | (fixes radar 7457534). llvm-svn: 90995 | |||||
* | Add terminate handler for copy constructors for thrown objects. WIP. | Mike Stump | 2009-12-09 | 1 | -2/+16 | |
| | | | | llvm-svn: 90994 | |||||
* | Break out code for reuse. WIP. | Mike Stump | 2009-12-09 | 2 | -22/+41 | |
| | | | | llvm-svn: 90991 | |||||
* | Add throw support. WIP. | Mike Stump | 2009-12-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 90982 | |||||
* | Codegen. support for ObjCIsaExpr AST which until now | Fariborz Jahanian | 2009-12-09 | 1 | -0/+19 | |
| | | | | | | was not needed (fixes radar 7453430). llvm-svn: 90981 | |||||
* | Add cleanups for exceptional edges. WIP. | Mike Stump | 2009-12-09 | 5 | -37/+177 | |
| | | | | llvm-svn: 90940 | |||||
* | Fix for PR5709: use the computed type of the declaration instead of the | Eli Friedman | 2009-12-09 | 1 | -6/+1 | |
| | | | | | | | type of the builtin when generating the function declaration for a builtin library call. llvm-svn: 90936 | |||||
* | More detailed analysis of typecast to an objective-c pointer | Fariborz Jahanian | 2009-12-08 | 1 | -0/+1 | |
| | | | | | | in objective-c++ mode without being too lenient. llvm-svn: 90895 | |||||
* | Add fixme. | Mike Stump | 2009-12-08 | 1 | -0/+1 | |
| | | | | llvm-svn: 90884 | |||||
* | Remove some old code. WIP. | Mike Stump | 2009-12-08 | 1 | -5/+0 | |
| | | | | llvm-svn: 90882 | |||||
* | Update CGExprConstant for change to emit padding values as undef. | Daniel Dunbar | 2009-12-08 | 1 | -1/+5 | |
| | | | | | | - This fixes 2003-05-21-BitfieldHandling. llvm-svn: 90876 | |||||
* | Use StringRef in CGDebugInfo::EmitFunctionStart. | Benjamin Kramer | 2009-12-08 | 4 | -9/+6 | |
| | | | | llvm-svn: 90856 | |||||
* | Use a Twine to concatenate the name instead of going through std::string. | Benjamin Kramer | 2009-12-08 | 1 | -3/+1 | |
| | | | | llvm-svn: 90854 | |||||
* | Use Path.makeAbsolute() and make a constant std::string a const char*. | Benjamin Kramer | 2009-12-08 | 1 | -7/+3 | |
| | | | | llvm-svn: 90851 | |||||
* | DeclRefExpr stores a ValueDecl internally. | John McCall | 2009-12-08 | 1 | -1/+1 | |
| | | | | | | Template instantiation can re-use DeclRefExprs. llvm-svn: 90848 | |||||
* | Build fix. | Eli Friedman | 2009-12-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 90841 | |||||
* | Fix for PR5707: make sure implicit copy constructors initialize the vtable | Eli Friedman | 2009-12-08 | 2 | -0/+8 | |
| | | | | | | pointer. llvm-svn: 90840 | |||||
* | Slight tweak to vtable linkage. | Eli Friedman | 2009-12-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 90832 | |||||
* | Misc key function fixes. | Eli Friedman | 2009-12-08 | 1 | -0/+10 | |
| | | | | llvm-svn: 90831 | |||||
* | Fix some direct checks of expressions which might be surrounded by parentheses. | Eli Friedman | 2009-12-08 | 2 | -4/+5 | |
| | | | | llvm-svn: 90825 | |||||
* | Make copy assignment operator synthesis not explode for classes with complex | Eli Friedman | 2009-12-08 | 1 | -2/+10 | |
| | | | | | | | | | | | | or non-record aggregate members. It might be worth spending some time to optimize this code (and the parallel code for copy constructors) to memcpy in larger chunks, rather than copying one member at a time. Not sure exactly how beneficial that would be, but it seems like could help for large classes with, for example, a vtable pointer forcing the generation of a copy constructor. llvm-svn: 90823 | |||||
* | Remove several .c_str() to be forward-compatible with StringRef. | Jeffrey Yasskin | 2009-12-08 | 1 | -2/+2 | |
| | | | | llvm-svn: 90822 | |||||
* | Fixup catch parameters with class reference type. WIP. | Mike Stump | 2009-12-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 90821 | |||||
* | No need to add tail padding if the resulting LLVM struct type will have the ↵ | Anders Carlsson | 2009-12-08 | 1 | -2/+8 | |
| | | | | | | same size as the final record size. llvm-svn: 90820 | |||||
* | A bunch more thunk fixes from misc testing. | Eli Friedman | 2009-12-07 | 4 | -54/+72 | |
| | | | | | | (Yes, I do intend to commit some tests for this.) llvm-svn: 90818 | |||||
* | Add codegen support for exception specifications. WIP. | Mike Stump | 2009-12-07 | 3 | -0/+127 | |
| | | | | llvm-svn: 90817 | |||||
* | Correctly handle conditional operators involving throw. | Eli Friedman | 2009-12-07 | 1 | -4/+5 | |
| | | | | llvm-svn: 90800 | |||||
* | Make the comma operator consistently call EnsureInsertPoint. | Eli Friedman | 2009-12-07 | 1 | -0/+1 | |
| | | | | llvm-svn: 90799 |