diff options
author | Alan Zhao <ayzhao@google.com> | 2024-07-25 17:38:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-25 17:38:44 -0700 |
commit | 25f9415713f9f57760a5322876906dc11385ef8e (patch) | |
tree | 40acc8e2ecf308000f6c9fe85d2ee41b213edec7 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 8644a2aa0f3540c69464f56b3d538e888b6cbdcb (diff) | |
download | llvm-25f9415713f9f57760a5322876906dc11385ef8e.zip llvm-25f9415713f9f57760a5322876906dc11385ef8e.tar.gz llvm-25f9415713f9f57760a5322876906dc11385ef8e.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions