Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2015 18:19:23 -0600
From:      jd1008 <>
Subject:   Re: compiling freeBSD with LTO
Message-ID:  <>
In-Reply-To: <>
References:  <>

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: <>