llvm/llvm/lib/DebugInfo/LogicalView/Core/LVLocation.cpp

//===-- LVLocation.cpp ----------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This implements the LVOperation and LVLocation classes.
//
//===----------------------------------------------------------------------===//

#include "llvm/DebugInfo/LogicalView/Core/LVLocation.h"
#include "llvm/DebugInfo/LogicalView/Core/LVReader.h"
#include "llvm/DebugInfo/LogicalView/Core/LVScope.h"
#include "llvm/DebugInfo/LogicalView/Core/LVSymbol.h"

usingnamespacellvm;
usingnamespacellvm::logicalview;

#define DEBUG_TYPE

void LVOperation::print(raw_ostream &OS, bool Full) const {}

// Identify the most common type of operations and print them using a high
// level format, trying to isolate the DWARF complexity.
std::string LVOperation::getOperandsDWARFInfo() {}

// Identify the most common type of operations and print them using a high
// level format, trying to isolate the CodeView complexity.
std::string LVOperation::getOperandsCodeViewInfo() {}

namespace {
const char *const KindBaseClassOffset =;
const char *const KindBaseClassStep =;
const char *const KindClassOffset =;
const char *const KindFixedAddress =;
const char *const KindMissingInfo =;
const char *const KindOperation =;
const char *const KindOperationList =;
const char *const KindRegister =;
const char *const KindUndefined =;
} // end anonymous namespace

//===----------------------------------------------------------------------===//
// DWARF location information.
//===----------------------------------------------------------------------===//
const char *LVLocation::kind() const {}

std::string LVLocation::getIntervalInfo() const {}

// Validate the ranges associated with the location.
bool LVLocation::validateRanges() {}

bool LVLocation::calculateCoverage(LVLocations *Locations, unsigned &Factor,
                                   float &Percentage) {}

void LVLocation::printRaw(raw_ostream &OS, bool Full) const {}

void LVLocation::printInterval(raw_ostream &OS, bool Full) const {}

void LVLocation::print(raw_ostream &OS, bool Full) const {}

void LVLocation::printExtra(raw_ostream &OS, bool Full) const {}

//===----------------------------------------------------------------------===//
// DWARF location for a symbol.
//===----------------------------------------------------------------------===//
// Add a Location Entry.
void LVLocationSymbol::addObject(LVAddress LowPC, LVAddress HighPC,
                                 LVUnsigned SectionOffset,
                                 uint64_t LocDescOffset) {}

// Add a Location Record.
void LVLocationSymbol::addObject(LVSmall Opcode,
                                 ArrayRef<LVUnsigned> Operands) {}

// Based on the DWARF attribute, define the location kind.
void LVLocation::setKind() {}

void LVLocationSymbol::updateKind() {}

void LVLocationSymbol::printRawExtra(raw_ostream &OS, bool Full) const {}

// Print location (formatted version).
void LVLocation::print(LVLocations *Locations, raw_ostream &OS, bool Full) {}

void LVLocationSymbol::printExtra(raw_ostream &OS, bool Full) const {}