[llvm] 015b2e6 - [dwarfgen] Fix initialization order error. [NFCI]
Francesco Petrogalli via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 18 08:50:25 PST 2019
Author: Francesco Petrogalli
Date: 2019-11-18T16:49:03Z
New Revision: 015b2e699f0c7205564e51dd73a0d619571640bf
URL: https://github.com/llvm/llvm-project/commit/015b2e699f0c7205564e51dd73a0d619571640bf
DIFF: https://github.com/llvm/llvm-project/commit/015b2e699f0c7205564e51dd73a0d619571640bf.diff
LOG: [dwarfgen] Fix initialization order error. [NFCI]
This commit fixes the `-Werror=reorder` builds.
Added:
Modified:
llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp b/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp
index 7fcb62021b5f..472d4dd6ad1e 100644
--- a/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp
+++ b/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp
@@ -376,9 +376,9 @@ void dwarfgen::LineTable::writeProloguePayload(
//===----------------------------------------------------------------------===//
dwarfgen::Generator::Generator()
- : MAB(nullptr), MCE(nullptr), MS(nullptr), StringPool(nullptr),
- TLOF(nullptr), Abbreviations(Allocator), StringOffsetsStartSym(nullptr),
- Version(0) {}
+ : MAB(nullptr), MCE(nullptr), MS(nullptr), TLOF(nullptr),
+ StringPool(nullptr), Abbreviations(Allocator),
+ StringOffsetsStartSym(nullptr), Version(0) {}
dwarfgen::Generator::~Generator() = default;
llvm::Expected<std::unique_ptr<dwarfgen::Generator>>
More information about the llvm-commits
mailing list