1*d9f75844SAndroid Build Coastguard Workerdiff --git a/third_party/abseil-cpp/absl/debugging/internal/stacktrace_generic-inl.inc b/third_party/abseil-cpp/absl/debugging/internal/stacktrace_generic-inl.inc
2*d9f75844SAndroid Build Coastguard Workerindex b2792a1f3ada..b94c61233ba3 100644
3*d9f75844SAndroid Build Coastguard Worker--- a/third_party/abseil-cpp/absl/debugging/internal/stacktrace_generic-inl.inc
4*d9f75844SAndroid Build Coastguard Worker+++ b/third_party/abseil-cpp/absl/debugging/internal/stacktrace_generic-inl.inc
5*d9f75844SAndroid Build Coastguard Worker@@ -43,17 +43,6 @@ static __thread int recursive = 0;
6*d9f75844SAndroid Build Coastguard Worker // glibc implementation itself will trigger malloc the first time it is called.
7*d9f75844SAndroid Build Coastguard Worker // As such, we suppress usage of backtrace during this early stage of execution.
8*d9f75844SAndroid Build Coastguard Worker static std::atomic<bool> disable_stacktraces(true);  // Disabled until healthy.
9*d9f75844SAndroid Build Coastguard Worker-// Waiting until static initializers run seems to be late enough.
10*d9f75844SAndroid Build Coastguard Worker-// This file is included into stacktrace.cc so this will only run once.
11*d9f75844SAndroid Build Coastguard Worker-ABSL_ATTRIBUTE_UNUSED static int stacktraces_enabler = []() {
12*d9f75844SAndroid Build Coastguard Worker-  void* unused_stack[1];
13*d9f75844SAndroid Build Coastguard Worker-  // Force the first backtrace to happen early to get the one-time shared lib
14*d9f75844SAndroid Build Coastguard Worker-  // loading (allocation) out of the way. After the first call it is much safer
15*d9f75844SAndroid Build Coastguard Worker-  // to use backtrace from a signal handler if we crash somewhere later.
16*d9f75844SAndroid Build Coastguard Worker-  backtrace(unused_stack, 1);
17*d9f75844SAndroid Build Coastguard Worker-  disable_stacktraces.store(false, std::memory_order_relaxed);
18*d9f75844SAndroid Build Coastguard Worker-  return 0;
19*d9f75844SAndroid Build Coastguard Worker-}();
20*d9f75844SAndroid Build Coastguard Worker
21*d9f75844SAndroid Build Coastguard Worker template <bool IS_STACK_FRAMES, bool IS_WITH_CONTEXT>
22*d9f75844SAndroid Build Coastguard Worker static int UnwindImpl(void** result, int* sizes, int max_depth, int skip_count,
23*d9f75844SAndroid Build Coastguard Worker@@ -99,7 +88,7 @@ namespace absl {
24*d9f75844SAndroid Build Coastguard Worker ABSL_NAMESPACE_BEGIN
25*d9f75844SAndroid Build Coastguard Worker namespace debugging_internal {
26*d9f75844SAndroid Build Coastguard Worker bool StackTraceWorksForTest() {
27*d9f75844SAndroid Build Coastguard Worker-  return true;
28*d9f75844SAndroid Build Coastguard Worker+  return false;
29*d9f75844SAndroid Build Coastguard Worker }
30*d9f75844SAndroid Build Coastguard Worker }  // namespace debugging_internal
31*d9f75844SAndroid Build Coastguard Worker ABSL_NAMESPACE_END
32