hvdijk wrote:

Hi, in principle this change makes sense but it causes a bit of an issue with 
[`DIBuilder`](https://llvm.org/doxygen/classllvm_1_1DIBuilder.html) not yet 
having been updated to take iterators. The workaround for that at the moment is 
trivial (change e.g. `DIB.insertDeclare(..., BB.getFirstNonPHIOrDbg())` to 
`DIB.insertDeclare(..., &*BB.getFirstNonPHIOrDbg())` as you do in other places 
in this PR), but that workaround would break when the update does land to have 
`insertDeclare` etc. take iterators. Could I ask what the best way forward here 
is for downstream users that need to remain compatible with multiple LLVM 
versions? Is it better to make this change in downstream projects, or would we 
be able to update `DIBuilder` quickly enough that we can avoid that?

https://github.com/llvm/llvm-project/pull/124287
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to