commit | 457e65da05f68582bdb674079dc1ba798ee0e5b4 | [log] [tgz] |
---|---|---|
author | Alan Zhao <ayzhao@google.com> | Thu Jul 25 17:38:44 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Jul 25 17:40:54 2024 -0700 |
tree | 88916a466f9a44a501baab8f0093da21c85e2a19 | |
parent | 43598be14062ece494dc0b91c83e784ce613d8d1 [diff] |
[compiler-rt][ubsan][nfc-ish] Fix a type conversion bug (#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. GitOrigin-RevId: 25f9415713f9f57760a5322876906dc11385ef8e