LLVM  17.0.0git
COFFConfig.h
Go to the documentation of this file.
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
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
llvm::objcopy::COFFConfig::Subsystem
std::optional< unsigned > Subsystem
Definition: COFFConfig.h:19
llvm::objcopy::COFFConfig
Definition: COFFConfig.h:18
llvm::objcopy::COFFConfig::MinorSubsystemVersion
std::optional< unsigned > MinorSubsystemVersion
Definition: COFFConfig.h:21
llvm::objcopy::COFFConfig::MajorSubsystemVersion
std::optional< unsigned > MajorSubsystemVersion
Definition: COFFConfig.h:20