Export of internal Abseil changes
-- 034c30a00c64d93b9fcbc9d99a0a33801544d741 by Gennadiy Rozental <rogeeff@google.com>: Split private handle interfaces accessor into a separate target with private visibility. PiperOrigin-RevId: 310391488 -- 6f6ca869309b17900b90849e08488ce7f7b0193a by Derek Mauro <dmauro@google.com>: Remove __CLANG_SUPPORT_DYN_ANNOTATION__, which is a symbol defined by us to be true in all builds PiperOrigin-RevId: 310385325 -- ed5c1880c86973c000e826a3006b38e53ab3ed52 by Samuel Benzaquen <sbenza@google.com>: Add tests to exercise extreme width and precision, and fix the overflows from it. PiperOrigin-RevId: 310224957 GitOrigin-RevId: 034c30a00c64d93b9fcbc9d99a0a33801544d741 Change-Id: I6c89a3c89ae92fa617c696044148ce9a79bcdda8
This commit is contained in:
parent
bd317cae3b
commit
a35ef8a62c
17 changed files with 214 additions and 99 deletions
|
|
@ -118,7 +118,6 @@ cc_library(
|
|||
srcs = ["dynamic_annotations.cc"],
|
||||
hdrs = ["dynamic_annotations.h"],
|
||||
copts = ABSL_DEFAULT_COPTS,
|
||||
defines = ["__CLANG_SUPPORT_DYN_ANNOTATION__"],
|
||||
linkopts = ABSL_DEFAULT_LINKOPTS,
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -108,8 +108,6 @@ absl_cc_library(
|
|||
"dynamic_annotations.cc"
|
||||
COPTS
|
||||
${ABSL_DEFAULT_COPTS}
|
||||
DEFINES
|
||||
"__CLANG_SUPPORT_DYN_ANNOTATION__"
|
||||
PUBLIC
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -140,10 +140,7 @@
|
|||
#define ANNOTATE_MEMORY_IS_UNINITIALIZED(address, size) /* empty */
|
||||
#endif /* DYNAMIC_ANNOTATIONS_ENABLED || MEMORY_SANITIZER */
|
||||
|
||||
/* TODO(delesley) -- Replace __CLANG_SUPPORT_DYN_ANNOTATION__ with the
|
||||
appropriate feature ID. */
|
||||
#if defined(__clang__) && (!defined(SWIG)) \
|
||||
&& defined(__CLANG_SUPPORT_DYN_ANNOTATION__)
|
||||
#if defined(__clang__) && !defined(SWIG)
|
||||
|
||||
#if DYNAMIC_ANNOTATIONS_ENABLED == 0
|
||||
#define ANNOTALYSIS_ENABLED
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue