projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80ae366
)
Add one more definition for symbols in prctl unit test.
author
Kevin Athey
<kda@google.com>
Fri, 8 Apr 2022 16:44:27 +0000
(09:44 -0700)
committer
Kevin Athey
<kda@google.com>
Fri, 8 Apr 2022 16:46:15 +0000
(09:46 -0700)
one more follow up to: https://reviews.llvm.org/D122851
Differential Revision: https://reviews.llvm.org/D123404
compiler-rt/test/sanitizer_common/TestCases/Linux/prctl.cpp
patch
|
blob
|
history
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
(file)
--- 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;