commit | ae79222014a7a90a2c2d4a04e67deac0012a0461 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Sat Sep 18 05:25:11 2010 +0000 |
committer | John McCall <rjmccall@apple.com> | Sat Sep 18 05:25:11 2010 +0000 |
tree | 582630fe77479738bfd35aff12a2abcb2f7ddcc5 | |
parent | 8abdbd8118e37e759d1ce3f5814ee0a24b1589e8 [diff] |
static local variables with destructors don't require a global destructor unless we're on a platform without __cxa_atexit (or use thereof has been disabled). This patch actually just disables the check completely for static locals, but I've filed http://llvm.org/bugs/show_bug.cgi?id=8176 to track the platform-specific fix. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114269 91177308-0d34-0410-b5e6-96231b3b80d8