llvm/bolt/lib/Core/BinaryData.cpp

//===- bolt/Core/BinaryData.cpp - Objects in a binary file ----------------===//
//
// 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 file implements the BinaryData class.
//
//===----------------------------------------------------------------------===//

#include "bolt/Core/BinaryData.h"
#include "bolt/Core/BinarySection.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Regex.h"

usingnamespacellvm;
usingnamespacebolt;

#define DEBUG_TYPE

namespace opts {
extern cl::OptionCategory BoltCategory;
extern cl::opt<unsigned> Verbosity;

cl::opt<bool>
    PrintSymbolAliases("print-aliases",
                       cl::desc("print aliases when printing objects"),
                       cl::Hidden, cl::cat(BoltCategory));
}

bool BinaryData::isAbsolute() const {}

bool BinaryData::isMoveable() const {}

void BinaryData::merge(const BinaryData *Other) {}

bool BinaryData::hasName(StringRef Name) const {}

bool BinaryData::nameStartsWith(StringRef Prefix) const {}

StringRef BinaryData::getSectionName() const {}

StringRef BinaryData::getOutputSectionName() const {}

uint64_t BinaryData::getOutputAddress() const {}

uint64_t BinaryData::getOffset() const {}

void BinaryData::setSection(BinarySection &NewSection) {}

bool BinaryData::isMoved() const {}

void BinaryData::print(raw_ostream &OS) const {}

void BinaryData::printBrief(raw_ostream &OS) const {}

BinaryData::BinaryData(MCSymbol &Symbol, uint64_t Address, uint64_t Size,
                       uint16_t Alignment, BinarySection &Section,
                       unsigned Flags)
    :{}