LLVM 20.0.0git
COFFModuleDefinition.h
Go to the documentation of this file.
1//===--- COFFModuleDefinition.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// Windows-specific.
10// A parser for the module-definition file (.def file).
11// Parsed results are directly written to Config global variable.
12//
13// The format of module-definition files are described in this document:
14// https://msdn.microsoft.com/en-us/library/28d6s79h.aspx
15//
16//===----------------------------------------------------------------------===//
17
18#ifndef LLVM_OBJECT_COFFMODULEDEFINITION_H
19#define LLVM_OBJECT_COFFMODULEDEFINITION_H
20
23
24namespace llvm {
25namespace object {
26
28 std::vector<COFFShortExport> Exports;
29 std::string OutputFile;
30 std::string ImportName;
40};
41
44 bool MingwDef = false, bool AddUnderscores = true);
45
46} // End namespace object.
47} // End namespace llvm.
48
49#endif
COFF::MachineTypes Machine
Definition: COFFYAML.cpp:371
Tagged union holding either a T or a Error.
Definition: Error.h:481
MachineTypes
Definition: COFF.h:92
Expected< COFFModuleDefinition > parseCOFFModuleDefinition(MemoryBufferRef MB, COFF::MachineTypes Machine, bool MingwDef=false, bool AddUnderscores=true)
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
std::vector< COFFShortExport > Exports