From 5d5f2c37d57276c9320dd2677d355d47fa4bc5c4 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 7 Nov 2013 20:14:51 +0000 Subject: 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194218 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unittests/Makefile') diff --git a/unittests/Makefile b/unittests/Makefile index 06ba93243e..fc7e780df3 100644 --- a/unittests/Makefile +++ b/unittests/Makefile @@ -10,7 +10,7 @@ LEVEL = .. PARALLEL_DIRS = ADT Analysis Bitcode CodeGen DebugInfo ExecutionEngine IR \ - MC Object Option Support Transforms + Linker MC Object Option Support Transforms include $(LEVEL)/Makefile.common -- cgit v1.2.3