aboutsummaryrefslogtreecommitdiff
path: root/src/link.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2023-01-20 18:26:21 +0100
committerJakub Konka <kubkon@jakubkonka.com>2023-01-20 18:43:16 +0100
commit835a60a34fe2bc3d35e4524caee455a4743a5022 (patch)
tree41e1c40e393397096209ee670304d2e7a510ec19 /src/link.zig
parent74b72a766de96c7c70fc8a02d3e2ee3cd353f225 (diff)
downloadzig-835a60a34fe2bc3d35e4524caee455a4743a5022.tar.gz
zig-835a60a34fe2bc3d35e4524caee455a4743a5022.zip
zld: parse, synthesise and emit unwind records
Diffstat (limited to 'src/link.zig')
-rw-r--r--src/link.zig3
1 files changed, 3 insertions, 0 deletions
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,