Displaying 1 result from an estimated 1 matches for "isindirectdebugvalu".
Did you mean:
isindirectdebugvalue
2017 Sep 07
5
RFC: Unify debug and optimized variable locations with llvm.dbg.addr [was: DW_OP_LLVM_memory]
...ram points, so we can't mix them with
dbg.value. A value cannot be `i32 42` at one point, and then be back in
memory later.
3. The name suggests that it's a declaration, and we probably shouldn't try
to re-declare a variable twice.
The backend actually already has this in
MachineInstr::isIndirectDebugValue(). If that returns true, it means that
the result of evaluating the DIExpression on the MachineOperand will be the
address of the local variable. The middle-end lacks this ability.
Rather than futzing around with the DIExpression on dbg.value to encode
this bit of information (address or value),...