2017-01-14 05:05:46 +08:00
|
|
|
//===- MapFile.h ------------------------------------------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Linker
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLD_ELF_MAPFILE_H
|
|
|
|
#define LLD_ELF_MAPFILE_H
|
|
|
|
|
2017-05-19 01:26:00 +08:00
|
|
|
#include <llvm/ADT/ArrayRef.h>
|
2017-01-14 05:05:46 +08:00
|
|
|
|
|
|
|
namespace lld {
|
|
|
|
namespace elf {
|
2017-05-30 09:30:14 +08:00
|
|
|
struct OutputSectionCommand;
|
|
|
|
template <class ELFT>
|
|
|
|
void writeMapFile(llvm::ArrayRef<OutputSectionCommand *> Script);
|
2017-07-18 19:55:35 +08:00
|
|
|
} // namespace elf
|
|
|
|
} // namespace lld
|
2017-01-14 05:05:46 +08:00
|
|
|
|
|
|
|
#endif
|