2014-07-10 05:04:24 +08:00
|
|
|
//===- lib/ReaderWriter/MachO/MachOPasses.h -------------------------------===//
|
|
|
|
//
|
2019-01-19 16:50:56 +08:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2014-07-10 05:04:24 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLD_READER_WRITER_MACHO_PASSES_H
|
|
|
|
#define LLD_READER_WRITER_MACHO_PASSES_H
|
|
|
|
|
2014-07-17 03:49:02 +08:00
|
|
|
#include "lld/Core/PassManager.h"
|
|
|
|
#include "lld/ReaderWriter/MachOLinkingContext.h"
|
2014-07-10 05:04:24 +08:00
|
|
|
|
|
|
|
namespace lld {
|
2014-07-17 03:49:02 +08:00
|
|
|
namespace mach_o {
|
2014-07-10 05:04:24 +08:00
|
|
|
|
2015-02-06 04:05:33 +08:00
|
|
|
void addLayoutPass(PassManager &pm, const MachOLinkingContext &ctx);
|
2014-07-17 03:49:02 +08:00
|
|
|
void addStubsPass(PassManager &pm, const MachOLinkingContext &ctx);
|
|
|
|
void addGOTPass(PassManager &pm, const MachOLinkingContext &ctx);
|
2015-06-24 04:35:31 +08:00
|
|
|
void addTLVPass(PassManager &pm, const MachOLinkingContext &ctx);
|
2014-10-01 05:29:54 +08:00
|
|
|
void addCompactUnwindPass(PassManager &pm, const MachOLinkingContext &ctx);
|
2016-01-20 05:54:21 +08:00
|
|
|
void addObjCPass(PassManager &pm, const MachOLinkingContext &ctx);
|
2014-10-14 09:51:42 +08:00
|
|
|
void addShimPass(PassManager &pm, const MachOLinkingContext &ctx);
|
2014-07-10 05:04:24 +08:00
|
|
|
|
2014-07-17 03:49:02 +08:00
|
|
|
} // namespace mach_o
|
2014-07-10 05:04:24 +08:00
|
|
|
} // namespace lld
|
|
|
|
|
|
|
|
#endif // LLD_READER_WRITER_MACHO_PASSES_H
|