aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stats
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-08-20 18:00:15 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-08-20 18:00:15 +0000
commit63714eb5809e39666dec2454c354195e76f916ba (patch)
treee3714cd783c265396c2ef3c117047e7c0ea41619 /lib/stats
parent0646903fc1f75f6e605754621119473ee083f4a4 (diff)
downloadsrc-63714eb5809e39666dec2454c354195e76f916ba.tar.gz
src-63714eb5809e39666dec2454c354195e76f916ba.zip
Remove upstream files and directories from vendor/compiler-rt/dist that
we do not use. This saves on repository space, and reduces the number of tree conflicts when merging.
Notes
Notes: svn path=/vendor/compiler-rt/dist/; revision=351268
Diffstat (limited to 'lib/stats')
-rw-r--r--lib/stats/CMakeLists.txt45
1 files changed, 0 insertions, 45 deletions
diff --git a/lib/stats/CMakeLists.txt b/lib/stats/CMakeLists.txt
deleted file mode 100644
index 23c80843195d..000000000000
--- a/lib/stats/CMakeLists.txt
+++ /dev/null
@@ -1,45 +0,0 @@
-set(STATS_HEADERS
- stats.h)
-
-include_directories(..)
-
-add_custom_target(stats)
-set_target_properties(stats PROPERTIES FOLDER "Compiler-RT Misc")
-
-if(APPLE)
- set(STATS_LIB_FLAVOR SHARED)
-
- set(STATS_LINK_LIBS ${SANITIZER_COMMON_LINK_LIBS})
-
- add_weak_symbols("asan" WEAK_SYMBOL_LINK_FLAGS)
- add_weak_symbols("ubsan" WEAK_SYMBOL_LINK_FLAGS)
- add_weak_symbols("sanitizer_common" WEAK_SYMBOL_LINK_FLAGS)
-else()
- set(STATS_LIB_FLAVOR STATIC)
-
- set(WEAK_SYMBOL_LINK_FLAGS)
-endif()
-
-add_compiler_rt_runtime(clang_rt.stats
- ${STATS_LIB_FLAVOR}
- ARCHS ${SANITIZER_COMMON_SUPPORTED_ARCH}
- OS ${SANITIZER_COMMON_SUPPORTED_OS}
- SOURCES stats.cc
- ADDITIONAL_HEADERS ${STATS_HEADERS}
- OBJECT_LIBS RTSanitizerCommon
- RTSanitizerCommonLibc
- RTSanitizerCommonSymbolizer
- CFLAGS ${SANITIZER_COMMON_CFLAGS}
- LINK_FLAGS ${SANITIZER_COMMON_LINK_FLAGS} ${WEAK_SYMBOL_LINK_FLAGS}
- LINK_LIBS ${STATS_LINK_LIBS}
- PARENT_TARGET stats)
-
-add_compiler_rt_runtime(clang_rt.stats_client
- STATIC
- ARCHS ${SANITIZER_COMMON_SUPPORTED_ARCH}
- OS ${SANITIZER_COMMON_SUPPORTED_OS}
- SOURCES stats_client.cc
- ADDITIONAL_HEADERS ${STATS_HEADERS}
- CFLAGS ${SANITIZER_COMMON_CFLAGS}
- LINK_FLAGS ${WEAK_SYMBOL_LINK_FLAGS}
- PARENT_TARGET stats)