Mercurial > hg > CbC > CbC_llvm
diff lld/COFF/Writer.h @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 79ff65ed7e25 |
children | 1f2b6ac9f198 |
line wrap: on
line diff
--- a/lld/COFF/Writer.h Wed Jul 21 10:27:27 2021 +0900 +++ b/lld/COFF/Writer.h Wed Nov 09 17:45:10 2022 +0900 @@ -16,11 +16,11 @@ #include <cstdint> #include <vector> -namespace lld { -namespace coff { +namespace lld::coff { static const int pageSize = 4096; +class COFFLinkerContext; -void writeResult(); +void writeResult(COFFLinkerContext &ctx); class PartialSection { public: @@ -50,9 +50,6 @@ 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 @@ -82,7 +79,6 @@ uint32_t stringTableOff = 0; }; -} // namespace coff -} // namespace lld +} // namespace lld::coff #endif