diff --git a/numba/core/lowering.py b/numba/core/lowering.py index 1c9c19cd3b1..52c13d635a3 100644 --- a/numba/core/lowering.py +++ b/numba/core/lowering.py @@ -1303,17 +1303,15 @@ def alloca(self, name, type): return self.alloca_lltype(name, lltype) def alloca_lltype(self, name, lltype): - # Is user variable? - is_uservar = not name.startswith('$') # Allocate space for variable aptr = cgutils.alloca_once(self.builder, lltype, name=name, zfill=False) - if is_uservar: - # Emit debug info for user variable - sizeof = self.context.get_abi_sizeof(lltype) - self.debuginfo.mark_variable(self.builder, aptr, name=name, - lltype=lltype, size=sizeof, - loc=self.loc) + + # Emit debug info for all variables + sizeof = self.context.get_abi_sizeof(lltype) + self.debuginfo.mark_variable(self.builder, aptr, name=name, + lltype=lltype, size=sizeof, + loc=self.loc) return aptr def incref(self, typ, val):