summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/MarkLive.cpp1
-rw-r--r--lld/ELF/OutputSections.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/lld/ELF/MarkLive.cpp b/lld/ELF/MarkLive.cpp
index ec2d1cbc06c..680ef502b92 100644
--- a/lld/ELF/MarkLive.cpp
+++ b/lld/ELF/MarkLive.cpp
@@ -23,6 +23,7 @@
#include "InputSection.h"
#include "LinkerScript.h"
#include "OutputSections.h"
+#include "Strings.h"
#include "SymbolTable.h"
#include "Symbols.h"
#include "Target.h"
diff --git a/lld/ELF/OutputSections.h b/lld/ELF/OutputSections.h
index 66a906305f4..6e709f357ea 100644
--- a/lld/ELF/OutputSections.h
+++ b/lld/ELF/OutputSections.h
@@ -40,8 +40,6 @@ template <class ELFT> class SharedFile;
template <class ELFT> class SharedSymbol;
template <class ELFT> class DefinedRegular;
-bool isValidCIdentifier(StringRef S);
-
// This represents a section in an output file.
// Different sub classes represent different types of sections. Some contain
// input sections, others are created by the linker.
OpenPOWER on IntegriCloud