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

Unsupported types in alloca: Type=StructTyID #11

Open
zaoqi opened this issue Mar 31, 2019 · 1 comment
Open

Unsupported types in alloca: Type=StructTyID #11

zaoqi opened this issue Mar 31, 2019 · 1 comment

Comments

@zaoqi
Copy link

zaoqi commented Mar 31, 2019

https://gitlab.com/the-language/the-language/blob/c661c4f3fc13026a80d57fef31cdcdd2422d7ba2/core/arch/c/lang.c

$ ./bin/lljvm-translator lang.bc 
/home/1828_sandbox/src/github.com-maropu-lljvm-translator/lljvm-translator-master/bin/../target/lljvm-core_0.3.0-EXPERIMENTAL-with-dependencies.jar not found, so use pre-compiled /home/1828_sandbox/src/github.com-maropu-lljvm-translator/lljvm-translator-master/bin/../assembly/lljvm-core_0.3.0-EXPERIMENTAL-with-dependencies.jar
io.github.maropu.lljvm.LLJVMRuntimeException: Unsupported types in alloca: Type=StructTyID
	at io.github.maropu.lljvm.LLJVMNative.throwException(LLJVMNative.java:65)
	at io.github.maropu.lljvm.LLJVMNative.asJVMAssemblyCode(Native Method)
	at io.github.maropu.lljvm.LLJVMTranslator.main(LLJVMTranslator.java:50)
@maropu
Copy link
Owner

maropu commented Apr 1, 2019

This project doesn't target a full-fledge transformation, so I feel its difficult to support the conversion in the example above....

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

No branches or pull requests

2 participants