mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
99f8b94bce
All the PassBuilder::parse interfaces now return descriptive StringError instead of a plain bool. It allows to make -passes/aa-pipeline parsing errors context-specific and thus less confusing. TODO: ideally we should also make suggestions for misspelled pass names, but that requires some extensions to PassBuilder. Reviewed By: philip.pfaffe, chandlerc Differential Revision: https://reviews.llvm.org/D53246 llvm-svn: 344685
45 lines
845 B
CMake
45 lines
845 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Analysis
|
|
AsmParser
|
|
Core
|
|
Support
|
|
Passes
|
|
)
|
|
|
|
add_llvm_unittest(IRTests
|
|
AsmWriterTest.cpp
|
|
AttributesTest.cpp
|
|
BasicBlockTest.cpp
|
|
CFGBuilder.cpp
|
|
ConstantRangeTest.cpp
|
|
ConstantsTest.cpp
|
|
DebugInfoTest.cpp
|
|
DebugTypeODRUniquingTest.cpp
|
|
DominatorTreeTest.cpp
|
|
DominatorTreeBatchUpdatesTest.cpp
|
|
DomTreeUpdaterTest.cpp
|
|
FunctionTest.cpp
|
|
PassBuilderCallbacksTest.cpp
|
|
IRBuilderTest.cpp
|
|
InstructionsTest.cpp
|
|
IntrinsicsTest.cpp
|
|
LegacyPassManagerTest.cpp
|
|
MDBuilderTest.cpp
|
|
ManglerTest.cpp
|
|
MetadataTest.cpp
|
|
ModuleTest.cpp
|
|
PassManagerTest.cpp
|
|
PatternMatch.cpp
|
|
TypeBuilderTest.cpp
|
|
TypesTest.cpp
|
|
UseTest.cpp
|
|
UserTest.cpp
|
|
ValueHandleTest.cpp
|
|
ValueMapTest.cpp
|
|
ValueTest.cpp
|
|
VerifierTest.cpp
|
|
WaymarkTest.cpp
|
|
)
|
|
|
|
target_link_libraries(IRTests PRIVATE LLVMTestingSupport)
|