Deduplicate inlined function debug info, but create a new lexical scope to child subsequent scopes and variables from colliding
This commit is contained in:
parent
83995f320c
commit
06890774ab
7 changed files with 61 additions and 22 deletions
|
@ -46,7 +46,7 @@ pub struct FunctionCx<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> {
|
|||
|
||||
mir: &'tcx mir::Body<'tcx>,
|
||||
|
||||
debug_context: Option<FunctionDebugContext<Bx::DIScope, Bx::DILocation>>,
|
||||
debug_context: Option<FunctionDebugContext<'tcx, Bx::DIScope, Bx::DILocation>>,
|
||||
|
||||
llfn: Bx::Function,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue