aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-11-07 20:14:51 +0000
committerBill Wendling <isanbard@gmail.com>2013-11-07 20:14:51 +0000
commit889046043104e365e59a3c544ddb521173c07988 (patch)
treee33f57606d15a3864f97cc05c60a0beea22da437 /clang/lib/Frontend/CompilerInvocation.cpp
parent2aa81a718e64fb4ca651ea12ab7afaeffc11e463 (diff)
downloadllvm-889046043104e365e59a3c544ddb521173c07988.zip
llvm-889046043104e365e59a3c544ddb521173c07988.tar.gz
llvm-889046043104e365e59a3c544ddb521173c07988.tar.bz2
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: 194218
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions