The Compact C Type Format in the GNU toolchain
The Compact C Type Format in the GNU toolchain
Posted Aug 7, 2019 22:01 UTC (Wed) by nix (subscriber, #2304)In reply to: The Compact C Type Format in the GNU toolchain by fuhchee
Parent article: The Compact C Type Format in the GNU toolchain
I wonder if it can handle more than just debuginfo... musing about having libctf automatically launch dbgserver queries for missing CTF sections now -- so people can have separated CTF if they really want *and* it is as if it were always present. Best of all worlds! For that matter they can also do both -- perhaps an option at CTF generation time which automatically emits separated CTF *if* its size passes some threshold, or some percentage threshold of the total binary size, or the .text size, or something. Of course then you'd have to arrange for the dbgserver to see it, but presumably whatever method is used for separated debuginfo would work for this too.
Posted Aug 8, 2019 12:28 UTC (Thu)
by fuhchee (guest, #40059)
[Link]
It should be a small amount of extra effort to extend it sideways to a 'ctf' sibling to 'debuginfo'.
The Compact C Type Format in the GNU toolchain