diff options
author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2021-11-10 20:27:42 +0100 |
---|---|---|
committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2021-11-17 14:42:08 -0500 |
commit | 4c32e3d967ecbc4e7f90fef546b5ed38bbd2f7a6 (patch) | |
tree | 2f1975e62ac942df87700ced67f4a37dc068a757 /libcxx/src/algorithm.cpp | |
parent | 5f99f771ec7134898d67ed0d2234562df756e332 (diff) | |
download | llvm-4c32e3d967ecbc4e7f90fef546b5ed38bbd2f7a6.zip llvm-4c32e3d967ecbc4e7f90fef546b5ed38bbd2f7a6.tar.gz llvm-4c32e3d967ecbc4e7f90fef546b5ed38bbd2f7a6.tar.bz2 |
[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
Diffstat (limited to 'libcxx/src/algorithm.cpp')
0 files changed, 0 insertions, 0 deletions