[all-commits] [llvm/llvm-project] fc356d: [compiler-rt] Adapt stop-the-world for ptrace chan...

Kamil Rytarowski via All-commits all-commits at lists.llvm.org
Tue Dec 24 11:37:24 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fc356dcc11c10003ff22acff667b0a9f5e6c1e0f
      https://github.com/llvm/llvm-project/commit/fc356dcc11c10003ff22acff667b0a9f5e6c1e0f
  Author: Kamil Rytarowski <n54 at gmx.com>
  Date:   2019-12-24 (Tue, 24 Dec 2019)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_netbsd_libcdep.cpp

  Log Message:
  -----------
  [compiler-rt] Adapt stop-the-world for ptrace changes in NetBSD-9.99.30

Handle PT_LWPNEXT for newer kernels and keep PT_LWPINFO for older ones.


  Commit: 4b8232d4f0bf5fd9f11ebef2b0f9e8e15f130fb3
      https://github.com/llvm/llvm-project/commit/4b8232d4f0bf5fd9f11ebef2b0f9e8e15f130fb3
  Author: Kamil Rytarowski <n54 at gmx.com>
  Date:   2019-12-24 (Tue, 24 Dec 2019)

  Changed paths:
    M compiler-rt/include/sanitizer/netbsd_syscall_hooks.h
    M compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h
    M compiler-rt/lib/sanitizer_common/sanitizer_syscalls_netbsd.inc
    M compiler-rt/utils/generate_netbsd_syscalls.awk

  Log Message:
  -----------
  [compiler-rt] Adapt for ptrace(2) changes in NetBSD-9.99.30

Enable compat support for now legacy PT_LWPINFO.
Support PT_LWPSTATUS and PT_LWPNEXT.


  Commit: ab8a7a29bf15c6eb1d4393516cde1688dbe7dc45
      https://github.com/llvm/llvm-project/commit/ab8a7a29bf15c6eb1d4393516cde1688dbe7dc45
  Author: Kamil Rytarowski <n54 at gmx.com>
  Date:   2019-12-24 (Tue, 24 Dec 2019)

  Changed paths:
    M lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
    M lldb/source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp

  Log Message:
  -----------
  [lldb] Adapt for NetBSD-9.99.30 ptrace(2) API changes

Switch from PT_LWPINFO to PT_LWPSTATUS/PT_LWPNEXT.

Keep compat support for < 9.99.30.

No functional change intended.


Compare: https://github.com/llvm/llvm-project/compare/c06e53119b1f...ab8a7a29bf15


More information about the All-commits mailing list