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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
drop Compiler.h. For linux, gcc (2014) / clang have supported __has_include for very long time.
Comment Actions
This is definitely a much cleaner solution. Thanks for taking the time to write this up!