blob: 65345efc6f24c9d3cc6f520781c3b980de339558 [file] [log] [blame]
mistergc2e75482017-09-19 16:54:40 -04001#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
Abseil Team5a8de8a2018-01-17 09:53:47 -080014namespace absl {
Abseil Teamfcb10452018-12-04 11:01:12 -080015inline namespace lts_2018_12_18 {
Abseil Team5a8de8a2018-01-17 09:53:47 -080016namespace debugging_internal {
17bool StackTraceWorksForTest() {
18 return false;
19}
20} // namespace debugging_internal
Abseil Teamfcb10452018-12-04 11:01:12 -080021} // inline namespace lts_2018_12_18
Abseil Team5a8de8a2018-01-17 09:53:47 -080022} // namespace absl
23
mistergc2e75482017-09-19 16:54:40 -040024#endif // ABSL_DEBUGGING_INTERNAL_STACKTRACE_UNIMPLEMENTED_INL_H_