Skip to content

add clang frontend support for more reliable ABI generation#234

Open
vtjnash wants to merge 1 commit intomasterfrom
jn/cabi
Open

add clang frontend support for more reliable ABI generation#234
vtjnash wants to merge 1 commit intomasterfrom
jn/cabi

Conversation

@vtjnash
Copy link
Copy Markdown
Member

@vtjnash vtjnash commented Feb 23, 2026

This helps to generate correct function signatures in many more cases, by preserving the information from the clang C/C++ front-end about the sign and struct layout of the original arguments, other than any alignment differences of the individual members. If trying to use this for another language frontend (e.g. rust, julia, flang), they would require a similar plug-in to preserve the ABI information similarly.

Fixes: #98

This helps to generate correct function signatures in most cases, by
preserving the information from the clang C/C++ front-end about the sign
and struct layout of the original arguments. If trying to use this for
another language frontend (e.g. rust, julia, flang), they would require
a similar plug-in to preserve the ABI information similarly.

Fixes: #98
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use of wrong function signatures (mainly signedness) for standard C functions

1 participant