stacktrace_unimplemented-inl.inc (777B)
1 #ifndef ABSL_DEBUGGING_INTERNAL_STACKTRACE_UNIMPLEMENTED_INL_H_ 2 #define ABSL_DEBUGGING_INTERNAL_STACKTRACE_UNIMPLEMENTED_INL_H_ 3 4 template <bool IS_STACK_FRAMES, bool IS_WITH_CONTEXT> 5 static int UnwindImpl(void** /* result */, uintptr_t* /* frames */, 6 int* /* sizes */, int /* max_depth */, 7 int /* skip_count */, const void* /* ucp */, 8 int* min_dropped_frames) { 9 if (min_dropped_frames != nullptr) { 10 *min_dropped_frames = 0; 11 } 12 return 0; 13 } 14 15 namespace absl { 16 ABSL_NAMESPACE_BEGIN 17 namespace debugging_internal { 18 bool StackTraceWorksForTest() { 19 return false; 20 } 21 } // namespace debugging_internal 22 ABSL_NAMESPACE_END 23 } // namespace absl 24 25 #endif // ABSL_DEBUGGING_INTERNAL_STACKTRACE_UNIMPLEMENTED_INL_H_