This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] - Fix PR 21956 and PR 22003
Caroline Tice <ctice@apple.com> writes:
> Thanks! I'll take a look at this...
By the way, thunks do work with -ffunction-sections, because the
function use_thunk in cp/method.c is careful to copy DECL_SECTION_NAME
from the real function to the thunk.
I have no idea whether anything like that will be required for
hot/cold partitioning. It may even be that the code already in
use_thunk suffices.
Ian