Commit Graph

2 Commits

Author SHA1 Message Date
Emil Pedersen 7907fa75b8 [DebugInfo] Immediately salvage debug basic block instructions in IRGen
Instructions emitted as part of the transform block of a debug_value
are now immediately deleted as soon as the debug record is created.

They are salvaged by LLVM's salvageDebugInfo, and as such, their
effects are encoded into the DIExpression of the debug record.

Assisted-by: Claude
2026-05-13 16:03:53 +01:00
Emil Pedersen aac6dec294 [DebugInfo] Add basic IRGen support to debug basic blocks
Assisted-by: Claude
2026-05-13 16:03:53 +01:00