Frame Pointer (-fno-omit-frame-pointer)
The Return of the Frame Pointers - HN
There’s more than one way to walk a stack. (see article)
Notes
The claim that hardware provided stack based CALL and RETURN instructions was not universally true. Many systems had no call/return stack, or supported only a single level of subroutine calls (essentially useless for a high level language but maybe useful for some hand written machine code). - HN
- Modern C/C++ on the Venerable 6502 - Most of ASM code on 6502 was more efficient by avoiding using a stack at all.
see also
Written on March 17, 2024, Last update on October 11, 2025
stacktrace
debug-c++