Skip to content

Commit a802c7f

Browse files
committed
Disable line debuginfo for the AArch64 backend
1 parent 51d0779 commit a802c7f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/debuginfo/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,10 @@ impl<'a, 'tcx> FunctionDebugContext<'a, 'tcx> {
257257
source_info_set: &indexmap::IndexSet<SourceInfo>,
258258
local_map: FxHashMap<mir::Local, CPlace<'tcx>>,
259259
) {
260+
if isa.get_mach_backend().is_some() {
261+
return; // The AArch64 backend doesn't support line debuginfo yet.
262+
}
263+
260264
let end = self.create_debug_lines(context, isa, source_info_set);
261265

262266
self.debug_context

0 commit comments

Comments
 (0)