#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
OSP_NOINLINE Location Location::CreateFromHere() { … }
OSP_NOINLINE const void* GetProgramCounter() { … }
}