mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-26 05:56:51 +00:00
a950ad4eec
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
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}
|
|
)
|