<div dir="ltr">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.<div>
<br></div><div>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.)<br clear="all">
<br>-- <br>-- Talin<br>
</div></div>