Displaying 2 results from an estimated 2 matches for "dw_op_uconst".
Did you mean:
dw_op_constu
2020 Sep 01
4
[RFC] [DebugInfo] Using DW_OP_entry_value within LLVM IR
...ebug value to support/refer to entry value/backup value as well (and when primary location is lost, the value with DW_OP_entry_value becomes the primary one). One way could be extending of llvm.dbg.value with an additional operand as following:
llvm.dbg.value(…, DIEntryValExpression(DW_OP_uconst, 5)) // DIEntryValExpression implicitly contains DW_OP_entry_value operation
The bottom line is that the production of call-site side of the feature stays the same, but LLVM will have more freedom to generate more of DW_OP_entry_values operation on the callee side.
Any thoughts on this?
Best reg...
2020 Sep 01
2
[RFC] [DebugInfo] Using DW_OP_entry_value within LLVM IR
...fer to entry
> value/backup value as well (and when primary location is lost, the value with
> DW_OP_entry_value becomes the primary one). One way could be extending of
> llvm.dbg.value with an additional operand as following:
>
> llvm.dbg.value(…, DIEntryValExpression(DW_OP_uconst, 5)) //
> DIEntryValExpression implicitly contains DW_OP_entry_value operation
>
> The bottom line is that the production of call-site side of the feature stays
> the same, but LLVM will have more freedom to generate more of
> DW_OP_entry_values operation on the callee side.
>
>...