summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/PECOFF/ReaderImportHeader.h
blob: eee9786d47877049aa24221c14ecc7b96d26a33e (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
//===- 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 pecoff {

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

#endif
OpenPOWER on IntegriCloud