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

David Li via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 9 16:38:06 PST 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL252570: [PGO] Add LLVM main include dir to profile runtime build (authored by davidxl).

Changed prior to commit:
  http://reviews.llvm.org/D14487?vs=39653&id=39771#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D14487

Files:
  compiler-rt/trunk/lib/profile/CMakeLists.txt

Index: compiler-rt/trunk/lib/profile/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/lib/profile/CMakeLists.txt
+++ compiler-rt/trunk/lib/profile/CMakeLists.txt
@@ -11,6 +11,8 @@
   InstrProfilingRuntime.cc
   InstrProfilingUtil.c)
 
+include_directories("${LLVM_MAIN_INCLUDE_DIR}")
+
 if(APPLE)
   add_compiler_rt_runtime(clang_rt.profile
     STATIC


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14487.39771.patch
Type: text/x-patch
Size: 409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151110/8cb4e08e/attachment.bin>


More information about the llvm-commits mailing list