chromium/third_party/openscreen/src/platform/base/location.cc

// Copyright (c) 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "platform/base/location.h"

#include <sstream>

#include "platform/base/macros.h"

namespace openscreen {

Location::Location() = default;
Location::Location(const Location&) = default;
Location::Location(Location&&) noexcept = default;

Location::Location(const void* program_counter)
    :{}

Location& Location::operator=(const Location& other) = default;
Location& Location::operator=(Location&& other) = default;

std::string Location::ToString() const {}

#if defined(__GNUC__)
#define RETURN_ADDRESS()
#else
#define RETURN_ADDRESS
#endif

// static
OSP_NOINLINE Location Location::CreateFromHere() {}

// static
OSP_NOINLINE const void* GetProgramCounter() {}

}  // namespace openscreen