1
Fork 0

CFI: Append debug location to CFI blocks

This commit is contained in:
Bastian Kersting 2024-11-08 08:51:19 +00:00
parent 4d215e2426
commit c2102259a0
6 changed files with 36 additions and 0 deletions

View file

@ -52,6 +52,10 @@ impl<'a, 'gcc, 'tcx> DebugInfoBuilderMethods for Builder<'a, 'gcc, 'tcx> {
fn clear_dbg_loc(&mut self) {
self.location = None;
}
fn get_dbg_loc(&self) -> Option<Self::DILocation> {
self.location
}
}
/// Generate the `debug_context` in an MIR Body.