1 // Copyright 2017 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef NET_THIRD_PARTY_QUICHE_OVERRIDES_QUICHE_PLATFORM_IMPL_QUICHE_STACK_TRACE_IMPL_H_ 6 #define NET_THIRD_PARTY_QUICHE_OVERRIDES_QUICHE_PLATFORM_IMPL_QUICHE_STACK_TRACE_IMPL_H_ 7 8 #include <string> 9 #include <vector> 10 11 #include "base/debug/stack_trace.h" 12 #include "quiche/common/platform/api/quiche_export.h" 13 #include "third_party/abseil-cpp/absl/types/span.h" 14 15 namespace quiche { 16 17 QUICHE_EXPORT std::vector<void*> CurrentStackTraceImpl(); 18 QUICHE_EXPORT std::string SymbolizeStackTraceImpl( 19 absl::Span<void* const> stacktrace); 20 QUICHE_EXPORT std::string QuicheStackTraceImpl(); 21 QUICHE_EXPORT bool QuicheShouldRunStackTraceTestImpl(); 22 23 } // namespace quiche 24 25 #endif // NET_THIRD_PARTY_QUICHE_OVERRIDES_QUICHE_PLATFORM_IMPL_QUICHE_STACK_TRACE_IMPL_H_ 26