Refactor DebugLocDWARFExpression so it doesn't require access to the
authorAdrian Prantl <aprantl@apple.com>
Mon, 2 Mar 2015 02:38:18 +0000 (02:38 +0000)
committerAdrian Prantl <aprantl@apple.com>
Mon, 2 Mar 2015 02:38:18 +0000 (02:38 +0000)
commitd21acaf6a12c45e48a7eeac9dbace60c7ef5fbb0
treef3dd6a13f3d80e75e1d519ac8b8647b95c23156e
parent6cad61163ade8148723b33964d60e31896dc5df7
Refactor DebugLocDWARFExpression so it doesn't require access to the
TargetRegisterInfo. DebugLocEntry now holds a buffer with the raw bytes
of the pre-calculated DWARF expression.

Ought to be NFC, but it does slightly alter the output format of the
textual assembly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230930 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
lib/CodeGen/AsmPrinter/ByteStreamer.h
lib/CodeGen/AsmPrinter/DebugLocEntry.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
lib/CodeGen/AsmPrinter/DwarfExpression.cpp
lib/CodeGen/AsmPrinter/DwarfExpression.h
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
test/CodeGen/ARM/debug-info-qreg.ll
test/CodeGen/ARM/debug-info-s16-reg.ll