
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
18 lines
586 B
C++
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
|