[PATCH] D153937: [llvm-exegesis] Exclude loongarch when define GLIBC_INITS_RSEQ
Lu Weining via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 27 21:13:21 PDT 2023
SixWeining created this revision.
SixWeining added reviewers: aidengrossman, xen0n, xry111, hev, MaskRay, wangleiat.
Herald added a subscriber: mstojanovic.
Herald added a project: All.
SixWeining requested review of this revision.
Herald added subscribers: llvm-commits, courbet.
Herald added a project: LLVM.
Currently LoongArch does not have arch-specific rseq.h, so exclude it.
Fix buildbot failures: https://lab.llvm.org/staging/#/builders/236/builds/4742.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D153937
Files:
llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
Index: llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
===================================================================
--- llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
+++ llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
@@ -39,7 +39,7 @@
#include <unistd.h>
#ifdef __GLIBC__
-#if __GLIBC_MINOR__ >= 35
+#if __GLIBC_MINOR__ >= 35 && !defined(__loongarch__)
#define GLIBC_INITS_RSEQ
#endif // __GLIBC__MINOR > 35
#endif // __GLIBC__
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153937.535226.patch
Type: text/x-patch
Size: 448 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230628/234d438b/attachment.bin>
More information about the llvm-commits
mailing list