From 487ee79ec92a69832293d10b16beb4c8471af7ac Mon Sep 17 00:00:00 2001 From: Veikka Tuominen Date: Sat, 12 Mar 2022 12:33:32 +0200 Subject: stage2 llvm: do not use getIntrinsic for airFrameAddress getIntrinsic gets the return type wrong so we have to add the function manually --- lib/std/debug.zig | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/std/debug.zig') diff --git a/lib/std/debug.zig b/lib/std/debug.zig index a2cbf88730..3d06c16d57 100644 --- a/lib/std/debug.zig +++ b/lib/std/debug.zig @@ -1630,7 +1630,6 @@ fn getSymbolFromDwarf(address: u64, di: *DW.DwarfInfo) !SymbolInfo { .symbol_name = nosuspend di.getSymbolName(address) orelse "???", .compile_unit_name = compile_unit.die.getAttrString(di, DW.AT.name) catch |err| switch (err) { error.MissingDebugInfo, error.InvalidDebugInfo => "???", - else => return err, }, .line_info = nosuspend di.getLineNumberInfo(compile_unit.*, address) catch |err| switch (err) { error.MissingDebugInfo, error.InvalidDebugInfo => null, -- cgit v1.2.3