LLVM
20.0.0git
include
llvm
ObjCopy
COFF
COFFObjcopy.h
Go to the documentation of this file.
1
//===- COFFObjcopy.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_COFFOBJCOPY_H
10
#define LLVM_OBJCOPY_COFF_COFFOBJCOPY_H
11
12
namespace
llvm
{
13
class
Error
;
14
class
raw_ostream;
15
16
namespace
object {
17
class
COFFObjectFile;
18
}
// end namespace object
19
20
namespace
objcopy {
21
struct
CommonConfig;
22
struct
COFFConfig;
23
24
namespace
coff {
25
26
/// Apply the transformations described by \p Config and \p COFFConfig
27
/// to \p In and writes the result into \p Out.
28
/// \returns any Error encountered whilst performing the operation.
29
Error
executeObjcopyOnBinary
(
const
CommonConfig
&
Config
,
const
COFFConfig
&,
30
object::COFFObjectFile
&In,
raw_ostream
&Out);
31
32
}
// end namespace coff
33
}
// end namespace objcopy
34
}
// end namespace llvm
35
36
#endif
// LLVM_OBJCOPY_COFF_COFFOBJCOPY_H
Config
RelaxConfig Config
Definition:
ELF_riscv.cpp:506
llvm::Error
Lightweight error class with error context and mandatory checking.
Definition:
Error.h:160
llvm::object::COFFObjectFile
Definition:
COFF.h:870
llvm::raw_ostream
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition:
raw_ostream.h:52
llvm::lltok::Error
@ Error
Definition:
LLToken.h:21
llvm::objcopy::coff::executeObjcopyOnBinary
Error executeObjcopyOnBinary(const CommonConfig &Config, const COFFConfig &, object::COFFObjectFile &In, raw_ostream &Out)
Apply the transformations described by Config and COFFConfig to In and writes the result into Out.
Definition:
COFFObjcopy.cpp:322
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::objcopy::COFFConfig
Definition:
COFFConfig.h:18
llvm::objcopy::CommonConfig
Definition:
CommonConfig.h:207
Generated on Tue Nov 12 2024 11:59:13 for LLVM by
1.9.6