mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-16 20:41:44 +00:00
8c022ca783
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
|