[compiler-rt sanitizer] Use our own PTRACE_GETREGSET if it does not exist.
authorJeroen Dobbelaere <Jeroen.Dobbelaere@synopsys.com>
Wed, 9 Dec 2020 08:59:47 +0000 (00:59 -0800)
committerVitaly Buka <vitalybuka@google.com>
Wed, 9 Dec 2020 09:08:14 +0000 (01:08 -0800)
commit8d33f08844a171472a59ef3f1ea6edb1e9fb9843
tree97933840d9c44d328fdab558019b1ae9754b6cb1
parentce14ffa1bba2b609eaba81186c51cf26e9cd60ac
[compiler-rt sanitizer] Use our own PTRACE_GETREGSET if it does not exist.

On RH66 does not support 'PTRACE_GETREGSET'. This change makes this part of compiler-rt build again on older os-es

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D91686
compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp