[lld] r303363 - Use a forward declaration. NFC.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Thu May 18 10:26:01 PDT 2017
Author: rafael
Date: Thu May 18 12:26:00 2017
New Revision: 303363
URL: http://llvm.org/viewvc/llvm-project?rev=303363&view=rev
Log:
Use a forward declaration. NFC.
Modified:
lld/trunk/ELF/MapFile.cpp
lld/trunk/ELF/MapFile.h
Modified: lld/trunk/ELF/MapFile.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/MapFile.cpp?rev=303363&r1=303362&r2=303363&view=diff
==============================================================================
--- lld/trunk/ELF/MapFile.cpp (original)
+++ lld/trunk/ELF/MapFile.cpp Thu May 18 12:26:00 2017
@@ -21,6 +21,7 @@
#include "MapFile.h"
#include "InputFiles.h"
+#include "OutputSections.h"
#include "Strings.h"
#include "SymbolTable.h"
#include "Threads.h"
Modified: lld/trunk/ELF/MapFile.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/MapFile.h?rev=303363&r1=303362&r2=303363&view=diff
==============================================================================
--- lld/trunk/ELF/MapFile.h (original)
+++ lld/trunk/ELF/MapFile.h Thu May 18 12:26:00 2017
@@ -10,10 +10,11 @@
#ifndef LLD_ELF_MAPFILE_H
#define LLD_ELF_MAPFILE_H
-#include "OutputSections.h"
+#include <llvm/ADT/ArrayRef.h>
namespace lld {
namespace elf {
+class OutputSection;
template <class ELFT>
void writeMapFile(llvm::ArrayRef<OutputSection *> OutputSections);
}
More information about the llvm-commits
mailing list