summaryrefslogtreecommitdiff
path: root/chromium/base/debug/stack_trace_nacl.cc
blob: e64eaa4c7445b2b811c67b5839fdd3a925685dea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/debug/stack_trace.h"

namespace base {
namespace debug {

StackTrace::StackTrace() = default;
StackTrace::StackTrace(size_t count) : StackTrace() {}
StackTrace::StackTrace(const void* const* trace, size_t count) : StackTrace() {}

const void* const* StackTrace::Addresses(size_t* count) const {
  return nullptr;
}

void StackTrace::Print() const {}

void StackTrace::OutputToStream(std::ostream* os) const {}

std::string StackTrace::ToString() const {
  return "";
}

std::string StackTrace::ToStringWithPrefix(const char* prefix_string) const {
  return "";
}

std::ostream& operator<<(std::ostream& os, const StackTrace& s) {
  return os;
}

}  // namespace debug
}  // namespace base