Function deinit [src]

Prototype

pub fn deinit(self: *@This(), allocator: Allocator) void

Parameters

self: *@This()allocator: Allocator

Source

pub fn deinit(self: *@This(), allocator: Allocator) void { var it = self.ofiles.iterator(); while (it.next()) |entry| { const ofile = entry.value_ptr; ofile.di.deinit(allocator); ofile.addr_table.deinit(); } self.ofiles.deinit(); allocator.free(self.symbols); posix.munmap(self.mapped_memory); }