1
Fork 0

Disable line debuginfo for the AArch64 backend

This commit is contained in:
bjorn3 2020-04-17 21:03:43 +02:00
parent 51d07790df
commit a802c7f292

View file

@ -257,6 +257,10 @@ impl<'a, 'tcx> FunctionDebugContext<'a, 'tcx> {
source_info_set: &indexmap::IndexSet<SourceInfo>,
local_map: FxHashMap<mir::Local, CPlace<'tcx>>,
) {
if isa.get_mach_backend().is_some() {
return; // The AArch64 backend doesn't support line debuginfo yet.
}
let end = self.create_debug_lines(context, isa, source_info_set);
self.debug_context