Use a forward declaration. NFC.

llvm-svn: 303363
This commit is contained in:
Rafael Espindola
2017-05-18 17:26:00 +00:00
parent 96ab8726a3
commit 1b41409079
2 changed files with 3 additions and 1 deletions

View File

@@ -21,6 +21,7 @@
#include "MapFile.h"
#include "InputFiles.h"
#include "OutputSections.h"
#include "Strings.h"
#include "SymbolTable.h"
#include "Threads.h"

View File

@@ -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);
}