llvm-project/llvm/unittests/ProfileData/CMakeLists.txt
Simon Pilgrim 6c8fe96582 [Support] Move ItaniumManglingCanonicalizer and SymbolRemappingReader from Support to ProfileData
As mentioned on https://discourse.llvm.org/t/issues-in-llvm-tblgen-high-parallelized-build/68037, ItaniumManglingCanonicalizer is often slow to build, resulting in a bottleneck for distributed builds while waiting for LLVMSupport to complete.

SymbolRemappingReader is the only current user of ItaniumManglingCanonicalizer, and this is only used by ProfileData and llvm-cxxmap - so I propose we move both files into the ProfileData library.

Differential Revision: https://reviews.llvm.org/D143318
2023-02-06 20:55:48 +00:00

20 lines
368 B
CMake

set(LLVM_LINK_COMPONENTS
Core
Coverage
ProfileData
Support
Object
)
add_llvm_unittest(ProfileDataTests
CoverageMappingTest.cpp
InstrProfDataTest.cpp
InstrProfTest.cpp
ItaniumManglingCanonicalizerTest.cpp
MemProfTest.cpp
SampleProfTest.cpp
SymbolRemappingReaderTest.cpp
)
target_link_libraries(ProfileDataTests PRIVATE LLVMTestingSupport)