#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)
: … { … }