mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-27 14:45:24 +00:00
88e2967579
The ARM TargetParser would construct invalid StringRefs. This would cause asserts to trigger. Add some tests in LLVM to ensure that we dont regress on this in the future. Although there is a test for this in clang, this ensures that the changes would get caught in the same repository. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262790 91177308-0d34-0410-b5e6-96231b3b80d8
58 lines
1.1 KiB
CMake
58 lines
1.1 KiB
CMake
set(LLVM_LINK_COMPONENTS
|
|
Support
|
|
)
|
|
|
|
add_llvm_unittest(SupportTests
|
|
AlignOfTest.cpp
|
|
AllocatorTest.cpp
|
|
ArrayRecyclerTest.cpp
|
|
BlockFrequencyTest.cpp
|
|
BranchProbabilityTest.cpp
|
|
Casting.cpp
|
|
CommandLineTest.cpp
|
|
CompressionTest.cpp
|
|
ConvertUTFTest.cpp
|
|
DataExtractorTest.cpp
|
|
DwarfTest.cpp
|
|
EndianStreamTest.cpp
|
|
EndianTest.cpp
|
|
ErrorOrTest.cpp
|
|
FileOutputBufferTest.cpp
|
|
IteratorTest.cpp
|
|
LEB128Test.cpp
|
|
LineIteratorTest.cpp
|
|
LockFileManagerTest.cpp
|
|
MD5Test.cpp
|
|
ManagedStatic.cpp
|
|
MathExtrasTest.cpp
|
|
MemoryBufferTest.cpp
|
|
MemoryTest.cpp
|
|
Path.cpp
|
|
ProcessTest.cpp
|
|
ProgramTest.cpp
|
|
RegexTest.cpp
|
|
ReplaceFileTest.cpp
|
|
ScaledNumberTest.cpp
|
|
SourceMgrTest.cpp
|
|
SpecialCaseListTest.cpp
|
|
StreamingMemoryObject.cpp
|
|
StringPool.cpp
|
|
SwapByteOrderTest.cpp
|
|
TargetParserTest.cpp
|
|
ThreadLocalTest.cpp
|
|
ThreadPool.cpp
|
|
TimerTest.cpp
|
|
TimeValueTest.cpp
|
|
TypeNameTest.cpp
|
|
TrailingObjectsTest.cpp
|
|
UnicodeTest.cpp
|
|
YAMLIOTest.cpp
|
|
YAMLParserTest.cpp
|
|
formatted_raw_ostream_test.cpp
|
|
raw_ostream_test.cpp
|
|
raw_pwrite_stream_test.cpp
|
|
)
|
|
|
|
# ManagedStatic.cpp uses <pthread>.
|
|
target_link_libraries(SupportTests ${PTHREAD_LIB})
|