Date: Thu, 21 May 2015 18:19:23 -0600 From: jd1008 <jd1008@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: compiling freeBSD with LTO Message-ID: <555E760B.109@gmail.com> In-Reply-To: <CAB8ha5T63wu_xyXdU4USX=xbSTtgFsgwARzc_uSO=4tecq7gpQ@mail.gmail.com> References: <CAB8ha5T63wu_xyXdU4USX=xbSTtgFsgwARzc_uSO=4tecq7gpQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 05/21/2015 05:57 PM, ervd ervd wrote: > Hi > I am doing a project in which I need to generate the whole program call > graph and for that I need to compile the freeBSD kernel with the LTO option. > Has anyone done this work previously? You will likely run into problems in programs which make calls via pointers to functions, which the kernel is full of. Many of these pointers are inside of data structures, each of which is initialized in some other function. Thus you will end up generating graph entries to unnamed functions.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?555E760B.109>