[LLD][COFF] Fix TypeServerSource matcher with more than one collision
[llvm-project.git] / lld / COFF / ICF.h
blob10e6792a5418f01b53041a641665eea65ec4832b
1 //===- ICF.h --------------------------------------------------------------===//
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_COFF_ICF_H
10 #define LLD_COFF_ICF_H
12 #include "Config.h"
13 #include "lld/Common/LLVM.h"
14 #include "llvm/ADT/ArrayRef.h"
16 namespace lld {
17 namespace coff {
19 class Chunk;
20 class COFFLinkerContext;
22 void doICF(COFFLinkerContext &ctx, ICFLevel);
24 } // namespace coff
25 } // namespace lld
27 #endif