Disable Inlining

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Disable Inlining

Ryan M. Lefever
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?

Thanks,
Ryan
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Disable Inlining

Chris Lattner
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/
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev