From 835a60a34fe2bc3d35e4524caee455a4743a5022 Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Fri, 20 Jan 2023 18:26:21 +0100 Subject: zld: parse, synthesise and emit unwind records --- src/link.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/link.zig') diff --git a/src/link.zig b/src/link.zig index 2fb85cb482..2317525827 100644 --- a/src/link.zig +++ b/src/link.zig @@ -697,6 +697,7 @@ pub const File = struct { /// TODO audit this error set. most of these should be collapsed into one error, /// and ErrorFlags should be updated to convey the meaning to the user. pub const FlushError = error{ + BadDwarfCfi, CacheUnavailable, CurrentWorkingDirectoryUnlinked, DivisionByZero, @@ -737,6 +738,8 @@ pub const File = struct { MissingEndForExpression, /// TODO: this should be removed from the error set in favor of using ErrorFlags MissingMainEntrypoint, + /// TODO: this should be removed from the error set in favor of using ErrorFlags + MissingSection, MissingSymbol, MissingTableSymbols, ModuleNameMismatch, -- cgit v1.2.3