stack_trace_nacl.cc 870 B

1234567891011121314151617181920212223242526272829303132333435
  1. // Copyright 2020 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "base/debug/stack_trace.h"
  5. namespace base {
  6. namespace debug {
  7. StackTrace::StackTrace() = default;
  8. StackTrace::StackTrace(size_t count) : StackTrace() {}
  9. StackTrace::StackTrace(const void* const* trace, size_t count) : StackTrace() {}
  10. const void* const* StackTrace::Addresses(size_t* count) const {
  11. return nullptr;
  12. }
  13. void StackTrace::Print() const {}
  14. void StackTrace::OutputToStream(std::ostream* os) const {}
  15. std::string StackTrace::ToString() const {
  16. return "";
  17. }
  18. std::string StackTrace::ToStringWithPrefix(const char* prefix_string) const {
  19. return "";
  20. }
  21. std::ostream& operator<<(std::ostream& os, const StackTrace& s) {
  22. return os;
  23. }
  24. } // namespace debug
  25. } // namespace base