For dwarf4 use the correct form for referencing debug_loc locations,
authorEric Christopher <echristo@gmail.com>
Sat, 16 Nov 2013 00:18:40 +0000 (00:18 +0000)
committerEric Christopher <echristo@gmail.com>
Sat, 16 Nov 2013 00:18:40 +0000 (00:18 +0000)
commit87fd14d9b52079828c5db4e1e4878046a7488f81
tree855cdb247168924efa7da1785146d3ddd642e45e
parent7b8677109452dc3f106f931edab2d1ccaf1d06b1
For dwarf4 use the correct form for referencing debug_loc locations,
and update test cases accordingly.

This doesn't affect the output dumped using llvm-dwarfdump, but
readelf does now dump the debug_loc section.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194898 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/DebugInfo/X86/block-capture.ll
test/DebugInfo/X86/op_deref.ll