blob: 910b1ac0bb0ea5bb952a302ac2d212f4ba86c36a [file] [log] [blame]
// Copyright 2018 The Fuchsia 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 "src/developer/debug/zxdb/symbols/variable.h"
namespace zxdb {
Variable::Variable(DwarfTag tag) : Value(tag) {}
Variable::Variable(DwarfTag tag, const std::string& assigned_name, LazySymbol type,
VariableLocation location)
: Value(tag, assigned_name, std::move(type)), location_(std::move(location)) {}
Variable::~Variable() = default;
const Variable* Variable::AsVariable() const { return this; }
} // namespace zxdb