Austin Schuh | 36244a1 | 2019-09-21 17:52:38 -0700 | [diff] [blame] | 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 */, 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 | |
| 14 | namespace absl { |
Austin Schuh | b4691e9 | 2020-12-31 12:37:18 -0800 | [diff] [blame^] | 15 | ABSL_NAMESPACE_BEGIN |
Austin Schuh | 36244a1 | 2019-09-21 17:52:38 -0700 | [diff] [blame] | 16 | namespace debugging_internal { |
| 17 | bool StackTraceWorksForTest() { |
| 18 | return false; |
| 19 | } |
| 20 | } // namespace debugging_internal |
Austin Schuh | b4691e9 | 2020-12-31 12:37:18 -0800 | [diff] [blame^] | 21 | ABSL_NAMESPACE_END |
Austin Schuh | 36244a1 | 2019-09-21 17:52:38 -0700 | [diff] [blame] | 22 | } // namespace absl |
| 23 | |
| 24 | #endif // ABSL_DEBUGGING_INTERNAL_STACKTRACE_UNIMPLEMENTED_INL_H_ |