mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
748a8df964
This patch adds initial unit tests for appendToUsedList in the ModuleUtils. It specifically tests changes from https://reviews.llvm.org/D101363 which intent to allow insertion of globals in non-zero address spaces into the llvm used lists. Reviewed by: dblaikie Differential Revision: https://reviews.llvm.org/D101746
31 lines
583 B
CMake
31 lines
583 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Analysis
|
|
AsmParser
|
|
BitWriter
|
|
Core
|
|
Support
|
|
TransformUtils
|
|
)
|
|
|
|
add_llvm_unittest(UtilsTests
|
|
ASanStackFrameLayoutTest.cpp
|
|
BasicBlockUtilsTest.cpp
|
|
CallPromotionUtilsTest.cpp
|
|
CloningTest.cpp
|
|
CodeExtractorTest.cpp
|
|
CodeMoverUtilsTest.cpp
|
|
DebugifyTest.cpp
|
|
FunctionComparatorTest.cpp
|
|
IntegerDivisionTest.cpp
|
|
LocalTest.cpp
|
|
LoopRotationUtilsTest.cpp
|
|
LoopUtilsTest.cpp
|
|
ModuleUtilsTest.cpp
|
|
ScalarEvolutionExpanderTest.cpp
|
|
SizeOptsTest.cpp
|
|
SSAUpdaterBulkTest.cpp
|
|
UnrollLoopTest.cpp
|
|
ValueMapperTest.cpp
|
|
VFABIUtils.cpp
|
|
)
|