llvm-project/lld/MachO/LinkerOptimizationHints.h
Daniel Bertalan fb3972dd06 [lld-macho] Move Linker Optimization Hints pass to a separate file
Moving it away from the arm64 `TargetInfo` class will let us enable it
more easily for arm64_32 and the soon-to-be-added arm64e target as well.

This is the NFC part of #148964
2025-07-16 21:13:54 +02:00

18 lines
586 B
C++

//===- LinkerOptimizationHints.h ------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//
#ifndef LLD_MACHO_LINKER_OPTIMIZATION_HINTS_H
#define LLD_MACHO_LINKER_OPTIMIZATION_HINTS_H
#include "InputFiles.h"
namespace lld::macho {
void applyOptimizationHints(uint8_t *outBuf, const ObjFile &obj);
}
#endif