[llvm] [DebugInfo][RemoveDIs] Find types hidden in DbgRecords (PR #106547)

Jeremy Morse via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 30 02:56:46 PDT 2024


jmorse wrote:

@OCHyams see latest commit, some twiddling is required as the Address field of a #dbg_assign might have gone to null. I can't remember the exact sequence of events that causes this, but there's precedent with `DbgVariableRecord::location_ops`. Possibly this is because the code+comments have been brought over from the intrinsic-format dbg.assign implementation, but with debug-records the DbgRecord _is_ the `ValueAsMetadata`?

Either way, could you confirm this is alright.

https://github.com/llvm/llvm-project/pull/106547


More information about the llvm-commits mailing list