-
Notifications
You must be signed in to change notification settings - Fork 188
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
Unable to run the program #12
Comments
Indeed, as in #11, we haven't tested this with more recent versions of LLVM. As I recommended there, please look into using the LLVM version that was current when the code was written. Or, if you find the necessary changes to work with 4.0, please submit a pull request! |
I had similar error when loading the plugin.
I found this thread https://stackoverflow.com/questions/37366291/undefined-symbol-for-self-built-llvm-opt. It works for me by adding compiler flag in llvm-pass-skeleton/skeleton/CMakeLists.txt:
Hope it helps. |
add |
I git cloned this repo and followed here to build my LLVM 4.0.0.
And use this c program under folder
llvm-pass-skeleton/program/test.c
to test:Then I got this error:
Similar to #4, but the default path is used when building and compiling my LLVM.
This problem may be caused by LLVM version difference with reference to #11
I could use my LLVM version to run other
.bc
program without problem.The text was updated successfully, but these errors were encountered: