mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
1f970ccb7a
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
13 lines
144 B
CMake
13 lines
144 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
core
|
|
linker
|
|
)
|
|
|
|
set(LinkerSources
|
|
LinkModulesTest.cpp
|
|
)
|
|
|
|
add_llvm_unittest(LinkerTests
|
|
${LinkerSources}
|
|
)
|