[runtimes] Pass-through CLANG_RESOURCE_DIR to cmake invocations (#73185)
[llvm-project.git] / lld / MachO / ICF.h
blob34ceb1cf284bf37cfd723eee2f3a75b43d91cdf8
1 //===- ICF.h ----------------------------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef LLD_MACHO_ICF_H
10 #define LLD_MACHO_ICF_H
12 #include "InputFiles.h"
13 #include "lld/Common/LLVM.h"
14 #include <vector>
16 namespace lld::macho {
17 class Symbol;
19 void markAddrSigSymbols();
20 void markSymAsAddrSig(Symbol *s);
21 void foldIdenticalSections(bool onlyCfStrings);
23 } // namespace lld::macho
25 #endif