[llvm-exegesis] Adjust GLIBC_INITS_RSEQ condition
authorFangrui Song <i@maskray.me>
Wed, 28 Jun 2023 07:23:38 +0000 (00:23 -0700)
committerFangrui Song <i@maskray.me>
Wed, 28 Jun 2023 07:23:38 +0000 (00:23 -0700)
commit46b5b855489f87aac2487d099175807880486041
tree5e51cca18eabdd582b53ed039deeb7b9133cb245
parent28722dcc2556b9cea5c7d9a4dd8343ac68e696ef
[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
llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp