[lld] add context-sensitive PGO options for COFF.
authorYolanda Chen <yolanda.chen@intel.com>
Thu, 25 Mar 2021 02:55:18 +0000 (19:55 -0700)
committerPengfei Wang <pengfei.wang@intel.com>
Thu, 25 Mar 2021 06:40:09 +0000 (23:40 -0700)
commit4f9c61ef7229037f43d6502f5157050aeadb4605
treeeffc2730b8cccb90394982cbad9e696993c35165
parent3f143a10cc4fd7cd4a24b8bb380370d35bc58a2c
[lld] add context-sensitive PGO options for COFF.

Add lld CSPGO (Contex-Sensitive PGO) options for COFF target.

Reference the ELF options from https://reviews.llvm.org/D56675

Reviewed By: tejohnson

Differential Revision: https://reviews.llvm.org/D98763
lld/COFF/Config.h
lld/COFF/Driver.cpp
lld/COFF/LTO.cpp
lld/COFF/Options.td