Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
14 | pmbaty | 1 | //===- COFFConfig.h ---------------------------------------------*- C++ -*-===// |
2 | // |
||
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
||
4 | // See https://llvm.org/LICENSE.txt for license information. |
||
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
||
6 | // |
||
7 | //===----------------------------------------------------------------------===// |
||
8 | |||
9 | #ifndef LLVM_OBJCOPY_COFF_COFFCONFIG_H |
||
10 | #define LLVM_OBJCOPY_COFF_COFFCONFIG_H |
||
11 | |||
12 | #include <optional> |
||
13 | |||
14 | namespace llvm { |
||
15 | namespace objcopy { |
||
16 | |||
17 | // Coff specific configuration for copying/stripping a single file. |
||
18 | struct COFFConfig { |
||
19 | std::optional<unsigned> Subsystem; |
||
20 | std::optional<unsigned> MajorSubsystemVersion; |
||
21 | std::optional<unsigned> MinorSubsystemVersion; |
||
22 | }; |
||
23 | |||
24 | } // namespace objcopy |
||
25 | } // namespace llvm |
||
26 | |||
27 | #endif // LLVM_OBJCOPY_COFF_COFFCONFIG_H |