-
Notifications
You must be signed in to change notification settings - Fork 399
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
how to generate LLVM IR files for a whole project? #28
Comments
Hello @peach-byte! Thank you for using llvm-tutor and for submitting this issue. I think that in order to generate LLVM IR files for a larger project you'd have to tweak the corresponding CMake scripts. Basically, various files within a project will depend on each other. These dependencies are expressed through the build scripts. So basically you'd want to tweak your scripts so that the compiler runs:
Does this help in any way? |
Closing for now. Please feel free to re-open if you have further questions/comments! |
Thank you, I also found this useful repo in order to generate a whole project llvm IR. |
Looks very interesting, thank you for sharing! |
Hello
Thank you for your useful repository.
I have a question about generating .ll files, you used this command:
The question is how to generate this for all source files of a project, also each file has some included header files.
for example how to generate LLVM IR for all of the source files in Libgd?
I have tried this way but the result was almost empty:
Thank you very much.
The text was updated successfully, but these errors were encountered: