Re: -fno-omit-frame-pointer does not work as advertised

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel Alley wrote:
> It is unlikely that the critical bottleneck of any applications will be on
> such a function.

But it can be in the function CALLING such a function, and said function 
will be completely missing from the backtrace.

Quoting your link 
[https://developer.arm.com/documentation/dui0774/k/Compiler-Command-line-Options/-fomit-frame-pointer---fno-omit-frame-pointer]:
> A function that does not use any stack space does not need to create a
> frame record, and leaves the frame pointer pointing to the caller's
> frame.

And that limitation makes -fno-omit-frame-pointer useless for the purpose 
for which it is being forced onto Fedora users.

The other limitation that I have mentioned is also documented there:
> There is a short time period at the beginning and end of a function where
> the frame pointer points to the frame record in the caller's frame.

That, too, means frame pointers cannot by design solve the problem which the 
change intends to solve with them.

        Kevin Kofler
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux