Skip to content

Commit bed136f

Browse files
committed
CFI: Append debug location to CFI blocks
1 parent 92c27e8 commit bed136f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/debuginfo.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ impl<'a, 'gcc, 'tcx> DebugInfoBuilderMethods for Builder<'a, 'gcc, 'tcx> {
5252
fn clear_dbg_loc(&mut self) {
5353
self.location = None;
5454
}
55+
56+
fn get_dbg_loc(&self) -> Option<Self::DILocation> {
57+
self.location
58+
}
5559
}
5660

5761
/// Generate the `debug_context` in an MIR Body.

0 commit comments

Comments
 (0)