diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-11-07 20:14:51 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-11-07 20:14:51 +0000 |
commit | 889046043104e365e59a3c544ddb521173c07988 (patch) | |
tree | e33f57606d15a3864f97cc05c60a0beea22da437 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 2aa81a718e64fb4ca651ea12ab7afaeffc11e463 (diff) | |
download | llvm-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