diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-05-18 17:26:00 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-05-18 17:26:00 +0000 |
commit | 1b41409079b652259aac40976d9f02714930e6fc (patch) | |
tree | 0e7a4f543c6151df1ca0b5fb0fb7f007b7114cb7 | |
parent | 96ab8726a3c2676c614b4d38500478046f816ce2 (diff) | |
download | bcm5719-llvm-1b41409079b652259aac40976d9f02714930e6fc.tar.gz bcm5719-llvm-1b41409079b652259aac40976d9f02714930e6fc.zip |
Use a forward declaration. NFC.
llvm-svn: 303363
-rw-r--r-- | lld/ELF/MapFile.cpp | 1 | ||||
-rw-r--r-- | lld/ELF/MapFile.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lld/ELF/MapFile.cpp b/lld/ELF/MapFile.cpp index 23c63e845c9..c3f4f5a4848 100644 --- a/lld/ELF/MapFile.cpp +++ b/lld/ELF/MapFile.cpp @@ -21,6 +21,7 @@ #include "MapFile.h" #include "InputFiles.h" +#include "OutputSections.h" #include "Strings.h" #include "SymbolTable.h" #include "Threads.h" diff --git a/lld/ELF/MapFile.h b/lld/ELF/MapFile.h index 24d636890e5..89d4d2d4119 100644 --- a/lld/ELF/MapFile.h +++ b/lld/ELF/MapFile.h @@ -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); } |