summaryrefslogtreecommitdiffstats
path: root/lld/COFF/Driver.h
blob: 43c88a59c4bc74b67a11394e7efc86e83e84af8d (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
//===- Driver.h -----------------------------------------------------------===//
//
//                             The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef LLD_COFF_DRIVER_H
#define LLD_COFF_DRIVER_H

#include "Memory.h"
#include "llvm/ADT/StringRef.h"
#include <memory>
#include <system_error>
#include <vector>

namespace lld {
namespace coff {

class InputFile;

std::error_code parseDirectives(StringRef S,
                                std::vector<std::unique_ptr<InputFile>> *Res,
                                StringAllocator *Alloc);

} // namespace coff
} // namespace lld

#endif
OpenPOWER on IntegriCloud