[PATCH] D75499: [cmake] By default do not build compiler-rt with PGO instrumentation or use

Zhizhou Yang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 5 15:21:44 PST 2020


zhizhouy added a comment.

> Do you have to build compiler_rt in instrumentation build? Is it a way to avoid?

Specifically in ChromeOS, due to build system limit for now, we have to build compiler_rt with clang at the same time and only once.

If we only build an instrumented clang, ChromeOS will remove the bootstrap version compiler_rt after the build, thus lead to a broken toolchain.

Because of the behavior of ChromeOS, I would say this patch would help.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75499





More information about the llvm-commits mailing list