[LLVMdev] Disable Inlining

Chris Lattner sabre at nondot.org
Fri Dec 1 15:42:28 PST 2006


On Fri, 1 Dec 2006, Ryan M. Lefever wrote:
> I ran the following command:
> llvm-gcc -Iinclude -Illvmtest  -Wa,-disable-inlining
> -Wl,-disable-inlining -c -o llvmtest/sliceme2.bc llvmtest/sliceme2.c
> And it responded with the following:
> as: unrecognized option `-disable-inlining'
> Does -disable-inlining not work anymore?

llvm-gcc4 doesn't use the -Wa/-Wl hacks any longer.  Just pass it 
-fno-inline like a normal gcc.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list