That would be great. But I'm thinking whether we don't need
(in
addition to publishing the generator macros) a stringifying interface as
part of ABI.
Agreed. We held off before because we thought the C++ interface was
going to become usable soon enough, and we have it there already in
fairly nice ways. But it never did, and there are C consumers to
consider too. Incidentally, it looks like gcc's libiberty just added
exactly this in the last few days.
We need to merge the generator stuff into the implementation first,
since obviously we don't want just to move the manually-maintained
readelf.c tables into manually-maintained libdw tables.
Then we just have to decide on the exact interfaces, which shouldn't
be too hard.
Thanks,
Roland