[PATCH] D104431: [lld] Add lto-pgo-warn-mismatch option

Senran Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 11 02:20:18 PDT 2021


zsrkmyn added a comment.

I met the same issue. It may be fixed by the following patch.

  diff --git a/llvm/lib/LTO/CMakeLists.txt b/llvm/lib/LTO/CMakeLists.txt
  index e6adfd43e7f9..bbe256b3327b 100644
  --- a/llvm/lib/LTO/CMakeLists.txt
  +++ b/llvm/lib/LTO/CMakeLists.txt
  @@ -25,6 +25,7 @@ add_llvm_component_library(LLVMLTO
     Extensions
     IPO
     InstCombine
  +  LLVMInstrumentation
     Linker
     MC
     ObjCARC


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104431/new/

https://reviews.llvm.org/D104431



More information about the llvm-commits mailing list