Tighten up checking of the validity of casts. (1) The IR parser would
[oota-llvm.git] / runtime / libprofile / CMakeLists.txt
1 set(SOURCES
2   BasicBlockTracing.c
3   CommonProfiling.c
4   GCDAProfiling.c
5   PathProfiling.c
6   EdgeProfiling.c
7   OptimalEdgeProfiling.c
8   Profiling.h
9   )
10
11 add_llvm_library( profile_rt-static ${SOURCES} )
12 set_target_properties( profile_rt-static
13   PROPERTIES
14   OUTPUT_NAME "profile_rt" )
15
16 add_llvm_loadable_module( profile_rt-shared ${SOURCES} )
17 set_target_properties( profile_rt-shared
18   PROPERTIES
19   OUTPUT_NAME "profile_rt" )