alexcrichton opened issue #11573:
Currently
is_leafaffects whether frame pointers are used at the ABI layer. The implementation of this function, however, just checks if there's no signatures or tls variables. This is inaccurate for a few reasons:
- A signature might be present to return the address of a function, not necessarily to call the signature.
- A function may have no signatures or TLS variables but still invoke a libcall.
We'll probably want to scan the VCode for calls to determine if something is a leaf or not.
alexcrichton added the bug label to Issue #11573.
alexcrichton added the cranelift label to Issue #11573.
pchickey edited issue #11573:
Currently
is_leafaffects whether frame pointers are used at the ABI layer. The implementation of this function, however, just checks if there's no signatures or tls variables. This is inaccurate for a few reasons:
- A signature might be present to return the address of a function, not necessarily to call the signature.
- A function may have no signatures or TLS variables but still invoke a libcall.
We'll probably want to scan the VCode for calls to determine if something is a leaf or not.
cfallin closed issue #11573:
Currently
is_leafaffects whether frame pointers are used at the ABI layer. The implementation of this function, however, just checks if there's no signatures or tls variables. This is inaccurate for a few reasons:
- A signature might be present to return the address of a function, not necessarily to call the signature.
- A function may have no signatures or TLS variables but still invoke a libcall.
We'll probably want to scan the VCode for calls to determine if something is a leaf or not.
Last updated: Dec 06 2025 at 06:05 UTC