diff options
author | Derek Mauro <dmauro@google.com> | 2023-05-15 11:34:17 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-05-15 11:36:00 -0700 |
commit | 34dd639a768761e555b080224a1381a459ab2885 (patch) | |
tree | 724a588f8097356bff3a70e379bd49ba8881c7f6 /absl/synchronization/mutex.h | |
parent | c15196eee10505411ccf872bbcfbfef9da58a90c (diff) |
Mutex: Remove the deprecated absl::RegisterSymbolizer() hook
absl::RegisterSymbolizer() has been deprecated for 5 years.
It is being removed following our compatibility policy.
<https://abseil.io/about/compatibility>
PiperOrigin-RevId: 532174866
Change-Id: Id5c3b86698e389099d3d707c4e57f30f1f155d2e
Diffstat (limited to 'absl/synchronization/mutex.h')
-rw-r--r-- | absl/synchronization/mutex.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/absl/synchronization/mutex.h b/absl/synchronization/mutex.h index 8bbcae88..0b6a9e18 100644 --- a/absl/synchronization/mutex.h +++ b/absl/synchronization/mutex.h @@ -1105,23 +1105,6 @@ void RegisterMutexTracer(void (*fn)(const char *msg, const void *obj, // RegisterMutexProfiler() above. void RegisterCondVarTracer(void (*fn)(const char *msg, const void *cv)); -// Register a hook for symbolizing stack traces in deadlock detector reports. -// -// 'pc' is the program counter being symbolized, 'out' is the buffer to write -// into, and 'out_size' is the size of the buffer. This function can return -// false if symbolizing failed, or true if a NUL-terminated symbol was written -// to 'out.' -// -// This has the same ordering and single-use limitations as -// RegisterMutexProfiler() above. -// -// DEPRECATED: The default symbolizer function is absl::Symbolize() and the -// ability to register a different hook for symbolizing stack traces will be -// removed on or after 2023-05-01. -ABSL_DEPRECATED("absl::RegisterSymbolizer() is deprecated and will be removed " - "on or after 2023-05-01") -void RegisterSymbolizer(bool (*fn)(const void *pc, char *out, int out_size)); - // EnableMutexInvariantDebugging() // // Enable or disable global support for Mutex invariant debugging. If enabled, |