[llvm-commits] PATCH: Additional DebugFactory methods

Talin viridia at gmail.com
Mon Oct 5 22:48:03 PDT 2009


The attached patch adds some additional convenience methods to DebugFactory.
Specifically, methods that take a uint64 for size, alignment or offset, can
now also take a Constant *. This is very useful for target-independent
frontends which can use things like ConstantExpr::getSizeof(). I've been
using this for about a week in my own code and it seems to work fine,

-- 
-- Talin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20091005/4955672b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug_constants.patch
Type: application/octet-stream
Size: 7712 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20091005/4955672b/attachment.obj>


More information about the llvm-commits mailing list