Failed

ThreadSanitizer-x86_64-iossim.Darwin.mach_vm_allocate.c (from ThreadSanitizer-x86_64-iossim)

Failing for the past 1 build (Since Failed#15264 )
Took 0.35 sec.

Stacktrace

Script:
--
: 'RUN: at line 3';     /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/compiler-rt/test/sanitizer_common/ios_commands/iossim_compile.py /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/./bin/clang  -fsanitize=thread -Wall  -arch x86_64 -stdlib=libc++ -miphoneos-version-min=9.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk  -gline-tables-only -I/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/compiler-rt/test/tsan/../ /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/compiler-rt/test/tsan/Darwin/mach_vm_allocate.c -o /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/runtime/compiler-rt-bins/test/tsan/IOSSimX86_64Config/Darwin/Output/mach_vm_allocate.c.tmp
: 'RUN: at line 4';   /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/runtime/compiler-rt-bins/test/tsan/IOSSimX86_64Config/Darwin/Output/mach_vm_allocate.c.tmp 2>&1 | FileCheck /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/compiler-rt/test/tsan/Darwin/mach_vm_allocate.c --implicit-check-not='ThreadSanitizer'
--
Exit Code: 1

Command Output (stderr):
--
In file included from /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/compiler-rt/test/tsan/Darwin/mach_vm_allocate.c:7:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/mach/mach_vm.h:1:2: error: mach_vm.h unsupported.
#error mach_vm.h unsupported.
 ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/compiler-rt/test/tsan/Darwin/mach_vm_allocate.c:21:7: error: implicit declaration of function 'mach_vm_allocate' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      mach_vm_allocate(mach_task_self(), &addr, alloc_size, VM_FLAGS_ANYWHERE);
      ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/compiler-rt/test/tsan/Darwin/mach_vm_allocate.c:21:7: note: did you mean 'mach_port_allocate'?
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/mach/mach_port.h:131:15: note: 'mach_port_allocate' declared here
kern_return_t mach_port_allocate
              ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/compiler-rt/test/tsan/Darwin/mach_vm_allocate.c:30:7: error: implicit declaration of function 'mach_vm_allocate' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      mach_vm_allocate(mach_task_self(), &addr, alloc_size, VM_FLAGS_FIXED);
      ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/compiler-rt/test/tsan/Darwin/mach_vm_allocate.c:36:7: error: implicit declaration of function 'mach_vm_deallocate' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      mach_vm_deallocate(mach_task_self(), (mach_vm_address_t)ptr, alloc_size);
      ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/compiler-rt/test/tsan/Darwin/mach_vm_allocate.c:36:7: note: did you mean 'mach_port_deallocate'?
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/mach/mach_port.h:156:15: note: 'mach_port_deallocate' declared here
kern_return_t mach_port_deallocate
              ^
4 errors generated.

--