From: Igor Kudrin Date: Wed, 2 Sep 2020 09:08:25 +0000 (+0700) Subject: [DebugInfo] Remove Dwarf5AccelTableWriter::Header::UnitLength. NFC. X-Git-Tag: llvmorg-13-init~13118 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=71eed4808fbc5e5baa016210f727683610139014;p=platform%2Fupstream%2Fllvm.git [DebugInfo] Remove Dwarf5AccelTableWriter::Header::UnitLength. NFC. The member is not in use; the unit length for the table is emitted as a difference between two labels. Moreover, the type of the member might be misleading, because for DWARF64 the field should be 64 bit long. Differential Revision: https://reviews.llvm.org/D86912 --- diff --git a/llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp b/llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp index dea0227..527ed9e 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp @@ -190,7 +190,6 @@ public: template class Dwarf5AccelTableWriter : public AccelTableWriter { struct Header { - uint32_t UnitLength = 0; uint16_t Version = 5; uint16_t Padding = 0; uint32_t CompUnitCount;