summaryrefslogtreecommitdiffstats
path: root/contrib/libs/llvm14/include/llvm/Object/COFFModuleDefinition.h
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-03-05 13:38:11 +0300
committerrobot-piglet <[email protected]>2025-03-05 13:49:53 +0300
commit9eed360f02de773a5ed2de5d2a3e81fc7f06acfa (patch)
tree744a4054e64eb443073c7c6ad36b29cedcf9c2e6 /contrib/libs/llvm14/include/llvm/Object/COFFModuleDefinition.h
parentc141a5c40bda2eed1a68b0626ffdae5fd19359a6 (diff)
Intermediate changes
commit_hash:2ec2671384dd8e604d41bc5c52c2f7858e4afea6
Diffstat (limited to 'contrib/libs/llvm14/include/llvm/Object/COFFModuleDefinition.h')
-rw-r--r--contrib/libs/llvm14/include/llvm/Object/COFFModuleDefinition.h63
1 files changed, 0 insertions, 63 deletions
diff --git a/contrib/libs/llvm14/include/llvm/Object/COFFModuleDefinition.h b/contrib/libs/llvm14/include/llvm/Object/COFFModuleDefinition.h
deleted file mode 100644
index d5dea66b411..00000000000
--- a/contrib/libs/llvm14/include/llvm/Object/COFFModuleDefinition.h
+++ /dev/null
@@ -1,63 +0,0 @@
-#pragma once
-
-#ifdef __GNUC__
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wunused-parameter"
-#endif
-
-//===--- COFFModuleDefinition.h ---------------------------------*- C++ -*-===//
-//
-// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-// See https://llvm.org/LICENSE.txt for license information.
-// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-//
-//===----------------------------------------------------------------------===//
-//
-// Windows-specific.
-// A parser for the module-definition file (.def file).
-// Parsed results are directly written to Config global variable.
-//
-// The format of module-definition files are described in this document:
-// https://msdn.microsoft.com/en-us/library/28d6s79h.aspx
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_OBJECT_COFFMODULEDEFINITION_H
-#define LLVM_OBJECT_COFFMODULEDEFINITION_H
-
-#include "llvm/Object/COFF.h"
-#include "llvm/Object/COFFImportFile.h"
-
-namespace llvm {
-namespace object {
-
-struct COFFModuleDefinition {
- std::vector<COFFShortExport> Exports;
- std::string OutputFile;
- std::string ImportName;
- uint64_t ImageBase = 0;
- uint64_t StackReserve = 0;
- uint64_t StackCommit = 0;
- uint64_t HeapReserve = 0;
- uint64_t HeapCommit = 0;
- uint32_t MajorImageVersion = 0;
- uint32_t MinorImageVersion = 0;
- uint32_t MajorOSVersion = 0;
- uint32_t MinorOSVersion = 0;
-};
-
-// mingw and wine def files do not mangle _ for x86 which
-// is a consequence of legacy binutils' dlltool functionality.
-// This MingwDef flag should be removed once mingw stops this pratice.
-Expected<COFFModuleDefinition>
-parseCOFFModuleDefinition(MemoryBufferRef MB, COFF::MachineTypes Machine,
- bool MingwDef = false);
-
-} // End namespace object.
-} // End namespace llvm.
-
-#endif
-
-#ifdef __GNUC__
-#pragma GCC diagnostic pop
-#endif