Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Rename __tcf_ to __cxx_global_array_dtor. Remove the ↵ | Anders Carlsson | 2010-06-08 | 1 | -3/+2 | |
| | | | | | | UniqueAggreDestructorCount from CodeGenFunction and let LLVM handle uniquing the internal functions instead. llvm-svn: 105648 | |||||
* | Move GenerateCXXAggrDestructorHelper to CGDeclCXX.cpp where it belongs. | Anders Carlsson | 2010-06-08 | 1 | -0/+37 | |
| | | | | llvm-svn: 105647 | |||||
* | Simplify GenerateCXXAggrDestructorHelper. | Anders Carlsson | 2010-06-08 | 1 | -4/+3 | |
| | | | | llvm-svn: 105646 | |||||
* | When initializing thread-safe statics, put the call to | Douglas Gregor | 2010-05-16 | 1 | -8/+64 | |
| | | | | | | | | | | | | | __cxa_guard_abort along the exceptional edge into (in effect) a nested "try" that rethrows after aborting. Fixes PR7144 and the remaining Boost.ProgramOptions failures, along with the regressions that r103880 caused. The crucial difference between this and r103880 is that we now follow LLVM's little dance with the llvm.eh.exception and llvm.eh.selector calls, then use _Unwind_Resume_or_Rethrow to rethrow. llvm-svn: 103892 | |||||
* | Revert r103880 (thread-safe static initialization w/ exceptions), | Douglas Gregor | 2010-05-16 | 1 | -26/+8 | |
| | | | | | | because it's causing strange linker errors. Unfixes PR7144. llvm-svn: 103890 | |||||
* | When initializing thread-safe statics, put the call to | Douglas Gregor | 2010-05-15 | 1 | -8/+26 | |
| | | | | | | | | __cxa_guard_abort along the exceptional edge into (in effect) a nested "try" that rethrows after aborting. Fixes PR7144 and the remaining Boost.ProgramOptions failures. llvm-svn: 103880 | |||||
* | For thread-safe static initialization of local statics with | Douglas Gregor | 2010-05-05 | 1 | -33/+48 | |
| | | | | | | | | destructors, place the __cxa_atexit call after the __cxa_guard_release call, mimicking GCC/LLVM-GCC behavior. Noticed while debugging something related. llvm-svn: 103088 | |||||
* | Emit the globals, metadata, etc. associated with static variables even when | John McCall | 2010-05-04 | 1 | -0/+3 | |
| | | | | | | | | they're unreachable. This matters because (if they're POD, or if this is C) the scope containing the variable might be reachable even if the variable isn't. Fixes PR7044. llvm-svn: 103052 | |||||
* | emit dtors with the right calling convention in -fno-use-cxa-atexit | Chris Lattner | 2010-04-26 | 1 | -3/+8 | |
| | | | | | | mode. llvm-svn: 102377 | |||||
* | C++: Add support for -fno-use-cxa-atexit. | Daniel Dunbar | 2010-03-20 | 1 | -16/+73 | |
| | | | | | | | | - So much typing, so little gain... Also, rename the __cxx_global_initialization function just to match llvm-gcc. llvm-svn: 99039 | |||||
* | IRgen: Inline GenerateCXXGlobal[VarDecl]InitFunc into sole caller. | Daniel Dunbar | 2010-03-20 | 1 | -30/+15 | |
| | | | | llvm-svn: 99038 | |||||
* | Add support for threadsafe statics, and make them the default (matching gcc). | Anders Carlsson | 2010-02-06 | 1 | -22/+85 | |
| | | | | | | Daniel, I'd appreciate a review of the driver/cc1 parts. llvm-svn: 95508 | |||||
* | Revert the new reference binding code; I came up with a way simpler solution ↵ | Anders Carlsson | 2010-02-03 | 1 | -2/+2 | |
| | | | | | | for the reference binding bug that is preventing self-hosting. llvm-svn: 95223 | |||||
* | global variable that binds reference to a non-lvalue reproted | Fariborz Jahanian | 2010-01-25 | 1 | -2/+7 | |
| | | | | | | as NYI now. llvm-svn: 94453 | |||||
* | Fix a code gen. bug involving compiling global references. | Fariborz Jahanian | 2010-01-25 | 1 | -2/+2 | |
| | | | | | | (fixes radar 7574896). llvm-svn: 94434 | |||||
* | Fix for PR5967: Make const-marking for LLVM globals correct for cases requiring | Eli Friedman | 2010-01-08 | 1 | -6/+30 | |
| | | | | | | | run-time initialization, and emit run-time initializers aggresively to avoid ordering issues with deferred globals. llvm-svn: 92976 | |||||
* | Actually store the pointer into the global variable, spotted by Eli. | Anders Carlsson | 2009-12-10 | 1 | -2/+5 | |
| | | | | llvm-svn: 91036 | |||||
* | 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 | 1 | -0/+117 | |
| | | | | llvm-svn: 91012 | |||||
* | Add CGDeclCXX.cpp and move EmitCXXGlobalVarDeclInit there. | Anders Carlsson | 2009-12-10 | 1 | -0/+62 | |
llvm-svn: 91006 |