Expand description
Common ABI trait and utilities for code generation backends.
This module defines a trait that all ABI implementations must follow, reducing code duplication and providing a consistent interface.
Traits§
- Abi
- Trait defining the common interface for all ABI implementations.
Functions§
- common_
call_ stub - Helper function to create a common call_stub implementation.
- get_
free_ symbol - Helper function to get the platform-specific free symbol name.
- get_
malloc_ symbol - Helper function to get the platform-specific malloc symbol name.
- get_
printf_ symbol - Helper function to get the platform-specific printf symbol name.
- mangle_
macos_ name - Helper function to mangle function names for macOS (adds underscore prefix).