LLVM  16.0.0git
MachOObjcopy.h
Go to the documentation of this file.
1 //===- MachOObjcopy.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_MACHO_MACHOOBJCOPY_H
10 #define LLVM_OBJCOPY_MACHO_MACHOOBJCOPY_H
11 
12 namespace llvm {
13 class Error;
14 class raw_ostream;
15 
16 namespace object {
17 class MachOObjectFile;
18 class MachOUniversalBinary;
19 } // end namespace object
20 
21 namespace objcopy {
22 struct CommonConfig;
23 struct MachOConfig;
24 class MultiFormatConfig;
25 
26 namespace macho {
27 /// Apply the transformations described by \p Config and \p MachOConfig to
28 /// \p In and writes the result into \p Out.
29 /// \returns any Error encountered whilst performing the operation.
31  const MachOConfig &MachOConfig,
33 
34 /// Apply the transformations described by \p Config and \p MachOConfig to
35 /// \p In and writes the result into \p Out.
36 /// \returns any Error encountered whilst performing the operation.
39  raw_ostream &Out);
40 
41 } // end namespace macho
42 } // end namespace objcopy
43 } // end namespace llvm
44 
45 #endif // LLVM_OBJCOPY_MACHO_MACHOOBJCOPY_H
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
llvm::lltok::Error
@ Error
Definition: LLToken.h:21
llvm::objcopy::macho::executeObjcopyOnMachOUniversalBinary
Error executeObjcopyOnMachOUniversalBinary(const MultiFormatConfig &Config, const object::MachOUniversalBinary &In, raw_ostream &Out)
Apply the transformations described by Config and MachOConfig to In and writes the result into Out.
Definition: MachOObjcopy.cpp:474
llvm::objcopy::MachOConfig
Definition: MachOConfig.h:21
llvm::objcopy::macho::executeObjcopyOnBinary
Error executeObjcopyOnBinary(const CommonConfig &Config, const MachOConfig &MachOConfig, object::MachOObjectFile &In, raw_ostream &Out)
Apply the transformations described by Config and MachOConfig to In and writes the result into Out.
Definition: MachOObjcopy.cpp:437
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::objcopy::MultiFormatConfig
Definition: MultiFormatConfig.h:24
llvm::object::MachOObjectFile
Definition: MachO.h:381
llvm::tgtok::In
@ In
Definition: TGLexer.h:51
object
bar al al movzbl eax ret Missed when stored in a memory object
Definition: README.txt:1411
llvm::Error
Lightweight error class with error context and mandatory checking.
Definition: Error.h:155
llvm::objcopy::CommonConfig
Definition: CommonConfig.h:201
llvm::object::MachOUniversalBinary
Definition: MachOUniversal.h:30