Skip to content

Commit 015b2e6

Browse files
author
Francesco Petrogalli
committed
[dwarfgen] Fix initialization order error. [NFCI]
This commit fixes the `-Werror=reorder` builds.
1 parent c3eded0 commit 015b2e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -376,9 +376,9 @@ void dwarfgen::LineTable::writeProloguePayload(
376376
//===----------------------------------------------------------------------===//
377377

378378
dwarfgen::Generator::Generator()
379-
: MAB(nullptr), MCE(nullptr), MS(nullptr), StringPool(nullptr),
380-
TLOF(nullptr), Abbreviations(Allocator), StringOffsetsStartSym(nullptr),
381-
Version(0) {}
379+
: MAB(nullptr), MCE(nullptr), MS(nullptr), TLOF(nullptr),
380+
StringPool(nullptr), Abbreviations(Allocator),
381+
StringOffsetsStartSym(nullptr), Version(0) {}
382382
dwarfgen::Generator::~Generator() = default;
383383

384384
llvm::Expected<std::unique_ptr<dwarfgen::Generator>>

0 commit comments

Comments
 (0)