diff options
author | Alexandru Croitor <alexandru.croitor@theqtcompany.com> | 2016-04-07 18:50:27 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@theqtcompany.com> | 2016-04-18 13:40:34 +0000 |
commit | a4f3d46271c57e8155ba912df46a05559d14726e (patch) | |
tree | e327e28615406f23eedc5c075534b2b2d12d1d48 /chromium/buildtools/third_party/libc++/trunk/include/cstddef | |
parent | e692e2497792ab1afe57353aa700270859ebadf7 (diff) | |
download | qtwebengine-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++/trunk/include/cstddef')
-rw-r--r-- | chromium/buildtools/third_party/libc++/trunk/include/cstddef | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/chromium/buildtools/third_party/libc++/trunk/include/cstddef b/chromium/buildtools/third_party/libc++/trunk/include/cstddef new file mode 100644 index 00000000000..edd106c001b --- /dev/null +++ b/chromium/buildtools/third_party/libc++/trunk/include/cstddef @@ -0,0 +1,60 @@ +// -*- C++ -*- +//===--------------------------- cstddef ----------------------------------===// +// +// 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 _LIBCPP_CSTDDEF +#define _LIBCPP_CSTDDEF + +/* + cstddef synopsis + +Macros: + + offsetof(type,member-designator) + NULL + +namespace std +{ + +Types: + + ptrdiff_t + size_t + max_align_t + nullptr_t + +} // std + +*/ + +#include <__config> + +#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) +#pragma GCC system_header +#endif + +// Don't include our own <stddef.h>; we don't want to declare ::nullptr_t. +#include_next <stddef.h> +#include <__nullptr> + +_LIBCPP_BEGIN_NAMESPACE_STD + +using ::ptrdiff_t; +using ::size_t; + +#if defined(__CLANG_MAX_ALIGN_T_DEFINED) || defined(_GCC_MAX_ALIGN_T) +// Re-use the compiler's <stddef.h> max_align_t where possible. +using ::max_align_t; +#else +typedef long double max_align_t; +#endif + +_LIBCPP_END_NAMESPACE_STD + +#endif // _LIBCPP_CSTDDEF |