[llvm-commits] [llvm-gcc-4.2] r53130 - /llvm-gcc-4.2/trunk/gcc/cgraphunit.c
Chris Lattner
sabre at nondot.org
Sat Jul 5 10:07:02 PDT 2008
On Jul 4, 2008, at 11:42 AM, Dale Johannesen wrote:
>>>
>>> Make the function non-static. Note that this only changes behavior
>>> when compiling C++, not C. In C++ the same thing already happens
>>> for
>>> inline functions and many other cases.
>
> This won't work when LTO is on, will it? You need the explicit
> "used" (actually, I'm not sure whether LTO honors that, but it ought
> to).
LTO does honor "used" fwiw.
-Chris
More information about the llvm-commits
mailing list