Commit 08d12dac authored by Nathan Bronson's avatar Nathan Bronson Committed by Facebook Github Bot

Back out "[folly/CPortability] allow TSAN hook linkage override at compile time"

Summary: Original commit changeset: 10d2921df998

Differential Revision: D12881285

fbshipit-source-id: d61353c3e936543d2e27643e5c0d584079cd2a72
parent fd9ac932
......@@ -174,23 +174,19 @@
#endif
#endif
#ifndef FOLLY_ATTR_FOR_SANITIZE_THREAD_HOOKS
#define FOLLY_ATTR_FOR_SANITIZE_THREAD_HOOKS FOLLY_ATTR_WEAK
#endif
// These functions are defined by the TSAN runtime library and enable
// annotating mutexes for TSAN.
extern "C" FOLLY_ATTR_FOR_SANITIZE_THREAD_HOOKS void
extern "C" FOLLY_ATTR_WEAK void
AnnotateRWLockCreate(const char* f, int l, const volatile void* addr);
extern "C" FOLLY_ATTR_FOR_SANITIZE_THREAD_HOOKS void
extern "C" FOLLY_ATTR_WEAK void
AnnotateRWLockCreateStatic(const char* f, int l, const volatile void* addr);
extern "C" FOLLY_ATTR_FOR_SANITIZE_THREAD_HOOKS void
extern "C" FOLLY_ATTR_WEAK void
AnnotateRWLockDestroy(const char* f, int l, const volatile void* addr);
extern "C" FOLLY_ATTR_FOR_SANITIZE_THREAD_HOOKS void
extern "C" FOLLY_ATTR_WEAK void
AnnotateRWLockAcquired(const char* f, int l, const volatile void* addr, long w);
extern "C" FOLLY_ATTR_FOR_SANITIZE_THREAD_HOOKS void
extern "C" FOLLY_ATTR_WEAK void
AnnotateRWLockReleased(const char* f, int l, const volatile void* addr, long w);
extern "C" FOLLY_ATTR_FOR_SANITIZE_THREAD_HOOKS void AnnotateBenignRaceSized(
extern "C" FOLLY_ATTR_WEAK void AnnotateBenignRaceSized(
const char* f,
int l,
const volatile void* addr,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment