Skip to content

Derivation of runtime type information from ctf #44

@ratmice

Description

@ratmice

Given the recent changes in e.g. binutils adding intial support for the ctf
Compact Type Format, I'm not sure the current status of across gcc/ld in tree or releases yet

Anyhow given that liballocs derives its runtime information from DWARF, If it were possible to derive this information from Compact Type Format instead or as well, that might be nice given its more compact format. Since the intent seems to be that due to their minimal size these can have a more wide availability in normal release builds.

Edit: I think it's probably not possible, it seems like CTF is limited to type information about symbols, while liballocs would seem to need type information at call-sites which perform allocations?

By all means close if it's too much work invested in dwarf/not possible/whatever. Mostly just thought of liballocs while reading about this new/upcoming feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions