aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
diff options
context:
space:
mode:
authorGuillaume Chatelet <gchatelet@google.com>2023-08-07 07:31:53 +0000
committerGuillaume Chatelet <gchatelet@google.com>2023-08-07 07:32:44 +0000
commitf70e83af7a708a22fdde8c644ac5810223090cd4 (patch)
tree285cd88f466252cac9c4675fc06cca152fa5e8a9 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
parent5f94f3b7eac849a172f8029d7992f606db73724b (diff)
downloadllvm-f70e83af7a708a22fdde8c644ac5810223090cd4.zip
llvm-f70e83af7a708a22fdde8c644ac5810223090cd4.tar.gz
llvm-f70e83af7a708a22fdde8c644ac5810223090cd4.tar.bz2
[llvm-exegesis] Don't try to use SYS_rseq if it's not defined.
When compiling against recent glibc (>= 2.35) but old kernel headers (< 4.18), `SYS_rseq` is not defined and thus llvm-exegesis fails to build. So also check that `SYS_rseq` is defined before trying to use it. Fixes https://github.com/llvm/llvm-project/issues/64456 Reviewed By: MaskRay, gchatelet Differential Revision: https://reviews.llvm.org/D157189
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions