Is compiler-rt used under clang-omp

Hello all,

I am wondering whether compiler-rt is used under clang-omp. It seems there is no linking between compiler-rt and the generated executables during OpenMP programs compilation.

Besides, I am wondering how many tests of OpenMP Validation Suite should I get passed with clang-omp?

Thanks for your reply,
Yi-Hong

Yi-Hong,
      What target are you testing on? Typical results from the stock
OpenMP3.1_Validation sources on x86_64-apple-darwin14 are ...

#Tested Directive t ct ot oct
has_openmp 100 100 100 100
omp_atomic 100 100 100 100
omp_barrier 100 100 100 100
omp_critical 100 100 100 100
omp_flush 100 100 100 100
omp_for_firstprivate 100 100 100 100
omp_for_lastprivate 100 85 100 100
omp_for_ordered 100 100 100 100
omp_for_private 100 100 100 100
omp_for_reduction 100 100 100 100
omp_for_schedule_dynamic 100 100 100 100
omp_for_schedule_guided 100 100 100 100
omp_for_schedule_static 100 100 100 100
omp_for_nowait 100 100 100 100
omp_get_num_threads 100 100 100 100
omp_get_wtick 100 100 100 100
omp_get_wtime 100 100 100 100
omp_in_parallel 100 100 100 100
omp_lock 100 100 100 100
omp_master 100 100 100 100
omp_nest_lock 100 100 100 100
omp_parallel_copyin 100 100 100 100
omp_parallel_for_firstprivate 100 100 100 100
omp_parallel_for_lastprivate 100 100 100 100
omp_parallel_for_ordered 100 100 100 100
omp_parallel_for_private 100 100 100 100
omp_parallel_for_reduction 100 100 100 100
omp_parallel_num_threads 100 100 100 100
omp_parallel_sections_firstprivate 100 100 100 100
omp_parallel_sections_lastprivate 100 100 100 100
omp_parallel_sections_private 100 100 100 100
omp_parallel_sections_reduction 100 100 100 100
omp_section_firstprivate 100 100 100 100
omp_section_lastprivate 100 100 100 100
omp_section_private 100 100 100 100
omp_sections_reduction 100 100 100 100
omp_sections_nowait 100 100 100 100
omp_parallel_for_if 100 100 100 100
omp_single_copyprivate 100 100 100 100
omp_single_nowait 100 100 100 100
omp_single_private 100 100 100 100
omp_single 100 100 100 100
omp_test_lock 100 100 100 100
omp_test_nest_lock 100 100 100 100
omp_threadprivate 100 100 - -
omp_parallel_default 100 100 100 100
omp_parallel_shared 100 100 100 100
omp_parallel_private 100 100 100 100
omp_parallel_firstprivate 100 100 100 100
omp_parallel_if 100 100 100 100
omp_parallel_reduction 100 100 100 100
omp_for_collapse 100 100 100 100
omp_master_3 100 100 100 100
omp_task 100 100 100 100
omp_task_if 100 100 100 100
omp_task_untied 0 - 0 -
omp_task_shared 100 100 100 100
omp_task_private 100 100 100 100
omp_task_firstprivate 100 100 100 100
omp_taskwait 100 100 100 100
omp_taskyield 100 100 10 -
omp_task_final 0 - 0 -

Summary:
S Number of tested Open MP constructs: 62
S Number of used tests: 123
S Number of failed tests: 5
S Number of successful tests: 118
S + from this were verified: 117

Normal tests:
N Number of failed tests: 2
N + from this fail compilation: 0
N + from this timed out 0
N Number of successful tests: 60
N + from this were verified: 59

Orphaned tests:
O Number of failed tests: 3
O + from this fail compilation: 0
O + from this timed out 0
O Number of successful tests: 58
O + from this were verified: 58

       Jack