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