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)
commite2c9e645324d7df88b096121d94efdfbf72de035
treea9ca8c8dd28cb76d170c5845031e8dac8af1f0e8
parent0cd23c842e6e1d0747fb14661f1bac0dbbac0cee
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.

llvm-svn: 230930
llvm/include/llvm/CodeGen/AsmPrinter.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
llvm/lib/CodeGen/AsmPrinter/ByteStreamer.h
llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/test/CodeGen/ARM/debug-info-qreg.ll
llvm/test/CodeGen/ARM/debug-info-s16-reg.ll