From: Kevin Athey Date: Fri, 8 Apr 2022 16:44:27 +0000 (-0700) Subject: Add one more definition for symbols in prctl unit test. X-Git-Tag: upstream/15.0.7~10986 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b401d2a43cf6ba9b2c8b87a58e8d78099bce828f;p=platform%2Fupstream%2Fllvm.git 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 --- diff --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/prctl.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/prctl.cpp index 9b4000a..7c0739c 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;