llvm/llvm/lib/Object/ObjectFile.cpp

//===- ObjectFile.cpp - File format independent object 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 defines a file format independent ObjectFile class.
//
//===----------------------------------------------------------------------===//

#include "llvm/Object/ObjectFile.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/BinaryFormat/Magic.h"
#include "llvm/Object/Binary.h"
#include "llvm/Object/COFF.h"
#include "llvm/Object/Error.h"
#include "llvm/Object/MachO.h"
#include "llvm/Object/Wasm.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdint>
#include <memory>
#include <system_error>

usingnamespacellvm;
usingnamespaceobject;

raw_ostream &object::operator<<(raw_ostream &OS, const SectionedAddress &Addr) {}

void ObjectFile::anchor() {}

ObjectFile::ObjectFile(unsigned int Type, MemoryBufferRef Source)
    :{}

bool SectionRef::containsSymbol(SymbolRef S) const {}

Expected<uint64_t> ObjectFile::getSymbolValue(DataRefImpl Ref) const {}

Error ObjectFile::printSymbolName(raw_ostream &OS, DataRefImpl Symb) const {}

uint32_t ObjectFile::getSymbolAlignment(DataRefImpl DRI) const {}

bool ObjectFile::isSectionBitcode(DataRefImpl Sec) const {}

bool ObjectFile::isSectionStripped(DataRefImpl Sec) const {}

bool ObjectFile::isBerkeleyText(DataRefImpl Sec) const {}

bool ObjectFile::isBerkeleyData(DataRefImpl Sec) const {}

bool ObjectFile::isDebugSection(DataRefImpl Sec) const {}

bool ObjectFile::hasDebugInfo() const {}

Expected<section_iterator>
ObjectFile::getRelocatedSection(DataRefImpl Sec) const {}

Triple ObjectFile::makeTriple() const {}

Expected<std::unique_ptr<ObjectFile>>
ObjectFile::createObjectFile(MemoryBufferRef Object, file_magic Type,
                             bool InitContent) {}

Expected<OwningBinary<ObjectFile>>
ObjectFile::createObjectFile(StringRef ObjectPath) {}

bool ObjectFile::isReflectionSectionStrippable(
    llvm::binaryformat::Swift5ReflectionSectionKind ReflectionSectionKind)
    const {}