summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/PECOFF/ReaderImportHeader.h
blob: f827cfe586d15fa56bcf8532a9d439677fb74012 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//===- 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;
class error_code;
}

namespace lld {
class LinkingContext;
class File;

namespace coff {

llvm::error_code
parseCOFFImportLibrary(const LinkingContext &context,
                       std::unique_ptr<llvm::MemoryBuffer> &mb,
                       std::vector<std::unique_ptr<File> > &result);
}
}

#endif
OpenPOWER on IntegriCloud