Skip to content

Support writing of one unit at a time #805

@philipc

Description

@philipc

Currently the DWARF writing code requires all units to be built up in memory before starting the writing to the sections. When running the simple_convert example on large files, this results in high memory usage. We should change the conversion so that it can convert and write one unit at a time. Writing of cross-unit references will need to be delayed. We'll also need to be able to calculate .debug_str offsets before the string table is completely built.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions