llvm-project/llvm/lib/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

33 lines
561 B
CMake

add_llvm_component_library(LLVMProfileData
GCOV.cpp
InstrProf.cpp
InstrProfCorrelator.cpp
InstrProfReader.cpp
InstrProfWriter.cpp
ItaniumManglingCanonicalizer.cpp
MemProf.cpp
ProfileSummaryBuilder.cpp
RawMemProfReader.cpp
SampleProf.cpp
SampleProfReader.cpp
SampleProfWriter.cpp
SymbolRemappingReader.cpp
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/ProfileData
DEPENDS
intrinsics_gen
LINK_COMPONENTS
Core
Object
Support
Demangle
Symbolize
DebugInfoDWARF
TargetParser
)
add_subdirectory(Coverage)