[compiler-rt] b401d2a - Add one more definition for symbols in prctl unit test.
Kevin Athey via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 8 09:46:20 PDT 2022
Author: Kevin Athey
Date: 2022-04-08T09:46:15-07:00
New Revision: b401d2a43cf6ba9b2c8b87a58e8d78099bce828f
URL: https://github.com/llvm/llvm-project/commit/b401d2a43cf6ba9b2c8b87a58e8d78099bce828f
DIFF: https://github.com/llvm/llvm-project/commit/b401d2a43cf6ba9b2c8b87a58e8d78099bce828f.diff
LOG: Add one more definition for symbols in prctl unit test.
one more follow up to: https://reviews.llvm.org/D122851
Differential Revision: https://reviews.llvm.org/D123404
Added:
Modified:
compiler-rt/test/sanitizer_common/TestCases/Linux/prctl.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/prctl.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/prctl.cpp
index 9b4000acca927..7c0739cee6c2d 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/prctl.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/prctl.cpp
@@ -13,6 +13,10 @@
# define PR_SCHED_CORE_CREATE 1
#endif
+#ifndef PR_SCHED_CORE_GET
+# define PR_SCHED_CORE_GET 0
+#endif
+
int main() {
int res;
More information about the llvm-commits
mailing list