LLVM
20.0.0git
include
llvm
ObjCopy
XCOFF
XCOFFObjcopy.h
Go to the documentation of this file.
1
//===- XCOFFObjcopy.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_XCOFF_XCOFFOBJCOPY_H
10
#define LLVM_OBJCOPY_XCOFF_XCOFFOBJCOPY_H
11
12
namespace
llvm
{
13
class
Error
;
14
class
raw_ostream;
15
16
namespace
object {
17
class
XCOFFObjectFile;
18
}
// end namespace object
19
20
namespace
objcopy {
21
struct
CommonConfig;
22
struct
XCOFFConfig;
23
24
namespace
xcoff {
25
/// Apply the transformations described by \p Config and \p XCOFFConfig
26
/// to \p In and writes the result into \p Out.
27
/// \returns any Error encountered whilst performing the operation.
28
Error
executeObjcopyOnBinary
(
const
CommonConfig
&
Config
,
const
XCOFFConfig
&,
29
object::XCOFFObjectFile
&In,
raw_ostream
&Out);
30
31
}
// end namespace xcoff
32
}
// end namespace objcopy
33
}
// end namespace llvm
34
35
#endif
// LLVM_OBJCOPY_XCOFF_XCOFFOBJCOPY_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::XCOFFObjectFile
Definition:
XCOFFObjectFile.h:531
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::xcoff::executeObjcopyOnBinary
Error executeObjcopyOnBinary(const CommonConfig &Config, const XCOFFConfig &, object::XCOFFObjectFile &In, raw_ostream &Out)
Apply the transformations described by Config and XCOFFConfig to In and writes the result into Out.
Definition:
XCOFFObjcopy.cpp:27
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::objcopy::CommonConfig
Definition:
CommonConfig.h:207
llvm::objcopy::XCOFFConfig
Definition:
XCOFFConfig.h:16
Generated on Fri Nov 22 2024 15:33:02 for LLVM by
1.9.6