• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2020 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 #include "base/debug/stack_trace.h"
6 
7 namespace base {
8 namespace debug {
9 
10 StackTrace::StackTrace() = default;
StackTrace(size_t count)11 StackTrace::StackTrace(size_t count) : StackTrace() {}
StackTrace(span<const void * const> trace)12 StackTrace::StackTrace(span<const void* const> trace) : StackTrace() {}
13 
Print() const14 void StackTrace::Print() const {}
15 
OutputToStream(std::ostream * os) const16 void StackTrace::OutputToStream(std::ostream* os) const {}
17 
ToString() const18 std::string StackTrace::ToString() const {
19   return {};
20 }
21 
ToStringWithPrefix(cstring_view prefix_string) const22 std::string StackTrace::ToStringWithPrefix(cstring_view prefix_string) const {
23   return {};
24 }
25 
operator <<(std::ostream & os,const StackTrace & s)26 std::ostream& operator<<(std::ostream& os, const StackTrace& s) {
27   return os;
28 }
29 
30 }  // namespace debug
31 }  // namespace base
32