stage2 llvm: do not use getIntrinsic for airFrameAddress

getIntrinsic gets the return type wrong so we have to add the function manually
This commit is contained in:
Veikka Tuominen
2022-03-12 12:33:32 +02:00
parent a3cfb15fb4
commit 487ee79ec9
2 changed files with 8 additions and 2 deletions

View File

@@ -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,