llvm-project/lld/ELF/Writer.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
744 B
C
Raw Normal View History

//===- Writer.h -------------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef LLD_ELF_WRITER_H
#define LLD_ELF_WRITER_H
#include "Config.h"
namespace lld::elf {
class OutputSection;
2024-09-23 21:28:14 -07:00
void copySectionsIntoPartitions(Ctx &ctx);
2024-09-21 12:00:21 -07:00
template <class ELFT> void writeResult(Ctx &ctx);
2024-09-23 21:28:14 -07:00
void addReservedSymbols(Ctx &ctx);
bool includeInSymtab(Ctx &, const Symbol &);
2024-09-29 15:54:28 -07:00
unsigned getSectionRank(Ctx &, OutputSection &osec);
} // namespace lld::elf
#endif