echristo added a comment. I'd be really surprised if this debug information worked. To make it work you need DISubprogram metadata which I don't think we want to put in the C API right now - at least not without serious stability caveats. http://reviews.llvm.org/D19037