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,<br clear="all">
<br>-- <br>-- Talin<br>