[llvm-commits] DebugInfoBuilder

Talin viridia at gmail.com
Tue Aug 5 11:35:50 PDT 2008


The attached patch file contains an initial implementation of
DebugInfoBuilder, which is intended to help generate DWARF debugging
information. Currently it only has support for creating global descriptors,
I have not yet implemented descriptors for aggregate types or stop points.
The API tries to simplify the task of creating descriptors by using the IR
types. For example, instead of having to manually specify the size and
alignment of an integer, you can just pass an IntegerType to
CreateIntegerTypeDescriptor and it will figure that out for you. However, in
some cases you'll need to pass extra information which is not represented in
the IR - so for example CreateIntegerTypeDescriptor takes an argument
indicating whether the type is intended to be signed or unsigned (since the
IR integer type has no concept of signed-ness.)

-- 
-- Talin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080805/195693da/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIB.patch
Type: application/octet-stream
Size: 17898 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080805/195693da/attachment.obj>


More information about the llvm-commits mailing list