#include "OutputSections.h"
#include "InputChunks.h"
#include "InputElement.h"
#include "InputFiles.h"
#include "OutputSegment.h"
#include "WriterUtils.h"
#include "lld/Common/ErrorHandler.h"
#include "lld/Common/Memory.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/LEB128.h"
#include "llvm/Support/Parallel.h"
#define DEBUG_TYPE …
usingnamespacellvm;
usingnamespacellvm::wasm;
namespace lld {
std::string toString(const wasm::OutputSection &sec) { … }
namespace wasm {
StringRef OutputSection::getSectionName() const { … }
void OutputSection::createHeader(size_t bodySize) { … }
void CodeSection::finalizeContents() { … }
void CodeSection::writeTo(uint8_t *buf) { … }
uint32_t CodeSection::getNumRelocations() const { … }
void CodeSection::writeRelocations(raw_ostream &os) const { … }
void DataSection::finalizeContents() { … }
void DataSection::writeTo(uint8_t *buf) { … }
uint32_t DataSection::getNumRelocations() const { … }
void DataSection::writeRelocations(raw_ostream &os) const { … }
bool DataSection::isNeeded() const { … }
void CustomSection::finalizeInputSections() { … }
void CustomSection::finalizeContents() { … }
void CustomSection::writeTo(uint8_t *buf) { … }
uint32_t CustomSection::getNumRelocations() const { … }
void CustomSection::writeRelocations(raw_ostream &os) const { … }
}
}