mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 20:06:05 +00:00

Intel Vtune/SEP has supported collecting LBR on Windows and generating perf-script file which is same format as Linux perf script. This patch teaches llvm-profgen to disassemble COFF binary so that we can do Sampling based PGO on Windows.