diff options
Diffstat (limited to 'contrib/llvm-project/lld/COFF/Writer.h')
-rw-r--r-- | contrib/llvm-project/lld/COFF/Writer.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/contrib/llvm-project/lld/COFF/Writer.h b/contrib/llvm-project/lld/COFF/Writer.h index 2bb26da7d428..d2b3b4b81d3c 100644 --- a/contrib/llvm-project/lld/COFF/Writer.h +++ b/contrib/llvm-project/lld/COFF/Writer.h @@ -19,8 +19,9 @@ namespace lld { namespace coff { static const int pageSize = 4096; +class COFFLinkerContext; -void writeResult(); +void writeResult(COFFLinkerContext &ctx); class PartialSection { public: @@ -50,9 +51,6 @@ public: void writeHeaderTo(uint8_t *buf); void addContributingPartialSection(PartialSection *sec); - // Clear the output sections static container. - static void clear(); - // Returns the size of this section in an executable memory image. // This may be smaller than the raw size (the raw size is multiple // of disk sector size, so there may be padding at end), or may be |