-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorlinking
Milestone
Description
The ELF and Mach-O linkers are riddled with endian bugs; grepping for asBytes, @ptrCast, or writeAll will turn up most of them. Also, SPIR-V:
Lines 288 to 290 in 73f863a
| // TODO endianness bug. use file writer and call writeSliceEndian instead | |
| linker.base.file.?.writeAll(@ptrCast(linked_module)) catch |err| | |
| return diags.fail("failed to write: {s}", .{@errorName(err)}); |
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorlinking