1 //===- MapFile.h ------------------------------------------------*- C++ -*-===// 2 // 3 // The LLVM Linker 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #ifndef LLD_ELF_MAPFILE_H 11 #define LLD_ELF_MAPFILE_H 12 13 #include <llvm/ADT/ArrayRef.h> 14 15 namespace lld { 16 namespace elf { 17 struct OutputSectionCommand; 18 template <class ELFT> 19 void writeMapFile(llvm::ArrayRef<OutputSectionCommand *> Script); 20 } 21 } 22 23 #endif 24