
Migrate pseudo probe decoding logic in llvm-profgen to MC, so other LLVM-base program could reuse existing codes. Redesign object layout of encoded and decoded pseudo probes. Reviewed By: hoy Differential Revision: https://reviews.llvm.org/D106861
23 lines
303 B
CMake
23 lines
303 B
CMake
|
|
set(LLVM_LINK_COMPONENTS
|
|
AllTargetsDescs
|
|
AllTargetsDisassemblers
|
|
AllTargetsInfos
|
|
Core
|
|
MC
|
|
IPO
|
|
MCDisassembler
|
|
Object
|
|
ProfileData
|
|
Support
|
|
Symbolize
|
|
)
|
|
|
|
add_llvm_tool(llvm-profgen
|
|
llvm-profgen.cpp
|
|
PerfReader.cpp
|
|
CSPreInliner.cpp
|
|
ProfiledBinary.cpp
|
|
ProfileGenerator.cpp
|
|
)
|