[all-commits] [llvm/llvm-project] 46b5b8: [llvm-exegesis] Adjust GLIBC_INITS_RSEQ condition

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Jun 28 00:23:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46b5b855489f87aac2487d099175807880486041
      https://github.com/llvm/llvm-project/commit/46b5b855489f87aac2487d099175807880486041
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

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

  Log Message:
  -----------
  [llvm-exegesis] Adjust GLIBC_INITS_RSEQ condition

Commit 9f80831f3627e800709e2434bbbd5bb179b1576e introduced `#include <sys/rseq.h>`,
but RSEQ_SIG is only defined by some glibc ports (aarch64,arm,mips,powerpc,s390,x86),
causing other hosts (e.g., riscv64, loongarch64) to fail to build.

Reviewed By: aidengrossman, xen0n

Differential Revision: https://reviews.llvm.org/D153938




More information about the All-commits mailing list