summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/lib/ReaderWriter/ELF/SectionChunks.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/lib/ReaderWriter/ELF/SectionChunks.h b/lld/lib/ReaderWriter/ELF/SectionChunks.h
index 7ceeb36f666..0f43ea88c03 100644
--- a/lld/lib/ReaderWriter/ELF/SectionChunks.h
+++ b/lld/lib/ReaderWriter/ELF/SectionChunks.h
@@ -614,12 +614,12 @@ class SymbolTable : public Section<ELFT> {
struct SymbolEntry {
SymbolEntry(const Atom *a, const Elf_Sym &sym,
const lld::AtomLayout *layout)
- : _atom(a), _symbol(sym), _atomLayout(layout) {}
+ : _atom(a), _atomLayout(layout), _symbol(sym) {}
SymbolEntry() : _atom(nullptr) {}
const Atom *_atom;
- Elf_Sym _symbol;
const lld::AtomLayout *_atomLayout;
+ Elf_Sym _symbol;
};
public:
OpenPOWER on IntegriCloud