[PATCH] D14487: [PGO]: Add llvm main include dir to profile runtime header path.
David Li via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 8 10:08:14 PST 2015
davidxl created this revision.
davidxl added reviewers: vsk, bogner.
davidxl added a subscriber: llvm-commits.
This is a preparation patch to allow the runtime code to include common definitions including per function header, raw header struct, raw version, raw magic and section names.
http://reviews.llvm.org/D14487
Files:
lib/profile/CMakeLists.txt
Index: lib/profile/CMakeLists.txt
===================================================================
--- lib/profile/CMakeLists.txt
+++ 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.39653.patch
Type: text/x-patch
Size: 355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151108/79cf8dfe/attachment.bin>
More information about the llvm-commits
mailing list