summaryrefslogtreecommitdiff
path: root/lld/COFF/ICF.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/COFF/ICF.h')
-rw-r--r--lld/COFF/ICF.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/lld/COFF/ICF.h b/lld/COFF/ICF.h
new file mode 100644
index 000000000000..9c54e0c9ec2d
--- /dev/null
+++ b/lld/COFF/ICF.h
@@ -0,0 +1,26 @@
+//===- ICF.h --------------------------------------------------------------===//
+//
+// The LLVM Linker
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLD_COFF_ICF_H
+#define LLD_COFF_ICF_H
+
+#include "lld/Common/LLVM.h"
+#include "llvm/ADT/ArrayRef.h"
+
+namespace lld {
+namespace coff {
+
+class Chunk;
+
+void doICF(ArrayRef<Chunk *> Chunks);
+
+} // namespace coff
+} // namespace lld
+
+#endif