]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lld/ELF/ScriptParser.h
Update our copy of DTS from the ones from Linux 4.14
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lld / ELF / ScriptParser.h
1 //===- ScriptParser.h -------------------------------------------*- C++ -*-===//
2 //
3 //                             The LLVM Linker
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef LLD_ELF_SCRIPT_PARSER_H
11 #define LLD_ELF_SCRIPT_PARSER_H
12
13 #include "lld/Core/LLVM.h"
14 #include "llvm/Support/MemoryBuffer.h"
15
16 namespace lld {
17 namespace elf {
18
19 // Parses a linker script. Calling this function updates
20 // Config and ScriptConfig.
21 void readLinkerScript(MemoryBufferRef MB);
22
23 // Parses a version script.
24 void readVersionScript(MemoryBufferRef MB);
25
26 void readDynamicList(MemoryBufferRef MB);
27
28 } // namespace elf
29 } // namespace lld
30
31 #endif