[all-commits] [llvm/llvm-project] 75b554: [llvm-exegesis] Switch to using PTRACE_ATTACH inst...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Thu Jul 6 19:58:17 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75b5541fe5d096d115d213cb8dc8a10cf3d11fbd
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-07-06 (Thu, 06 Jul 2023)

  Changed paths:
    M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp

  Log Message:
  [llvm-exegesis] Switch to using PTRACE_ATTACH instead of PTRACE_SEIZE

This patch switches from using PTRACE_SEIZE within the subprocess
benchmark runner for llvm-exegesis as PTRACE_SEIZE was introduced in
Linux kernel 3.4. Some LLVM users were reporting build failures as they
are using Kernel versions older than 3.4 (such as on CentOS/RHEL 6),
hence the patch.

More information about the All-commits mailing list