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:
671ad58
)
[DFSan] Appease the custom wrapper lint script.
author
Matt Morehouse
<mascasa@google.com>
Thu, 10 Dec 2020 22:12:00 +0000
(14:12 -0800)
committer
Matt Morehouse
<mascasa@google.com>
Thu, 10 Dec 2020 22:12:26 +0000
(14:12 -0800)
compiler-rt/test/dfsan/custom.cpp
patch
|
blob
|
history
diff --git
a/compiler-rt/test/dfsan/custom.cpp
b/compiler-rt/test/dfsan/custom.cpp
index
e21f354
..
a78152f
100644
(file)
--- a/
compiler-rt/test/dfsan/custom.cpp
+++ b/
compiler-rt/test/dfsan/custom.cpp
@@
-800,6
+800,10
@@
void test_pthread_create() {
ASSERT_ZERO_LABEL(cbrv);
}
+// Tested by test_pthread_create(). This empty function is here to appease the
+// check-wrappers script.
+void test_pthread_join() {}
+
int dl_iterate_phdr_test_cb(struct dl_phdr_info *info, size_t size,
void *data) {
assert(data == (void *)3);
@@
-1220,6
+1224,7
@@
int main(void) {
test_poll();
test_pread();
test_pthread_create();
+ test_pthread_join();
test_read();
test_recvmsg();
test_sched_getaffinity();