[LLVMdev] malloc, magic, and embedded compilation

Duncan Sands baldrick at free.fr
Thu May 15 01:40:58 PDT 2008


> > The answer to #1 is no.  The answer to #2 is "not if you use 
> > -ffree-standing".  Why do you care about globalopt.cpp specifically?
> 
> Only because Duncan mentioned it.

And I only mentioned it because it is the only transform in
Transforms/IPO which looks explicitly for "main".  I didn't
take the time to see what it is doing exactly - perhaps the
reliance on special properties of "main" can be removed (which
would be nice).

Ciao,

Duncan.



More information about the llvm-dev mailing list