aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2014-01-16 06:29:36 +0000
committerBill Wendling <isanbard@gmail.com>2014-01-16 06:29:36 +0000
commit91686d6dee735c7bce085c81e9cdc3f1e633a19f (patch)
treeb574963345608a141a0672068be403db40775d5e /clang/lib/Frontend/CompilerInvocation.cpp
parent8a60fff26016ea25b3af477d4945397c4242b42e (diff)
downloadllvm-91686d6dee735c7bce085c81e9cdc3f1e633a19f.zip
llvm-91686d6dee735c7bce085c81e9cdc3f1e633a19f.tar.gz
llvm-91686d6dee735c7bce085c81e9cdc3f1e633a19f.tar.bz2
Reapply r194218 with fix:
Move copying of global initializers below the cloning of functions. The BlockAddress doesn't have access to the correct basic blocks until the functions have been cloned. This causes the BlockAddress to point to the old values. Just wait until the functions have been cloned before copying the initializers. PR13163 llvm-svn: 199354
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions