Rafael Espindola | 1ebfc59 | 2017-01-13 21:05:46 +0000 | [diff] [blame] | 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 | |
Rafael Espindola | 1b41409 | 2017-05-18 17:26:00 +0000 | [diff] [blame] | 13 | #include <llvm/ADT/ArrayRef.h> |
Rafael Espindola | 1ebfc59 | 2017-01-13 21:05:46 +0000 | [diff] [blame] | 14 | |
| 15 | namespace lld { |
| 16 | namespace elf { |
Rafael Espindola | 2d9a3be | 2017-05-30 01:30:14 +0000 | [diff] [blame] | 17 | struct OutputSectionCommand; |
| 18 | template <class ELFT> |
| 19 | void writeMapFile(llvm::ArrayRef<OutputSectionCommand *> Script); |
Rafael Espindola | 1ebfc59 | 2017-01-13 21:05:46 +0000 | [diff] [blame] | 20 | } |
| 21 | } |
| 22 | |
| 23 | #endif |