2014-07-10 05:04:24 +08:00
|
|
|
//===- lib/ReaderWriter/MachO/MachOPasses.h -------------------------------===//
|
|
|
|
//
|
|
|
|
// The LLVM Linker
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#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
|
|
|
|
2014-07-17 03:49:02 +08:00
|
|
|
void addStubsPass(PassManager &pm, const MachOLinkingContext &ctx);
|
|
|
|
void addGOTPass(PassManager &pm, const MachOLinkingContext &ctx);
|
2014-10-01 05:29:54 +08:00
|
|
|
void addCompactUnwindPass(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
|