[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git] / llvm / tools / llvm-objcopy / MachO / MachOObjcopy.h
blobd03eee9d5fdbb4cc92e0cfa18e4fe0c358368fb1
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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_TOOLS_OBJCOPY_MACHOOBJCOPY_H
10 #define LLVM_TOOLS_OBJCOPY_MACHOOBJCOPY_H
12 namespace llvm {
13 class Error;
14 class raw_ostream;
16 namespace object {
17 class MachOObjectFile;
18 class MachOUniversalBinary;
19 } // end namespace object
21 namespace objcopy {
22 struct CommonConfig;
23 struct MachOConfig;
24 class MultiFormatConfig;
26 namespace macho {
27 Error executeObjcopyOnBinary(const CommonConfig &Config,
28 const MachOConfig &MachOConfig,
29 object::MachOObjectFile &In, raw_ostream &Out);
31 Error executeObjcopyOnMachOUniversalBinary(
32 const MultiFormatConfig &Config, const object::MachOUniversalBinary &In,
33 raw_ostream &Out);
35 } // end namespace macho
36 } // end namespace objcopy
37 } // end namespace llvm
39 #endif // LLVM_TOOLS_OBJCOPY_MACHOOBJCOPY_H