[DWARFYAML] Make the length field of compilation units optional. NFC.
authorXing GUO <higuoxing@gmail.com>
Wed, 22 Jul 2020 04:14:16 +0000 (12:14 +0800)
committerXing GUO <higuoxing@gmail.com>
Wed, 22 Jul 2020 04:16:19 +0000 (12:16 +0800)
commit86329317873e46f8bc094b05437a44a1f65c55d6
tree7ae1a7b2ee4b0c0a918a1bdd074dfe968d602163
parent36036aa70ec1df7b51b5d30b2dd8090ad2b6e783
[DWARFYAML] Make the length field of compilation units optional. NFC.

This patch makes the length field of compilation units optional (0 by
default).
lldb/unittests/Expression/DWARFExpressionTest.cpp
lldb/unittests/SymbolFile/DWARF/DWARFASTParserClangTests.cpp
llvm/lib/ObjectYAML/DWARFYAML.cpp
llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
llvm/unittests/DebugInfo/DWARF/DWARFDieTest.cpp