Displaying 2 results from an estimated 2 matches for "7a9d6606".
2013 Apr 25
2
[LLVMdev] Allocate memory for a class
On Thu, Apr 25, 2013 at 3:14 PM, B B <blackbox.dev.ml at gmail.com> wrote:
> > %call = call noalias i8* @_Znwm(i64 ptrtoint(%class.A* getelementptr(%class.A* null, i32 1) to i64))
> Yes, by "dynamically" I meant at IR code generation time. So if I
> understand, in your approach I need only to determine how many elements are
> in the structure. How can I get this
2013 Apr 25
0
[LLVMdev] Allocate memory for a class
...many fields are in the struct.
>
> You might find this page from the docs useful:
> http://llvm.org/docs/GetElementPtr.html
>
> Tim.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130425/7a9d6606/attachment.html>