[PATCH] D14487: [PGO]: Add llvm main include dir to profile runtime header path.

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 9 17:56:12 PST 2015


beanz added a comment.

There are a lot of uses of out-of-tree compiler-rt builds.

(1) gcc uses the sanitizers
(2) LLVM_BUILD_EXTERNAL_COMPILER_RT is a CMake option that does an out-of-tree build in-tree. Basically CMake magic to use the just-built clang
(3) we support building Clang out-of-tree against installed LLVM binaries, and those people need to build compiler-rt too.

I'm sure there are more reasons people do this.

We explicitly don't have dependencies between compiler-rt and other LLVM projects because there are people who use compiler-rt with other compilers, and there is no hard technical tie between compiler-rt and clang or LLVM.

-Chris


Repository:
  rL LLVM

http://reviews.llvm.org/D14487





More information about the llvm-commits mailing list