aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils
diff options
context:
space:
mode:
authorDaniel Bertalan <dani@danielbertalan.dev>2025-07-16 15:06:09 +0200
committerDaniel Bertalan <dani@danielbertalan.dev>2025-07-16 21:13:54 +0200
commitfb3972dd06cbc1b0a5305f81b0c2d74e44dbea41 (patch)
tree02f36d9e88983a049bf5ed569c5b07909957cace /llvm/utils
parentbcee18a2e268dd106e4b3c2a1d083a4da21f4f23 (diff)
downloadllvm-fb3972dd06cbc1b0a5305f81b0c2d74e44dbea41.zip
llvm-fb3972dd06cbc1b0a5305f81b0c2d74e44dbea41.tar.gz
llvm-fb3972dd06cbc1b0a5305f81b0c2d74e44dbea41.tar.bz2
[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
Diffstat (limited to 'llvm/utils')
-rw-r--r--llvm/utils/gn/secondary/lld/MachO/BUILD.gn1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/gn/secondary/lld/MachO/BUILD.gn b/llvm/utils/gn/secondary/lld/MachO/BUILD.gn
index db608e3..b118d16 100644
--- a/llvm/utils/gn/secondary/lld/MachO/BUILD.gn
+++ b/llvm/utils/gn/secondary/lld/MachO/BUILD.gn
@@ -37,6 +37,7 @@ static_library("MachO") {
"ICF.cpp",
"InputFiles.cpp",
"InputSection.cpp",
+ "LinkerOptimizationHints.cpp",
"LTO.cpp",
"MapFile.cpp",
"MarkLive.cpp",