syscalls involving pid/tid on 32 bit binaries are failing with
"Invalid argument" because the uint64_t arguments are too wide.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Sounds like you don't have the function prototype for syscall? Otherwise there would be a conversion to the correct type. You can fix this with a static_cast like you did, but in reality this shouldn't happen unless you don't have the syscall prototype.