Simplify control flow in the the DWARF expression compiler
authorAdrian Prantl <aprantl@apple.com>
Wed, 2 Nov 2016 16:12:20 +0000 (16:12 +0000)
committerAdrian Prantl <aprantl@apple.com>
Wed, 2 Nov 2016 16:12:20 +0000 (16:12 +0000)
commit54286bda2cdf7be9a57582e2d2a79fe40bac1faf
tree21984899981b2f2c5ba141db0a7893c95b18cb1a
parent56527dc804d2f6adc97d17a81e02d749c38ef3fe
Simplify control flow in the the DWARF expression compiler
by refactoring common code into a DwarfExpressionCursor wrapper.

llvm-svn: 285827
llvm/include/llvm/IR/DebugInfoMetadata.h
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h