]> granicus.if.org Git - clang/commit
block variables on lhs need be ir-gen'ed after the
authorFariborz Jahanian <fjahanian@apple.com>
Fri, 29 Apr 2011 21:53:21 +0000 (21:53 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Fri, 29 Apr 2011 21:53:21 +0000 (21:53 +0000)
commit2c7168c660ab2b961ad48087e02cca96f7bb94d2
tree75a0bfc3cf47ff301aae42d85fa36ccee2dcc3a9
parent8c367589b68019b040f73d44282fc30e4f526f62
block variables on lhs need be ir-gen'ed after the
rhs when its 'forwarding' pointer may be modified
in rhs evaluation as result of call to Block_copy.
// rdar://9309454

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130545 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprAgg.cpp
test/CodeGen/block-byref-aggr.c [new file with mode: 0644]