[LLVMdev] Idea for Google Summer Code : C Compiler for EFI Byte Code implement in LLVM
gingold at adacore.com
Thu Apr 1 00:55:03 PDT 2010
On Mar 31, 2010, at 8:48 PM, 琬菁楊 wrote:
> Hi Tristan,
> But it is not an error, otherwise it would be hard to use malloc() like functions.
> I cannot understand that it would be hard to use malloc() like functions
> the parameter passed to malloc is evaluated at runtime
> what is the issue of malloc when sizeof is determined at runtime?
It would be hard to use malloc *iff* sizeof of a structure that includes a pointer is flagged as an error
by the compiler.
EBC C compilers are clearly non ansi-C conformant.
More information about the llvm-dev