blob: e256fdd4ae76e6f8ab15c7b3abc3fdc6cb6114f6 [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 {
15namespace debugging_internal {
16bool StackTraceWorksForTest() {
17 return false;
18}
19} // namespace debugging_internal
20} // namespace absl
21
22#endif // ABSL_DEBUGGING_INTERNAL_STACKTRACE_UNIMPLEMENTED_INL_H_