hanchenye-llvm-project/lld/lib/ReaderWriter/PECOFF/ReaderImportHeader.h

34 lines
804 B
C++

//===- lib/ReaderWriter/PECOFF/ReaderImportHeader.h -----------------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef LLD_READER_WRITER_PE_COFF_READER_IMPORT_HEADER_H
#define LLD_READER_WRITER_PE_COFF_READER_IMPORT_HEADER_H
#include <memory>
#include <vector>
namespace llvm {
class MemoryBuffer;
}
namespace lld {
class LinkingContext;
class File;
namespace pecoff {
std::error_code
parseCOFFImportLibrary(const LinkingContext &context,
std::unique_ptr<MemoryBuffer> &mb,
std::vector<std::unique_ptr<File>> &result);
}
}
#endif