-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
LLVM Build fails if exception enabled #63702
Comments
Effectively, I have the same problem on main, it exists at least since version 14. The signature Builder::CreateLoad(Value*) does not exist, the Type* is missing as first argument. Is it caused by the combination of cmake options ? |
Moreover, some code is just wrong, as in llvm-project/llvm/examples/ExceptionDemo/ExceptionDemo.cpp Lines 1291 to 1292 in 9322a0c
where CreateStructGEP is used on a Int8Ptr. |
@EugeneZelenko I am waiting for a review of the PR, could you take it ? |
@epitavy: You could look onto file history to find previous contributors - they would be best reviewers. |
The ExceptionDemo example was no longer compiling (since llvm 14 at least). The PR makes the example work with the current API and also transition from MCJIT to ORC. Fixes #63702
CMake options to reproduce.
-DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_BUILD_EXAMPLES=ON
The text was updated successfully, but these errors were encountered: