misterg | c2e7548 | 2017-09-19 16:54:40 -0400 | [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 | |
Abseil Team | 5a8de8a | 2018-01-17 09:53:47 -0800 | [diff] [blame] | 14 | namespace absl { |
Abseil Team | fcb1045 | 2018-12-04 11:01:12 -0800 | [diff] [blame^] | 15 | inline namespace lts_2018_12_18 { |
Abseil Team | 5a8de8a | 2018-01-17 09:53:47 -0800 | [diff] [blame] | 16 | namespace debugging_internal { |
| 17 | bool StackTraceWorksForTest() { |
| 18 | return false; |
| 19 | } |
| 20 | } // namespace debugging_internal |
Abseil Team | fcb1045 | 2018-12-04 11:01:12 -0800 | [diff] [blame^] | 21 | } // inline namespace lts_2018_12_18 |
Abseil Team | 5a8de8a | 2018-01-17 09:53:47 -0800 | [diff] [blame] | 22 | } // namespace absl |
| 23 | |
misterg | c2e7548 | 2017-09-19 16:54:40 -0400 | [diff] [blame] | 24 | #endif // ABSL_DEBUGGING_INTERNAL_STACKTRACE_UNIMPLEMENTED_INL_H_ |