Subversion Repositories QNX 8.QNX8 LLVM/Clang compiler suite

Rev

Blame | Last modification | View Log | Download | RSS feed

  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
  28.