I've been searching for the C API bindings for generating debug information, e.g. the DIBuilder class and related types and methods, but so far it looks like there are no C bindings. (The only related message I've found on the mailing list also seems to confirm this, although there was no reply to that mail.)
If this is indeed the case, would such a C wrapper be welcome? I am willing to write them and commit them back to LLVM if they don't exist yet.