Displaying 2 results from an estimated 2 matches for "ac51bec2".
Did you mean:
a351b9c2
2009 Sep 23
0
[LLVMdev] DebugFactory
...gt; you're looking for?
>
> That will work. Now all I need is for the methods of DIFactory to take a
Constant* instead of uint64.
--
-- Talin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090923/ac51bec2/attachment.html>
2009 Sep 23
2
[LLVMdev] DebugFactory
On Sep 22, 2009, at 4:49 PM, Talin wrote:
>
> // Calculate the size of the specified LLVM type.
> Constant * DebugInfoBuilder::getSize(const Type * type) {
> Constant * one = ConstantInt::get(Type::Int32Ty, 1);
> return ConstantExpr::getPtrToInt(
> ConstantExpr::getGetElementPtr(
> ConstantPointerNull::get(PointerType::getUnqual(type)),
>