This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC][AArch64] function prologue analyzer in linux kernel


On Tue, Jan 12, 2016 at 12:18 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> -fstack-usage does not work when there are VLAs or alloca's.  So there
>> is no way to figure that part out without analysis of the actual
>> assembly code.
>
> No, -fstack-usage always works, i.e. its output can always be relied upon;
> when it cannot compute the maximum stack usage, it prints "unbounded".

Yes It works that way but that is not useful enough for what is needed
to do unwinding :).

>
> --
> Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]