]> granicus.if.org Git - clang/commit
Emit global destructors even if the destroyed object has no initializers or has
authorJohn McCall <rjmccall@apple.com>
Fri, 30 Jul 2010 04:56:58 +0000 (04:56 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 30 Jul 2010 04:56:58 +0000 (04:56 +0000)
commit85aca0f6a9da02bda705690fd56d0aa713604f08
treee79d0f747b38f2a09a9628415563cda0bc814a71
parent117e3f4cd4d6ea41c3202da8729f94168c5c8239
Emit global destructors even if the destroyed object has no initializers or has
an initializer requiring temporary object disposal.

Fixes rdar:://problem/8246444.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109849 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDeclCXX.cpp
test/CodeGenCXX/global-init.cpp