1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/unittests/Linker/CMakeLists.txt
Bill Wendling 1f970ccb7a 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
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}
)