- 6194c9b0d6dbdbeeb27b19d5c61562f985b25ff2 Removing support for NaCL in dynamic_annotations.h. by Abseil Team <absl-team@google.com>
- 6f89386971a21422c4cd9653e965c96d9f7a3573 Fix handling of VDSOs that are loaded lower then their li... by Abseil Team <absl-team@google.com> - f27a7269ab714c9c75fe4e15fa1bce8b12531a92 Check that __GLIBC__ is defined before checking for __GLI... by Derek Mauro <dmauro@google.com> GitOrigin-RevId: 6194c9b0d6dbdbeeb27b19d5c61562f985b25ff2 Change-Id: I3eceb6f76bf2b25d55d1f5f77fba57af947da0cf
This commit is contained in:
parent
dd9911a004
commit
add89fd0e4
3 changed files with 3 additions and 42 deletions
|
|
@ -50,25 +50,6 @@
|
|||
# define DYNAMIC_ANNOTATIONS_ENABLED 0
|
||||
#endif
|
||||
|
||||
#if defined(__native_client__)
|
||||
#include "nacl/dynamic_annotations.h"
|
||||
|
||||
// Stub out the macros missing from the NaCl version.
|
||||
#ifndef ANNOTATE_CONTIGUOUS_CONTAINER
|
||||
#define ANNOTATE_CONTIGUOUS_CONTAINER(beg, end, old_mid, new_mid)
|
||||
#endif
|
||||
#ifndef ANNOTATE_RWLOCK_CREATE_STATIC
|
||||
#define ANNOTATE_RWLOCK_CREATE_STATIC(lock)
|
||||
#endif
|
||||
#ifndef ADDRESS_SANITIZER_REDZONE
|
||||
#define ADDRESS_SANITIZER_REDZONE(name)
|
||||
#endif
|
||||
#ifndef ANNOTATE_MEMORY_IS_UNINITIALIZED
|
||||
#define ANNOTATE_MEMORY_IS_UNINITIALIZED(address, size)
|
||||
#endif
|
||||
|
||||
#else /* !__native_client__ */
|
||||
|
||||
#if DYNAMIC_ANNOTATIONS_ENABLED != 0
|
||||
|
||||
/* -------------------------------------------------------------
|
||||
|
|
@ -404,6 +385,4 @@ inline T ANNOTATE_UNPROTECTED_READ(const volatile T &x) { /* NOLINT */
|
|||
#undef ATTRIBUTE_IGNORE_READS_BEGIN
|
||||
#undef ATTRIBUTE_IGNORE_READS_END
|
||||
|
||||
#endif /* !__native_client__ */
|
||||
|
||||
#endif /* ABSL_BASE_DYNAMIC_ANNOTATIONS_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue