Refactor out the abbreviation handling into a separate class that
authorEric Christopher <echristo@gmail.com>
Mon, 10 Dec 2012 23:34:43 +0000 (23:34 +0000)
committerEric Christopher <echristo@gmail.com>
Mon, 10 Dec 2012 23:34:43 +0000 (23:34 +0000)
commitc8a310edc140807ad9ab51c0f4e519c574eca9a6
treeda7fc34aff930cbb649dc46ba5161ee1e4e8c010
parente6a6d9ae07540e99bed9abd28690579ef6116855
Refactor out the abbreviation handling into a separate class that
controls each of the abbreviation sets (only a single one at the
moment) and computes offsets separately as well for each set
of DIEs.

No real function change, ordering of abbreviations for the skeleton
CU changed but only because we're computing in a separate order. Fix
the testcase not to care.

llvm-svn: 169793
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
llvm/test/DebugInfo/X86/fission-cu.ll