[Lldb-commits] [lldb] r193792 - Remove unused DWARFDebugLine length functions

Ed Maste emaste at freebsd.org
Thu Oct 31 12:31:17 PDT 2013


Author: emaste
Date: Thu Oct 31 14:31:16 2013
New Revision: 193792

URL: http://llvm.org/viewvc/llvm-project?rev=193792&view=rev
Log:
Remove unused DWARFDebugLine length functions


Modified:
    lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h

Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h?rev=193792&r1=193791&r2=193792&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.h Thu Oct 31 14:31:16 2013
@@ -87,10 +87,6 @@ public:
         bool        is_64_bit;      // 64-bit dwarf
         uint32_t SizeofTotalLength() const { return is_64_bit ? 12 : 4; }
         uint32_t SizeofPrologueLength() const { return is_64_bit ? 8 : 4; }
-        // Length of the prologue in bytes
-        uint32_t Length() const { return prologue_length + SizeofTotalLength() + sizeof(version) + SizeofPrologueLength(); }
-        // Length of the line table data in bytes (not including the prologue)
-        uint32_t StatementTableLength() const { return total_length + SizeofPrologueLength() - Length(); }
         int32_t MaxLineIncrementForSpecialOpcode() const { return line_base + (int8_t)line_range - 1; }
         bool IsValid() const;
 //      void Append(BinaryStreamBuf& buff) const;





More information about the lldb-commits mailing list