[DFSan] Appease the custom wrapper lint script.
authorMatt Morehouse <mascasa@google.com>
Thu, 10 Dec 2020 22:12:00 +0000 (14:12 -0800)
committerMatt Morehouse <mascasa@google.com>
Thu, 10 Dec 2020 22:12:26 +0000 (14:12 -0800)
compiler-rt/test/dfsan/custom.cpp

index e21f354..a78152f 100644 (file)
@@ -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();