Displaying 5 results from an estimated 5 matches for "tp24093351p24094996".
2009 Jun 18
2
[LLVMdev] Explicitly Freeing Allocas
...> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
--
View this message in context: http://www.nabble.com/Explicitly-Freeing-Allocas-tp24093351p24094996.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
2009 Jun 18
0
[LLVMdev] Explicitly Freeing Allocas
..._____________
> > LLVM Developers mailing list
> > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Explicitly-Freeing-Allocas-tp24093351p24094996.html
> Sent from the LLVM - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- n...
2009 Jun 18
0
[LLVMdev] Explicitly Freeing Allocas
Nyx wrote:
> Hello,
>
> I would just like to ask if it's possible to explicitly free allocas. This
> is because I need to call functions that take structs of different sizes as
> input, (possibly inside of loops) and I would rather avoid a stack overflow.
>
No, it's not legal to free memory returned by alloca. Such memory is
allocated on the stack; the code generator
2009 Jun 18
1
[LLVMdev] Explicitly Freeing Allocas
...elopers mailing list
>> > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Explicitly-Freeing-Allocas-tp24093351p24094996.html
>> Sent from the LLVM - Dev mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmd...
2009 Jun 18
5
[LLVMdev] Explicitly Freeing Allocas
Hello,
I would just like to ask if it's possible to explicitly free allocas. This
is because I need to call functions that take structs of different sizes as
input, (possibly inside of loops) and I would rather avoid a stack overflow.
If this is not possible, an alternate solution would be for me to allocate
an array of bytes larger than all the struct types I may be using, and cast
that