[compiler-rt] Normalize ptrauth handling in sanitizer runtime (PR #100483)

Alan Zhao via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 25 15:42:34 PDT 2024


alanzhao1 wrote:

> @ZequanWu
> 
> > With the fix, this is still broken due to invalid pointer conversion:
> 
> Oh. Thanks for noticing this! I believe we fixed this issue... But apparently, not final version of patch was submitted. So, to double check, the final version has `void *ret` variable, does it work for you?
> 
> Apparently, there are no buildbots that cover this configuration...

[A quick search](https://github.com/search?q=repo%3Allvm%2Fllvm-project+ptrauth_strip&type=code) shows that the preference seems to be to cast the result of `ptrauth_strip` to the desired type where it's used. I created https://github.com/llvm/llvm-project/pull/100665

https://github.com/llvm/llvm-project/pull/100483


More information about the llvm-commits mailing list