[PATCH] Fix IRGen for referencing a static local before emitting its decl
Reid Kleckner
rnk at google.com
Mon Sep 15 14:49:18 PDT 2014
- Use getOrCreate* instead of GetAddr* and Create*
- Emit constant initializers of local statics
http://reviews.llvm.org/D4787
Files:
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGExprConstant.cpp
lib/CodeGen/CodeGenFunction.h
lib/CodeGen/CodeGenModule.h
test/CodeGenCXX/static-local-in-local-class.cpp
test/CodeGenObjC/local-static-block.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4787.13732.patch
Type: text/x-patch
Size: 19456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140915/b6e3b3cf/attachment.bin>
More information about the cfe-commits
mailing list