aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-04-26 05:48:41 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-04-26 05:48:41 +0000
commite88c724ff09b3d24bcb515b382ded9ee4e885ee5 (patch)
tree4ece0d39540f58da1768fc00bad93e907c79c497 /runtime
parentb16d06f88a81a5163e0caffad4bb268a8e1d0204 (diff)
Add cmakefiles to build profile_rt.so!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130191 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime')
-rw-r--r--runtime/CMakeLists.txt1
-rw-r--r--runtime/libprofile/CMakeLists.txt9
2 files changed, 10 insertions, 0 deletions
diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt
new file mode 100644
index 0000000000..bcdaf8427b
--- /dev/null
+++ b/runtime/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory(libprofile)
diff --git a/runtime/libprofile/CMakeLists.txt b/runtime/libprofile/CMakeLists.txt
new file mode 100644
index 0000000000..92182d7f8f
--- /dev/null
+++ b/runtime/libprofile/CMakeLists.txt
@@ -0,0 +1,9 @@
+add_llvm_loadable_module( profile_rt
+ BasicBlockTracing.c
+ CommonProfiling.c
+ GCDAProfiling.c
+ PathProfiling.c
+ EdgeProfiling.c
+ OptimalEdgeProfiling.c
+ Profiling.h
+ )