diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2023-08-30 20:16:37 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2023-08-30 20:16:37 +0200 |
| commit | 5144132320ae86320e9a6bf335bfbdccf52e2621 (patch) | |
| tree | e697b935a5aa549a8d85283a5ddf88ed4816f810 /src/link.zig | |
| parent | 5806e761bb676cdd537308f6c4a197e42228416d (diff) | |
| download | zig-5144132320ae86320e9a6bf335bfbdccf52e2621.tar.gz zig-5144132320ae86320e9a6bf335bfbdccf52e2621.zip | |
macho: report formatted error for unhandled symbol types
Diffstat (limited to 'src/link.zig')
| -rw-r--r-- | src/link.zig | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/link.zig b/src/link.zig index 81fa0e2893..4bb30f7a7e 100644 --- a/src/link.zig +++ b/src/link.zig @@ -698,14 +698,12 @@ pub const File = struct { CurrentWorkingDirectoryUnlinked, DivisionByZero, DllImportLibraryNotFound, - EmptyStubFile, ExpectedFuncType, FailedToEmit, FailedToResolveRelocationTarget, FileSystem, FilesOpenedWithWrongFlags, FlushFailure, - FrameworkNotFound, FunctionSignatureMismatch, GlobalTypeMismatch, HotSwapUnavailableOnHostOperatingSystem, @@ -722,14 +720,12 @@ pub const File = struct { LLD_LinkingIsTODO_ForSpirV, LibCInstallationMissingCRTDir, LibCInstallationNotAvailable, - LibraryNotFound, LinkingWithoutZigSourceUnimplemented, MalformedArchive, MalformedDwarf, MalformedSection, MemoryTooBig, MemoryTooSmall, - MismatchedCpuArchitecture, MissAlignment, MissingEndForBody, MissingEndForExpression, @@ -738,9 +734,7 @@ pub const File = struct { MissingSymbol, MissingTableSymbols, ModuleNameMismatch, - MultipleSymbolDefinitions, NoObjectsToLink, - NotObject, NotObjectFile, NotSupported, OutOfMemory, @@ -756,16 +750,12 @@ pub const File = struct { UnableToSpawnWasm, UnableToWriteArchive, UndefinedLocal, - /// TODO: merge with UndefinedSymbolReference UndefinedSymbol, - /// TODO: merge with UndefinedSymbol - UndefinedSymbolReference, Underflow, UnexpectedRemainder, UnexpectedTable, UnexpectedValue, UnhandledDwFormValue, - UnhandledSymbolType, UnknownFeature, Unseekable, UnsupportedCpuArchitecture, |
