[LLVMdev] Documentation of malloc/free

Garrison Venn gvenn.cfe.dev at gmail.com
Mon Dec 7 08:45:04 PST 2009


Ouch! Didn't see that. So at the risk of irritating those still in the process of baking 2.7, what is the sanction way of doing heap allocation going forward? :-)

Garrison
 
On Dec 7, 2009, at 11:18, Chris Lattner wrote:

> 
> On Dec 7, 2009, at 2:13 AM, Florian Merz wrote:
> 
>> Hi everyone,
>> 
>> I noticed that MallocInst and FreeInst have been removed from the LLVM IR as 
>> well as the language reference[1]. May I propose that at least some 
>> placeholder is left in that document telling the reader that these 
>> instructions have been removed. This should be kept in at least until there is 
>> one official release that does not support these instructions anymore.
>> The same goes for the addition of the indirect branch instruction. A note in 
>> the language reference would be nice telling the reader when this instruction 
>> has been added to the language.
> 
> Hi Florian,
> 
> The documentation for LLVM is intended to describe the state of the system without a historical view.  To get the historical view we put major changes in the release notes.  These haven't been written yet for 2.7 though.
> 
> -Chris
> 
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev





More information about the llvm-dev mailing list