diff options
author | John McCall <rjmccall@apple.com> | 2012-03-30 07:09:50 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2012-03-30 07:09:50 +0000 |
commit | 49d26d2817180ccde605c987f79cd3a5b57639cd (patch) | |
tree | e300661d68dad6d9ccfb244cfa16a59be22944d9 /lib/CodeGen/CGCXXABI.cpp | |
parent | 5aeaca3fa755cddba583842e7a0c3e168bf71b4d (diff) |
Do the static-locals thing properly in the face of unions and
other things which might mess with the variable's type.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153733 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCXXABI.cpp')
-rw-r--r-- | lib/CodeGen/CGCXXABI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGCXXABI.cpp b/lib/CodeGen/CGCXXABI.cpp index befebbecbd..998795d585 100644 --- a/lib/CodeGen/CGCXXABI.cpp +++ b/lib/CodeGen/CGCXXABI.cpp @@ -172,7 +172,7 @@ void CGCXXABI::ReadArrayCookie(CodeGenFunction &CGF, llvm::Value *Ptr, void CGCXXABI::EmitGuardedInit(CodeGenFunction &CGF, const VarDecl &D, - llvm::GlobalVariable *GV, + llvm::Constant *GV, bool PerformInit) { ErrorUnsupportedABI(CGF, "static local variable initialization"); } |