Add a DIELocList class to handle pointers into the location list.
authorEric Christopher <echristo@gmail.com>
Wed, 5 Mar 2014 22:41:20 +0000 (22:41 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 5 Mar 2014 22:41:20 +0000 (22:41 +0000)
commit517aaf27d7802c919b82c6bd9f95eceda5f3d535
tree6033dfbd8286abd816cf902e9c018bbf5622745b
parentf698d7775a96afd6385b0f9b9c66646df8feb88a
Add a DIELocList class to handle pointers into the location list.
This enables us to figure out where in the debug_loc section our
locations are so that we can eventually hash them. It also helps
remove some special case code in emission. No functional change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203018 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DIE.cpp
lib/CodeGen/AsmPrinter/DIE.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
lib/CodeGen/AsmPrinter/DwarfUnit.h