[lldb-dev] Supporting custom debug formats

Talin viridia at gmail.com
Thu Jun 28 12:23:43 PDT 2012

I'd be curious to know how difficult it would be to support a
language-specific debugging format in lldb. Let's say I have a language
that supports reflection, which means that the executable file contains a
complete description of all data types and functions. Rather than write
this information out twice (once as reflection metadata, and once as DWARD
DIEs), I'd like to make it so that the debugger can interpret the
reflection data directly, avoiding the need to use DWARF at all.

I'd also like to support the idea of "source libraries", similar to Java's
concept of "source jars", in other words, packed archives of source files
that are reachable via the library search path, which can be shipped along
with a binary for a library and allow convenient access to the source code
for debugging.

How difficult would it be to extend lldb to do this?

-- Talin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20120628/5d02524a/attachment.html>

More information about the lldb-dev mailing list