blob: 5b8fb191b65a33000b1c1d2ce53907b4d6e2f2b1 [file] [log] [blame]
Austin Schuh36244a12019-09-21 17:52:38 -07001#ifndef ABSL_DEBUGGING_INTERNAL_STACKTRACE_UNIMPLEMENTED_INL_H_
2#define ABSL_DEBUGGING_INTERNAL_STACKTRACE_UNIMPLEMENTED_INL_H_
3
4template <bool IS_STACK_FRAMES, bool IS_WITH_CONTEXT>
5static int UnwindImpl(void** /* result */, int* /* sizes */,
6 int /* max_depth */, int /* skip_count */,
7 const void* /* ucp */, int *min_dropped_frames) {
8 if (min_dropped_frames != nullptr) {
9 *min_dropped_frames = 0;
10 }
11 return 0;
12}
13
14namespace absl {
Austin Schuhb4691e92020-12-31 12:37:18 -080015ABSL_NAMESPACE_BEGIN
Austin Schuh36244a12019-09-21 17:52:38 -070016namespace debugging_internal {
17bool StackTraceWorksForTest() {
18 return false;
19}
20} // namespace debugging_internal
Austin Schuhb4691e92020-12-31 12:37:18 -080021ABSL_NAMESPACE_END
Austin Schuh36244a12019-09-21 17:52:38 -070022} // namespace absl
23
24#endif // ABSL_DEBUGGING_INTERNAL_STACKTRACE_UNIMPLEMENTED_INL_H_