Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcalcc not support variable arguments #25

Open
zqb-all opened this issue Aug 24, 2023 · 0 comments
Open

Xcalcc not support variable arguments #25

zqb-all opened this issue Aug 24, 2023 · 0 comments
Labels
bug w2ll WHIRL to LLVM

Comments

@zqb-all
Copy link

zqb-all commented Aug 24, 2023

For this program

int print(int a, ...)
{
}

Xcalcc build error:

2023-08-24 13:49:35,388 - xcalcc - ERROR - !!! Log: (null) :Translating print(0)


### Assertion failure ../../../../osprey/ir_tools/whirl2llvm.cxx:1082:
### Find_parm_type cannot find _temp_vararg1
### For printf.O in print (xcalcc:580)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug w2ll WHIRL to LLVM
Projects
None yet
Development

No branches or pull requests

2 participants