summaryrefslogtreecommitdiffstats
path: root/lld/ELF/SyntheticSections.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/SyntheticSections.h')
-rw-r--r--lld/ELF/SyntheticSections.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/SyntheticSections.h b/lld/ELF/SyntheticSections.h
index 3e38fec9655..fead00931b7 100644
--- a/lld/ELF/SyntheticSections.h
+++ b/lld/ELF/SyntheticSections.h
@@ -148,13 +148,13 @@ class BuildIdSection : public SyntheticSection {
static const unsigned HeaderSize = 16;
public:
+ const size_t HashSize;
BuildIdSection();
void writeTo(uint8_t *Buf) override;
size_t getSize() const override { return HeaderSize + HashSize; }
void writeBuildId(llvm::ArrayRef<uint8_t> Buf);
private:
- size_t HashSize;
uint8_t *HashBuf;
};
OpenPOWER on IntegriCloud