Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[compiler-rt][ubsan][nfc-ish] Fix a type conversion bug (llvm#100665)
If the inline asm version of `ptrauth_strip` is used instead of the builtin, the inline asm implementation currently returns an unsigned long, causing an incompatible pointer conversion issue. The spec for `ptrauth_sign` is that the result has the same type as the original value, so we add a cast to the result of the inline asm.
- Loading branch information