llvm/llvm/lib/Object/IRObjectFile.cpp

//===- IRObjectFile.cpp - IR object file implementation ---------*- C++ -*-===//
//
// 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
//
//===----------------------------------------------------------------------===//
//
// Part of the IRObjectFile class implementation.
//
//===----------------------------------------------------------------------===//

#include "llvm/Object/IRObjectFile.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/BinaryFormat/Magic.h"
#include "llvm/Bitcode/BitcodeReader.h"
#include "llvm/IR/Module.h"
#include "llvm/Object/ObjectFile.h"
usingnamespacellvm;
usingnamespaceobject;

namespace llvm {
class LLVMContext;
class raw_ostream;
} // namespace llvm

IRObjectFile::IRObjectFile(MemoryBufferRef Object,
                           std::vector<std::unique_ptr<Module>> Mods)
    :{}

IRObjectFile::~IRObjectFile() = default;

static ModuleSymbolTable::Symbol getSym(DataRefImpl &Symb) {}

void IRObjectFile::moveSymbolNext(DataRefImpl &Symb) const {}

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

Expected<uint32_t> IRObjectFile::getSymbolFlags(DataRefImpl Symb) const {}

basic_symbol_iterator IRObjectFile::symbol_begin() const {}

basic_symbol_iterator IRObjectFile::symbol_end() const {}

StringRef IRObjectFile::getTargetTriple() const {}

Expected<MemoryBufferRef>
IRObjectFile::findBitcodeInObject(const ObjectFile &Obj) {}

Expected<MemoryBufferRef>
IRObjectFile::findBitcodeInMemBuffer(MemoryBufferRef Object) {}

Expected<std::unique_ptr<IRObjectFile>>
IRObjectFile::create(MemoryBufferRef Object, LLVMContext &Context) {}

Expected<IRSymtabFile> object::readIRSymtab(MemoryBufferRef MBRef) {}