-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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] ExecutionUnit/JITLink build error. #64418
[LLVM] ExecutionUnit/JITLink build error. #64418
Comments
@llvm/issue-subscribers-jitlink |
This function does not return a value. #64418
@carlo-bramini Thanks for catching this. I've changed the return type to void in dce1793. @weliveindetail -- does that fix look right to you? |
As noted in the ticket above, we missed to backport this to the 17.x release branch. Is it still worth doing? |
/cherry-pick dce1793 |
Error: Command failed due to missing milestone. |
/cherry-pick dce1793 |
/branch llvm/llvm-project-release-prs/issue64418 |
This function does not return a value. llvm/llvm-project#64418 (cherry picked from commit dce1793)
/pull-request llvm/llvm-project-release-prs#787 |
This function does not return a value. llvm/llvm-project#64418 (cherry picked from commit dce1793)
While compiling llvm-project for making the packages, which seems to use more strict options, I got this error:
The cause of the error is evident, since
writeRegister()
is declared for returning abool
:llvm-project/llvm/lib/ExecutionEngine/JITLink/aarch32.cpp
Line 176 in 5ba9063
but at the end of the function, it does not return any value.
In my opinion, this may be a copy-paste error and replacing
bool
withvoid
just solves the issue.Both current head and branch-17.x are affected by this mistake.
The text was updated successfully, but these errors were encountered: