[DWARF parser] Cleanup code in DWARFDebugLine.
authorAlexey Samsonov <samsonov@google.com>
Tue, 29 Apr 2014 21:28:13 +0000 (21:28 +0000)
committerAlexey Samsonov <samsonov@google.com>
Tue, 29 Apr 2014 21:28:13 +0000 (21:28 +0000)
commit2387e9ecb164b00f0802697bd667a59fb5295626
treed4756c1daa2bbc2e6760a92365d302d6e8f8cda9
parent8263bafd1710a8732321429a0eeb3abe93fc4d65
[DWARF parser] Cleanup code in DWARFDebugLine.

Move several function definitions into .cpp, unify constructors
and clear() methods (fixing a couple of latent bugs from copy-paste),
turn static function parsePrologue() into Prologue::parse().

More work needed here to untangle weird multiple inheritance
in table parsing and dumping.

No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207579 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/DWARFContext.cpp
lib/DebugInfo/DWARFDebugLine.cpp
lib/DebugInfo/DWARFDebugLine.h