[compiler-rt] 2ead4fc - Test including rpc/xdr.h requires sunrpc
Stephan Bergmann via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 28 23:25:44 PDT 2020
Author: Stephan Bergmann
Date: 2020-07-29T08:20:20+02:00
New Revision: 2ead4fca79d087e2d658a3101e3946a54c1d4685
URL: https://github.com/llvm/llvm-project/commit/2ead4fca79d087e2d658a3101e3946a54c1d4685
DIFF: https://github.com/llvm/llvm-project/commit/2ead4fca79d087e2d658a3101e3946a54c1d4685.diff
LOG: Test including rpc/xdr.h requires sunrpc
...which is set based on HAVE_RPC_XDR_H. At least Fedora 32 does not have a
/usr/include/rpc/xdr.h, so failed this test introduced with
<https://reviews.llvm.org/D83358> "[Sanitizers] Add interceptor for
xdrrec_create".
Differential Revision: https://reviews.llvm.org/D84740
Added:
Modified:
compiler-rt/test/sanitizer_common/TestCases/Linux/xdrrec.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/xdrrec.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/xdrrec.cpp
index f39bed3da376..cc50a650f751 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/xdrrec.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/xdrrec.cpp
@@ -1,5 +1,5 @@
// RUN: %clangxx -O0 %s -o %t && %run %t | FileCheck %s
-// REQUIRES: !android
+// REQUIRES: sunrpc, !android
#include <cassert>
#include <rpc/xdr.h>
More information about the llvm-commits
mailing list