-
Notifications
You must be signed in to change notification settings - Fork 125
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
generate invalid llir instructions #198
Comments
I met the same problem. But I encouter "expected type" error, seems like the compiler don't know the
|
Please share the output of the command Thanks! |
Please share the sources of the binary used as input to Thanks! |
I found the problem is that I was using LLVM 13 before, and after I changed to LLVM 16, the opaque pointer could be compiled correctly. Thank you! |
source code helloworld.c
compile command
gcc helloworld.c
execute command
llvm-mctoll -d a.out -I /usr/include/stdio.h
generated a.out-dis.ll
execute command
cat a.out-dis.ll
output
execute command
llvm-as a.out-dis.ll -o a.out-dis.bc
errors
The text was updated successfully, but these errors were encountered: