[PATCH] D6568: DW_OP_const* is invalid as a location

Katya Romanova via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 28 19:51:17 PDT 2016


kromanova added a comment.

I just looked around more carefully.
DwarfExpression::AddSignedConstant and DwarfExpression::AddUnsignedConstant call DwarfExpression::AddStackValue(), which adds "DW_OP_stack_value".
I think the logic is still there, but was just moved/re-factored.

The test was moved to llvm/test/DebugInfo/Generic/incorrect-variable-debugloc1.ll


https://reviews.llvm.org/D6568





More information about the llvm-commits mailing list