proxygen
|
#include <folly/portability/Config.h>
Go to the source code of this file.
Macros | |
#define | __GNUC_PREREQ(maj, min) 0 |
#define | __CLANG_PREREQ(maj, min) 0 |
#define | FOLLY_HAS_BUILTIN(...) 0 |
#define | FOLLY_HAS_FEATURE(...) 0 |
#define | FOLLY_DISABLE_ADDRESS_SANITIZER |
#define | FOLLY_DISABLE_UNDEFINED_BEHAVIOR_SANITIZER(...) |
#define | FOLLY_EXPORT |
#define | FOLLY_NOINLINE |
#define | FOLLY_ALWAYS_INLINE inline |
#define | FOLLY_ATTR_VISIBILITY_HIDDEN |
#define | FOLLY_ATTR_WEAK |
#define __CLANG_PREREQ | ( | maj, | |
min | |||
) | 0 |
Definition at line 46 of file CPortability.h.
#define __GNUC_PREREQ | ( | maj, | |
min | |||
) | 0 |
Portable version check.
Definition at line 34 of file CPortability.h.
#define FOLLY_ALWAYS_INLINE inline |
Definition at line 151 of file CPortability.h.
Referenced by folly::compression::instructions::Default::blsr(), folly::compression::instructions::Haswell::blsr(), folly::symbolizer::detail::fixFrameArray(), folly::exception_wrapper_detail::fold(), folly::symbolizer::getStackTrace(), folly::threadlocal_detail::ThreadEntryNode::getThreadEntry(), folly::threadlocal_detail::StaticMetaBase::getThreadEntryList(), folly::F14VectorSet< Key, Hasher, KeyEqual, Alloc >::operator=(), folly::F14VectorMap< Key, Mapped, Hasher, KeyEqual, Alloc >::operator=(), folly::Baton< MayBlock, Atom >::post(), folly::SaturatingSemaphore< true, Atom >::post(), folly::select64(), folly::detail::terminate_with_(), folly::throw_exception(), folly::hazptr_holder< Atom >::try_protect(), folly::RelaxedConcurrentPriorityQueue< T, MayBlock, SupportsSize, PopBatch, ListTargetSize, Mutex, Atom >::trylockNode(), folly::UnboundedQueue< T, false, 6 >::tryPeekUntil(), and folly::via().
#define FOLLY_ATTR_VISIBILITY_HIDDEN |
Definition at line 160 of file CPortability.h.
Referenced by folly::exception_wrapper_detail::fold(), folly::detail::terminate_with_(), folly::throw_exception(), and folly::via().
#define FOLLY_ATTR_WEAK |
Definition at line 167 of file CPortability.h.
Referenced by duration_to_ts().
#define FOLLY_DISABLE_ADDRESS_SANITIZER |
Definition at line 99 of file CPortability.h.
Referenced by folly::detail::type< T >::load(), and folly::detail::type< T >::store().
#define FOLLY_DISABLE_UNDEFINED_BEHAVIOR_SANITIZER | ( | ... | ) |
Define a convenience macro to test when ASAN, UBSAN or TSAN sanitizer are being used
Definition at line 120 of file CPortability.h.
#define FOLLY_EXPORT |
Macro for marking functions as having public visibility.
Definition at line 133 of file CPortability.h.
Referenced by folly::fibers::FiberManager::add(), and folly::threadlocal_detail::StaticMetaBase::erase().
#define FOLLY_HAS_BUILTIN | ( | ... | ) | 0 |
Definition at line 53 of file CPortability.h.
#define FOLLY_HAS_FEATURE | ( | ... | ) | 0 |
Definition at line 59 of file CPortability.h.
#define FOLLY_NOINLINE |
Definition at line 142 of file CPortability.h.
Referenced by benchmark(), folly::symbolizer::test::comparator(), folly::detail::StaticSingletonManager::create_(), folly::io::QueueAppender::ensureSlow(), folly::detail::MemoryIdler::flushLocalMallocCaches(), folly::fibers::Fiber::LocalData::get(), folly::SingletonThreadLocal< T, Tag, Make, TLTag >::getWrapper(), and folly::symbolizer::SafeStackTracePrinter::~SafeStackTracePrinter().