summaryrefslogtreecommitdiff
path: root/chromium/buildtools/third_party/libc++abi/trunk/include/__cxxabi_config.h
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@theqtcompany.com>2016-04-07 18:50:27 +0200
committerAlexandru Croitor <alexandru.croitor@theqtcompany.com>2016-04-18 13:40:34 +0000
commita4f3d46271c57e8155ba912df46a05559d14726e (patch)
treee327e28615406f23eedc5c075534b2b2d12d1d48 /chromium/buildtools/third_party/libc++abi/trunk/include/__cxxabi_config.h
parente692e2497792ab1afe57353aa700270859ebadf7 (diff)
downloadqtwebengine-chromium-a4f3d46271c57e8155ba912df46a05559d14726e.tar.gz
Add sanitizer dependencies.
Add libc++ and libc++abi third_party libraries for ASan builds. Add blacklist rules for all sanitizers. Change-Id: I65beaa1c5bb21e971f8333f0dcad8aed316c9f3c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'chromium/buildtools/third_party/libc++abi/trunk/include/__cxxabi_config.h')
-rw-r--r--chromium/buildtools/third_party/libc++abi/trunk/include/__cxxabi_config.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/chromium/buildtools/third_party/libc++abi/trunk/include/__cxxabi_config.h b/chromium/buildtools/third_party/libc++abi/trunk/include/__cxxabi_config.h
new file mode 100644
index 00000000000..68e325ffef6
--- /dev/null
+++ b/chromium/buildtools/third_party/libc++abi/trunk/include/__cxxabi_config.h
@@ -0,0 +1,44 @@
+//===-------------------------- __cxxabi_config.h -------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef ____CXXABI_CONFIG_H
+#define ____CXXABI_CONFIG_H
+
+#if defined(__arm__) && !defined(__USING_SJLJ_EXCEPTIONS__) && \
+ !defined(__ARM_DWARF_EH__)
+#define LIBCXXABI_ARM_EHABI 1
+#else
+#define LIBCXXABI_ARM_EHABI 0
+#endif
+
+#if !defined(__has_attribute)
+#define __has_attribute(_attribute_) 0
+#endif
+
+#if defined(_LIBCXXABI_DLL)
+ #if defined(cxxabi_EXPORTS)
+ #define _LIBCXXABI_HIDDEN
+ #define _LIBCXXABI_FUNC_VIS __declspec(dllexport)
+ #define _LIBCXXABI_TYPE_VIS __declspec(dllexport)
+ #else
+ #define _LIBCXXABI_HIDDEN
+ #define _LIBCXXABI_FUNC_VIS __declspec(dllimport)
+ #define _LIBCXXABI_TYPE_VIS __declspec(dllimport)
+ #endif
+#else
+ #define _LIBCXXABI_HIDDEN __attribute__((__visibility__("hidden")))
+ #define _LIBCXXABI_FUNC_VIS __attribute__((__visibility__("default")))
+ #if __has_attribute(__type_visibility__)
+ #define _LIBCXXABI_TYPE_VIS __attribute__((__type_visibility__("default")))
+ #else
+ #define _LIBCXXABI_TYPE_VIS __attribute__((__visibility__("default")))
+ #endif
+#endif
+
+#endif // ____CXXABI_CONFIG_H