llvm-6502/unittests/Linker/CMakeLists.txt
Bill Wendling a950ad4eec 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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199354 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-16 06:29:36 +00:00

13 lines
144 B
CMake

set(LLVM_LINK_COMPONENTS
core
linker
)
set(LinkerSources
LinkModulesTest.cpp
)
add_llvm_unittest(LinkerTests
${LinkerSources}
)