diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-02-27 18:09:43 +0100 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2022-03-01 08:35:20 +0100 |
| commit | 49f01c0a0cd510437f6f2d13d5de3e722f48cc3d (patch) | |
| tree | 35481c8603ed3c0dc69aef5621ea524cd09670af /test/behavior/error.zig | |
| parent | eaf1c97ce80606505768b8dd8daf8b479aec91a7 (diff) | |
| download | zig-49f01c0a0cd510437f6f2d13d5de3e722f48cc3d.tar.gz zig-49f01c0a0cd510437f6f2d13d5de3e722f48cc3d.zip | |
wasm-object: Use given allocator rather than arena
This is preliminary work for string interning in the wasm linker.
Using an arena would defeat the purpose of de-duplicating strings as we wouldn't be able to free memory
of duplicated strings.
This change also means we can simplify wasm binary parsing, by creating a general purpose parser that
parses the binary into its sections, but untyped. Doing this, allows us to re-use the base of that, for
object file, but also debug info parsing.
Diffstat (limited to 'test/behavior/error.zig')
0 files changed, 0 insertions, 0 deletions
