summaryrefslogtreecommitdiff
path: root/lld/ELF/MarkLive.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2018-02-20 22:09:59 +0000
committerSam Clegg <sbc@chromium.org>2018-02-20 22:09:59 +0000
commit8b8c131fc89ae219a78fb212b995b8d01af1ea93 (patch)
tree8a8d4e58a23438ade3dd0c4297495c6e103e4253 /lld/ELF/MarkLive.cpp
parent9fd0ce77b37d3ad03306a3780303e7d955fc8641 (diff)
Consistent use of header file for ICF and MarkLive
Previously wasm used a separate header to declare markLive and ELF used to declare ICF. This change makes each backend consistently declare these in their own headers. Differential Revision: https://reviews.llvm.org/D43529
Diffstat (limited to 'lld/ELF/MarkLive.cpp')
-rw-r--r--lld/ELF/MarkLive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/MarkLive.cpp b/lld/ELF/MarkLive.cpp
index 1aa20f797d9..05ab2c89ab4 100644
--- a/lld/ELF/MarkLive.cpp
+++ b/lld/ELF/MarkLive.cpp
@@ -20,6 +20,7 @@
//
//===----------------------------------------------------------------------===//
+#include "MarkLive.h"
#include "InputSection.h"
#include "LinkerScript.h"
#include "OutputSections.h"
@@ -27,7 +28,6 @@
#include "SymbolTable.h"
#include "Symbols.h"
#include "Target.h"
-#include "Writer.h"
#include "lld/Common/Memory.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Object/ELF.h"