Mercurial > hg > CbC > CbC_llvm
comparison lld/COFF/Writer.h @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children | c4bab56944e8 |
comparison
equal
deleted
inserted
replaced
173:0572611fdcc8 | 207:2e18cbf3894f |
---|---|
48 uint64_t getRVA() { return header.VirtualAddress; } | 48 uint64_t getRVA() { return header.VirtualAddress; } |
49 uint64_t getFileOff() { return header.PointerToRawData; } | 49 uint64_t getFileOff() { return header.PointerToRawData; } |
50 void writeHeaderTo(uint8_t *buf); | 50 void writeHeaderTo(uint8_t *buf); |
51 void addContributingPartialSection(PartialSection *sec); | 51 void addContributingPartialSection(PartialSection *sec); |
52 | 52 |
53 // Clear the output sections static container. | |
54 static void clear(); | |
55 | |
53 // Returns the size of this section in an executable memory image. | 56 // Returns the size of this section in an executable memory image. |
54 // This may be smaller than the raw size (the raw size is multiple | 57 // This may be smaller than the raw size (the raw size is multiple |
55 // of disk sector size, so there may be padding at end), or may be | 58 // of disk sector size, so there may be padding at end), or may be |
56 // larger (if that's the case, the loader reserves spaces after end | 59 // larger (if that's the case, the loader reserves spaces after end |
57 // of raw data). | 60 // of raw data). |