mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-16 18:46:05 +00:00

This commit adds initial support to llvm-profdata to read and print summaries of raw memprof profiles. Summary of changes: * Refactor shared defs to MemProfData.inc * Extend show_main to display memprof profile summaries. * Add a simple raw memprof profile reader. * Add a couple of tests to tools/llvm-profdata. Differential Revision: https://reviews.llvm.org/D114286
25 lines
405 B
CMake
25 lines
405 B
CMake
add_llvm_component_library(LLVMProfileData
|
|
GCOV.cpp
|
|
InstrProf.cpp
|
|
InstrProfReader.cpp
|
|
InstrProfWriter.cpp
|
|
ProfileSummaryBuilder.cpp
|
|
SampleProf.cpp
|
|
SampleProfReader.cpp
|
|
SampleProfWriter.cpp
|
|
RawMemProfReader.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/ProfileData
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
|
|
LINK_COMPONENTS
|
|
Core
|
|
Support
|
|
Demangle
|
|
)
|
|
|
|
add_subdirectory(Coverage)
|