aboutsummaryrefslogtreecommitdiff
path: root/lld/MachO/ICF.h
blob: b7e695d81d343a6eef8f8d49ac32dc7c6518b2ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//===- ICF.h ----------------------------------------------------*- C++ -*-===//
//
// 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_ICF_H
#define LLD_MACHO_ICF_H

#include "InputFiles.h"
#include "lld/Common/LLVM.h"
#include <vector>

namespace lld {
namespace macho {
class Symbol;

void markAddrSigSymbols();
void markSymAsAddrSig(Symbol *s);
void foldIdenticalSections(bool onlyCfStrings);

} // namespace macho
} // namespace lld

#endif