[PATCH] [DWARF] Fix a few corner cases in expression emission
Adrian Prantl
aprantl at apple.com
Mon Jun 8 14:25:59 PDT 2015
I think you're right. The definition of DW_OP_stack_value is vague but the examples speak a clear language:
DW_OP_breg5 4
is equivalent to
DW_OP_breg5 4 DW_OP_deref DW_OP_stack_value
and means (in C notation)
*(reg5+4)
And
DW_OP_breg5 4 DW_OP_stack_value
indeed means
reg5+4
REPOSITORY
rL LLVM
http://reviews.llvm.org/D10302
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list