summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/clang/compiler-rt
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-03-16 09:10:54 -0700
committerKhem Raj <raj.khem@gmail.com>2017-03-16 09:10:54 -0700
commitda9df5ff07941351f14b2d406ffcf61b166d2cb5 (patch)
tree5199e04f23317778bcd8ee4fbfb4120c02005387 /recipes-devtools/clang/compiler-rt
parent3c289d9ab1bfda19199e5bcacba48256ac34886c (diff)
downloadmeta-clang-da9df5ff07941351f14b2d406ffcf61b166d2cb5.tar.gz
clang/compiler-rt: Use compiler-rt and libcxx as default runtime for target clang
One can still use -stdlib=libstdc++ and -rtlib=libgcc to use gcc runtime Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-devtools/clang/compiler-rt')
-rw-r--r--recipes-devtools/clang/compiler-rt/0003-Disable-tsan-on-OE-glibc.patch27
1 files changed, 20 insertions, 7 deletions
diff --git a/recipes-devtools/clang/compiler-rt/0003-Disable-tsan-on-OE-glibc.patch b/recipes-devtools/clang/compiler-rt/0003-Disable-tsan-on-OE-glibc.patch
index 67e660d..045f8ac 100644
--- a/recipes-devtools/clang/compiler-rt/0003-Disable-tsan-on-OE-glibc.patch
+++ b/recipes-devtools/clang/compiler-rt/0003-Disable-tsan-on-OE-glibc.patch
@@ -1,21 +1,22 @@
1From 622ef6bbd65f71ebbaf3525d50fb357e62631a08 Mon Sep 17 00:00:00 2001 1From 00ac81c887f0f6eb31bed1e516374b6aa01b6389 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 18 Jul 2016 08:05:02 +0000 3Date: Mon, 18 Jul 2016 08:05:02 +0000
4Subject: [PATCH 3/3] Disable tsan on OE/glibc 4Subject: [PATCH 3/4] Disable tsan on OE/glibc
5 5
6It does not build see 6It does not build see
7http://lists.llvm.org/pipermail/llvm-dev/2016-July/102235.html 7http://lists.llvm.org/pipermail/llvm-dev/2016-July/102235.html
8 8
9Signed-off-by: Khem Raj <raj.khem@gmail.com> 9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10--- 10---
11 cmake/config-ix.cmake | 2 +- 11 cmake/config-ix.cmake | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-) 12 test/sanitizer_common/CMakeLists.txt | 1 -
13 2 files changed, 1 insertion(+), 2 deletions(-)
13 14
14diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake 15diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
15index cb9f74b..d7e0fba 100644 16index e0e43552e..bb3c77f6d 100644
16--- a/cmake/config-ix.cmake 17--- a/cmake/config-ix.cmake
17+++ b/cmake/config-ix.cmake 18+++ b/cmake/config-ix.cmake
18@@ -472,7 +472,7 @@ else() 19@@ -491,7 +491,7 @@ else()
19 endif() 20 endif()
20 21
21 if (COMPILER_RT_HAS_SANITIZER_COMMON AND TSAN_SUPPORTED_ARCH AND 22 if (COMPILER_RT_HAS_SANITIZER_COMMON AND TSAN_SUPPORTED_ARCH AND
@@ -24,6 +25,18 @@ index cb9f74b..d7e0fba 100644
24 set(COMPILER_RT_HAS_TSAN TRUE) 25 set(COMPILER_RT_HAS_TSAN TRUE)
25 else() 26 else()
26 set(COMPILER_RT_HAS_TSAN FALSE) 27 set(COMPILER_RT_HAS_TSAN FALSE)
28diff --git a/test/sanitizer_common/CMakeLists.txt b/test/sanitizer_common/CMakeLists.txt
29index 9b4070b0f..e76f2680c 100644
30--- a/test/sanitizer_common/CMakeLists.txt
31+++ b/test/sanitizer_common/CMakeLists.txt
32@@ -8,7 +8,6 @@ if(CMAKE_SYSTEM_NAME MATCHES "Darwin|Linux|FreeBSD" AND NOT ANDROID)
33 list(APPEND SUPPORTED_TOOLS asan)
34 endif()
35 if(CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT ANDROID)
36- list(APPEND SUPPORTED_TOOLS tsan)
37 list(APPEND SUPPORTED_TOOLS msan)
38 list(APPEND SUPPORTED_TOOLS lsan)
39 endif()
27-- 40--
282.10.0 412.12.0
29 42