-
Notifications
You must be signed in to change notification settings - Fork 42
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
fatal error: error in backend: Cannot expand unaligned load of capability type. #313
Comments
I assume this is 6bdf026; Jenkins has been reporting this failure over the weekend. |
For now you can just revert 6bdf026 but since that causes webkit to be miscompiled it is not the ideal solution. I'll see if I can come up with a fix. |
We could of course just always emit the CSC/CLC even if LLVM thinks it is unaligned but that might mask some other compiler bugs. |
Minimal test case:
|
Casting __int128 to void* is really odd and will crash at runtime, I wonder why this is being generated from the libunwind sources. |
I actually want to eventually remove the memcpy and get<> template from libunwind to get us closer to upstream sources and just use a plain uintptr_t read for getP(). |
No longer crashes: https://cheri-compiler-explorer.cl.cam.ac.uk/z/9rjEKP |
While attempting to build CheriBSD (revocation work atop 3158bc6a8e85394177013f0f16d84ff98350464d) with today's llvm (ab53327):
libunwind-a1a176.zip
The text was updated successfully, but these errors were encountered: