mirror of
https://github.com/rui314/mold.git
synced 2024-09-23 02:49:12 +03:00
12 lines
263 B
C++
12 lines
263 B
C++
#include "chibild.h"
|
|
|
|
InputSection::InputSection(ObjectFile *file, const ELF64LE::Shdr *hdr, StringRef name)
|
|
: file(file), hdr(hdr), name(name) {}
|
|
|
|
uint64_t InputSection::get_size() const {
|
|
return hdr->sh_size;
|
|
}
|
|
|
|
void InputSection::writeTo(uint8_t *buf) {
|
|
}
|