COFFConfig.h 849 B

123456789101112131415161718192021222324252627
  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. #ifndef LLVM_TOOLS_LLVM_OBJCOPY_COFF_COFFCONFIG_H
  9. #define LLVM_TOOLS_LLVM_OBJCOPY_COFF_COFFCONFIG_H
  10. #include "llvm/ADT/Optional.h"
  11. namespace llvm {
  12. namespace objcopy {
  13. // Coff specific configuration for copying/stripping a single file.
  14. struct COFFConfig {
  15. Optional<unsigned> Subsystem;
  16. Optional<unsigned> MajorSubsystemVersion;
  17. Optional<unsigned> MinorSubsystemVersion;
  18. };
  19. } // namespace objcopy
  20. } // namespace llvm
  21. #endif // LLVM_TOOLS_LLVM_OBJCOPY_COFF_COFFCONFIG_H