[llvm] [llvm-exegesis] Switch from intptr_t to uintptr_t in most cases (PR #102860)

Clement Courbet via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 26 23:50:17 PDT 2024


================
@@ -478,7 +478,7 @@ class SubProcessFunctionExecutorImpl
       RseqStructSize = 32;
 
     long RseqDisableOutput =
-        syscall(SYS_rseq, (intptr_t)__builtin_thread_pointer() + __rseq_offset,
+        syscall(SYS_rseq, (uintptr_t)__builtin_thread_pointer() + __rseq_offset,
----------------
legrosbuffle wrote:

`reinterpret_cast` for consistency ?

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


More information about the llvm-commits mailing list