[all-commits] [llvm/llvm-project] 4c32e3: [SystemZ] [Sanitizer] Bugfixes in internal_clone().
Jonas Paulsson via All-commits
all-commits at lists.llvm.org
Wed Nov 17 11:44:17 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4c32e3d967ecbc4e7f90fef546b5ed38bbd2f7a6
https://github.com/llvm/llvm-project/commit/4c32e3d967ecbc4e7f90fef546b5ed38bbd2f7a6
Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
Date: 2021-11-17 (Wed, 17 Nov 2021)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_linux_s390.cpp
Log Message:
-----------
[SystemZ] [Sanitizer] Bugfixes in internal_clone().
The __flags variable needs to be of type 'long' in order to get sign extended
properly.
internal_clone() uses an svc (Supervisor Call) directly (as opposed to
internal_syscall), and therefore needs to take care to set errno and return
-1 as needed.
Review: Ulrich Weigand
More information about the All-commits
mailing list