[LLVMdev] Preventing Inlining

Chris Lattner sabre at nondot.org
Fri Dec 17 13:23:19 PST 2004


On Fri, 17 Dec 2004, Sriraman Tallam wrote:

> 	I have a quick question. Can you tell me how to avoid simple
> functions getting inlined for 'C' programs ? I am using LLVM 1.2 .

Hi Sriraman, :)

Compile with 'llvmgcc -Wa,-disable-inlining -Wl,-disable-inlining' should 
do the trick.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/




More information about the llvm-dev mailing list