As part of removing dbg.addr, this upgrades any calls to dbg.value with
DW_OP_deref prepended onto the value expression.
Part of dbg.addr removal
Discussed in https://discourse.llvm.org/t/what-is-the-status-of-dbg-addr/62898
Depends on D144792
Differential D144793
[DebugInfo] Upgrade `dbg.addr` to `dbg.value` jryans on Feb 25 2023, 4:13 PM. Authored by
Details As part of removing dbg.addr, this upgrades any calls to dbg.value with Part of dbg.addr removal Depends on D144792
Diff Detail
Event TimelineComment Actions I just have a couple of nits/questions (most inline), otherwise SGTM. Was llvm/test/Bitcode/upgrade-dbg-addr.ll.bc added by accident?
Comment Actions No, bitcode tests seem to use a pattern of calling llvm-dis on a separate .bc file, so that's what I did here. The .ll file is not the test input like it usually is in most other tests, so that's why e.g. the metadata is not needed. I suppose only the CHECK lines are actually required, but other files seemed to include some amount IR in the .ll part for explanatory reasons I guess.
Comment Actions Apologies for adding an additional round of comments - these should / could have come in the first review.
|
nit: missing full stops for the comments.