| author | |
| committer | |
| log | 6b6e336e07308fd23f3061b5be11407956b2a460 |
| tree | cf50146baa470990de2a81348585a8a15513374f |
| parent | b64fe53ad509a1f582483e886f8b740a59b379c3 |
| signature |
Tools are free to use the upper bits of this field for whatever; thus, tools
that want to interpret the visibility type should truncate to 2 bits.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/Build/Step/CheckObject.zig+1-1| ... | ... | @@ -2270,7 +2270,7 @@ const ElfDumper = struct { |
| 2270 | 2270 | try writer.print(" {s}", .{sym_bind}); |
| 2271 | 2271 | } |
| 2272 | 2272 | |
| 2273 | const sym_vis = @as(elf.STV, @enumFromInt(sym.st_other)); | |
| 2273 | const sym_vis = @as(elf.STV, @enumFromInt(@as(u2, @truncate(sym.st_other)))); | |
| 2274 | 2274 | try writer.print(" {s}", .{@tagName(sym_vis)}); |
| 2275 | 2275 | |
| 2276 | 2276 | const sym_name = switch (sym.st_type()) { |