aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2022-03-12 12:33:32 +0200
committerVeikka Tuominen <git@vexu.eu>2022-03-12 12:33:32 +0200
commit487ee79ec92a69832293d10b16beb4c8471af7ac (patch)
treef6ff4b32804b2f1dc2e2479fc35c2c0804c0c9ad /lib/std
parenta3cfb15fb4be719fe11f231113020532ad0b1258 (diff)
downloadzig-487ee79ec92a69832293d10b16beb4c8471af7ac.tar.gz
zig-487ee79ec92a69832293d10b16beb4c8471af7ac.zip
stage2 llvm: do not use getIntrinsic for airFrameAddress
getIntrinsic gets the return type wrong so we have to add the function manually
Diffstat (limited to 'lib/std')
-rw-r--r--lib/std/debug.zig1
1 files changed, 0 insertions, 1 deletions
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,