mirror of
https://github.com/intel/llvm.git
synced 2026-01-27 06:06:34 +08:00
This is a bit of a hack, but it is *so* convenient. Now that we create synthetic linker scripts when none is provided, we always have to handle paired OutputSection and OutputsectionCommand and keep a mapping from one to the other. This patch simplifies things by merging them and creating what used to be OutputSectionCommands really early. llvm-svn: 309311
23 lines
560 B
C++
23 lines
560 B
C++
//===- 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
|
|
|
|
#include <llvm/ADT/ArrayRef.h>
|
|
|
|
namespace lld {
|
|
namespace elf {
|
|
class OutputSection;
|
|
template <class ELFT> void writeMapFile();
|
|
} // namespace elf
|
|
} // namespace lld
|
|
|
|
#endif
|