[1/9] clang coverage+bumpleak '' mycpp/hash.cc _build/obj/clang-coverage+bumpleak/mycpp/hash.o [2/9] clang coverage+bumpleak '' mycpp/bump_leak_heap.cc _build/obj/clang-coverage+bumpleak/mycpp/bump_leak_heap.o [3/9] clang coverage+bumpleak '' mycpp/gc_mops.cc _build/obj/clang-coverage+bumpleak/mycpp/gc_mops.o [4/9] clang coverage+bumpleak '' mycpp/gc_mylib.cc _build/obj/clang-coverage+bumpleak/mycpp/gc_mylib.o [5/9] clang coverage+bumpleak '' mycpp/gc_builtins.cc _build/obj/clang-coverage+bumpleak/mycpp/gc_builtins.o mycpp/gc_builtins.cc:180:53: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] static_assert(sizeof(long long) == sizeof(int64_t)); ^ , "" 1 warning generated. [6/9] clang coverage+bumpleak '' mycpp/mark_sweep_heap.cc _build/obj/clang-coverage+bumpleak/mycpp/mark_sweep_heap.o [7/9] clang coverage+bumpleak '' mycpp/bump_leak_heap_test.cc _build/obj/clang-coverage+bumpleak/mycpp/bump_leak_heap_test.o [8/9] clang coverage+bumpleak '' mycpp/gc_str.cc _build/obj/clang-coverage+bumpleak/mycpp/gc_str.o [9/9] LINK clang coverage+bumpleak '' _bin/clang-coverage+bumpleak/mycpp/bump_leak_heap_test _build/obj/clang-coverage+bumpleak/mycpp/bump_leak_heap_test.o _build/obj/clang-coverage+bumpleak/mycpp/bump_leak_heap.o _build/obj/clang-coverage+bumpleak/mycpp/gc_builtins.o _build/obj/clang-coverage+bumpleak/mycpp/gc_mops.o _build/obj/clang-coverage+bumpleak/mycpp/gc_mylib.o _build/obj/clang-coverage+bumpleak/mycpp/gc_str.o _build/obj/clang-coverage+bumpleak/mycpp/hash.o _build/obj/clang-coverage+bumpleak/mycpp/mark_sweep_heap.o RUN _bin/clang-coverage+bumpleak/mycpp/bump_leak_heap_test > _test/clang-coverage+bumpleak/mycpp/bump_leak_heap_test.log OK mycpp/TEST.sh unit clang coverage [1/35] clang coverage '' mycpp/bump_leak_heap.cc _build/obj/clang-coverage/mycpp/bump_leak_heap.o [2/35] clang coverage '' mycpp/hash.cc _build/obj/clang-coverage/mycpp/hash.o [3/35] clang coverage '' mycpp/demo/gc_header.cc _build/obj/clang-coverage/mycpp/demo/gc_header.o [4/35] clang coverage '' mycpp/gc_mops.cc _build/obj/clang-coverage/mycpp/gc_mops.o [5/35] clang coverage '' mycpp/gc_mylib.cc _build/obj/clang-coverage/mycpp/gc_mylib.o [6/35] clang coverage '' mycpp/gc_builtins.cc _build/obj/clang-coverage/mycpp/gc_builtins.o mycpp/gc_builtins.cc:180:53: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] static_assert(sizeof(long long) == sizeof(int64_t)); ^ , "" 1 warning generated. [7/35] clang coverage '' mycpp/mark_sweep_heap.cc _build/obj/clang-coverage/mycpp/mark_sweep_heap.o [8/35] clang coverage '' mycpp/gc_heap_test.cc _build/obj/clang-coverage/mycpp/gc_heap_test.o [9/35] clang coverage '' mycpp/gc_mops_test.cc _build/obj/clang-coverage/mycpp/gc_mops_test.o [10/35] clang coverage '' mycpp/mark_sweep_heap_test.cc _build/obj/clang-coverage/mycpp/mark_sweep_heap_test.o [11/35] clang coverage '' mycpp/gc_stress_test.cc _build/obj/clang-coverage/mycpp/gc_stress_test.o [12/35] clang coverage '' mycpp/gc_builtins_test.cc _build/obj/clang-coverage/mycpp/gc_builtins_test.o [13/35] clang coverage '' mycpp/gc_mylib_test.cc _build/obj/clang-coverage/mycpp/gc_mylib_test.o [14/35] clang coverage '' mycpp/small_str_test.cc _build/obj/clang-coverage/mycpp/small_str_test.o [15/35] clang coverage '' mycpp/gc_tuple_test.cc _build/obj/clang-coverage/mycpp/gc_tuple_test.o [16/35] clang coverage '' mycpp/gc_list_test.cc _build/obj/clang-coverage/mycpp/gc_list_test.o mycpp/gc_list_test.cc:129:5: warning: mixture of designated and non-designated initializers in the same initializer list is a C99 extension [-Wc99-designator] .header = {0, kZeroMask, HeapTag::Global, kUndefinedId}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mycpp/gc_list_test.cc:130:5: note: first non-designated initializer is here {.items_ = {5, 6, 7}}}; ^~~~~~~~~~~~~~~~~~~~~ mycpp/gc_list_test.cc:132:5: warning: mixture of designated and non-designated initializers in the same initializer list is a C99 extension [-Wc99-designator] .header = {0, kZeroMask, HeapTag::Global, kUndefinedId}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mycpp/gc_list_test.cc:133:5: note: first non-designated initializer is here {.len_ = 3, .capacity_ = 3, .slab_ = &_gSlab.obj}}; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. [17/35] clang coverage '' mycpp/gc_str_test.cc _build/obj/clang-coverage/mycpp/gc_str_test.o [18/35] clang coverage '' mycpp/demo/hash_table.cc _build/obj/clang-coverage/mycpp/demo/hash_table.o mycpp/demo/hash_table.cc:59:6: warning: unused function 'modulus_benchmark' [-Wunused-function] TEST modulus_benchmark() { ^ 1 warning generated. [19/35] clang coverage '' mycpp/gc_dict_test.cc _build/obj/clang-coverage/mycpp/gc_dict_test.o [20/35] clang coverage '' mycpp/gc_str.cc _build/obj/clang-coverage/mycpp/gc_str.o [21/35] clang coverage '' mycpp/demo/target_lang.cc _build/obj/clang-coverage/mycpp/demo/target_lang.o mycpp/demo/target_lang.cc:698:19: warning: 'reinterpret_cast' from class 'Writer *' to its base at non-zero offset 'Object *' behaves differently from 'static_cast' [-Wreinterpret-base-class] RootGlobalVar(reinterpret_cast(gStdout)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mycpp/demo/target_lang.cc:698:19: note: use 'static_cast' to adjust the pointer correctly while upcasting RootGlobalVar(reinterpret_cast(gStdout)); ^~~~~~~~~~~~~~~~ static_cast 1 warning generated. [22/35] LINK clang coverage '' _bin/clang-coverage/mycpp/gc_heap_test _build/obj/clang-coverage/mycpp/gc_heap_test.o _build/obj/clang-coverage/mycpp/bump_leak_heap.o _build/obj/clang-coverage/mycpp/gc_builtins.o _build/obj/clang-coverage/mycpp/gc_mops.o _build/obj/clang-coverage/mycpp/gc_mylib.o _build/obj/clang-coverage/mycpp/gc_str.o _build/obj/clang-coverage/mycpp/hash.o _build/obj/clang-coverage/mycpp/mark_sweep_heap.o [23/35] LINK clang coverage '' _bin/clang-coverage/mycpp/demo/gc_header _build/obj/clang-coverage/mycpp/demo/gc_header.o _build/obj/clang-coverage/mycpp/bump_leak_heap.o _build/obj/clang-coverage/mycpp/gc_builtins.o _build/obj/clang-coverage/mycpp/gc_mops.o _build/obj/clang-coverage/mycpp/gc_mylib.o _build/obj/clang-coverage/mycpp/gc_str.o _build/obj/clang-coverage/mycpp/hash.o _build/obj/clang-coverage/mycpp/mark_sweep_heap.o [24/35] LINK clang coverage '' _bin/clang-coverage/mycpp/mark_sweep_heap_test _build/obj/clang-coverage/mycpp/mark_sweep_heap_test.o _build/obj/clang-coverage/mycpp/bump_leak_heap.o _build/obj/clang-coverage/mycpp/gc_builtins.o _build/obj/clang-coverage/mycpp/gc_mops.o _build/obj/clang-coverage/mycpp/gc_mylib.o _build/obj/clang-coverage/mycpp/gc_str.o _build/obj/clang-coverage/mycpp/hash.o _build/obj/clang-coverage/mycpp/mark_sweep_heap.o [25/35] LINK clang coverage '' _bin/clang-coverage/mycpp/gc_builtins_test _build/obj/clang-coverage/mycpp/gc_builtins_test.o _build/obj/clang-coverage/mycpp/bump_leak_heap.o _build/obj/clang-coverage/mycpp/gc_builtins.o _build/obj/clang-coverage/mycpp/gc_mops.o _build/obj/clang-coverage/mycpp/gc_mylib.o _build/obj/clang-coverage/mycpp/gc_str.o _build/obj/clang-coverage/mycpp/hash.o _build/obj/clang-coverage/mycpp/mark_sweep_heap.o [26/35] LINK clang coverage '' _bin/clang-coverage/mycpp/gc_stress_test _build/obj/clang-coverage/mycpp/gc_stress_test.o _build/obj/clang-coverage/mycpp/bump_leak_heap.o _build/obj/clang-coverage/mycpp/gc_builtins.o _build/obj/clang-coverage/mycpp/gc_mops.o _build/obj/clang-coverage/mycpp/gc_mylib.o _build/obj/clang-coverage/mycpp/gc_str.o _build/obj/clang-coverage/mycpp/hash.o _build/obj/clang-coverage/mycpp/mark_sweep_heap.o [27/35] LINK clang coverage '' _bin/clang-coverage/mycpp/gc_mops_test _build/obj/clang-coverage/mycpp/gc_mops_test.o _build/obj/clang-coverage/mycpp/bump_leak_heap.o _build/obj/clang-coverage/mycpp/gc_builtins.o _build/obj/clang-coverage/mycpp/gc_mops.o _build/obj/clang-coverage/mycpp/gc_mylib.o _build/obj/clang-coverage/mycpp/gc_str.o _build/obj/clang-coverage/mycpp/hash.o _build/obj/clang-coverage/mycpp/mark_sweep_heap.o [28/35] LINK clang coverage '' _bin/clang-coverage/mycpp/gc_mylib_test _build/obj/clang-coverage/mycpp/gc_mylib_test.o _build/obj/clang-coverage/mycpp/bump_leak_heap.o _build/obj/clang-coverage/mycpp/gc_builtins.o _build/obj/clang-coverage/mycpp/gc_mops.o _build/obj/clang-coverage/mycpp/gc_mylib.o _build/obj/clang-coverage/mycpp/gc_str.o _build/obj/clang-coverage/mycpp/hash.o _build/obj/clang-coverage/mycpp/mark_sweep_heap.o [29/35] LINK clang coverage '' _bin/clang-coverage/mycpp/small_str_test _build/obj/clang-coverage/mycpp/small_str_test.o _build/obj/clang-coverage/mycpp/bump_leak_heap.o _build/obj/clang-coverage/mycpp/gc_builtins.o _build/obj/clang-coverage/mycpp/gc_mops.o _build/obj/clang-coverage/mycpp/gc_mylib.o _build/obj/clang-coverage/mycpp/gc_str.o _build/obj/clang-coverage/mycpp/hash.o _build/obj/clang-coverage/mycpp/mark_sweep_heap.o [30/35] LINK clang coverage '' _bin/clang-coverage/mycpp/gc_str_test _build/obj/clang-coverage/mycpp/gc_str_test.o _build/obj/clang-coverage/mycpp/bump_leak_heap.o _build/obj/clang-coverage/mycpp/gc_builtins.o _build/obj/clang-coverage/mycpp/gc_mops.o _build/obj/clang-coverage/mycpp/gc_mylib.o _build/obj/clang-coverage/mycpp/gc_str.o _build/obj/clang-coverage/mycpp/hash.o _build/obj/clang-coverage/mycpp/mark_sweep_heap.o [31/35] LINK clang coverage '' _bin/clang-coverage/mycpp/gc_dict_test _build/obj/clang-coverage/mycpp/gc_dict_test.o _build/obj/clang-coverage/mycpp/bump_leak_heap.o _build/obj/clang-coverage/mycpp/gc_builtins.o _build/obj/clang-coverage/mycpp/gc_mops.o _build/obj/clang-coverage/mycpp/gc_mylib.o _build/obj/clang-coverage/mycpp/gc_str.o _build/obj/clang-coverage/mycpp/hash.o _build/obj/clang-coverage/mycpp/mark_sweep_heap.o [32/35] LINK clang coverage '' _bin/clang-coverage/mycpp/gc_list_test _build/obj/clang-coverage/mycpp/gc_list_test.o _build/obj/clang-coverage/mycpp/bump_leak_heap.o _build/obj/clang-coverage/mycpp/gc_builtins.o _build/obj/clang-coverage/mycpp/gc_mops.o _build/obj/clang-coverage/mycpp/gc_mylib.o _build/obj/clang-coverage/mycpp/gc_str.o _build/obj/clang-coverage/mycpp/hash.o _build/obj/clang-coverage/mycpp/mark_sweep_heap.o [33/35] LINK clang coverage '' _bin/clang-coverage/mycpp/gc_tuple_test _build/obj/clang-coverage/mycpp/gc_tuple_test.o _build/obj/clang-coverage/mycpp/bump_leak_heap.o _build/obj/clang-coverage/mycpp/gc_builtins.o _build/obj/clang-coverage/mycpp/gc_mops.o _build/obj/clang-coverage/mycpp/gc_mylib.o _build/obj/clang-coverage/mycpp/gc_str.o _build/obj/clang-coverage/mycpp/hash.o _build/obj/clang-coverage/mycpp/mark_sweep_heap.o [34/35] LINK clang coverage '' _bin/clang-coverage/mycpp/demo/hash_table _build/obj/clang-coverage/mycpp/demo/hash_table.o _build/obj/clang-coverage/mycpp/bump_leak_heap.o _build/obj/clang-coverage/mycpp/gc_builtins.o _build/obj/clang-coverage/mycpp/gc_mops.o _build/obj/clang-coverage/mycpp/gc_mylib.o _build/obj/clang-coverage/mycpp/gc_str.o _build/obj/clang-coverage/mycpp/hash.o _build/obj/clang-coverage/mycpp/mark_sweep_heap.o [35/35] LINK clang coverage '' _bin/clang-coverage/mycpp/demo/target_lang _build/obj/clang-coverage/mycpp/demo/target_lang.o _build/obj/clang-coverage/mycpp/bump_leak_heap.o _build/obj/clang-coverage/mycpp/gc_builtins.o _build/obj/clang-coverage/mycpp/gc_mops.o _build/obj/clang-coverage/mycpp/gc_mylib.o _build/obj/clang-coverage/mycpp/gc_str.o _build/obj/clang-coverage/mycpp/hash.o _build/obj/clang-coverage/mycpp/mark_sweep_heap.o RUN _bin/clang-coverage/mycpp/gc_builtins_test > _test/clang-coverage/mycpp/gc_builtins_test.log OK RUN _bin/clang-coverage/mycpp/gc_dict_test > _test/clang-coverage/mycpp/gc_dict_test.log OK RUN _bin/clang-coverage/mycpp/gc_heap_test > _test/clang-coverage/mycpp/gc_heap_test.log OK RUN _bin/clang-coverage/mycpp/gc_list_test > _test/clang-coverage/mycpp/gc_list_test.log OK RUN _bin/clang-coverage/mycpp/gc_mops_test > _test/clang-coverage/mycpp/gc_mops_test.log OK RUN _bin/clang-coverage/mycpp/gc_mylib_test > _test/clang-coverage/mycpp/gc_mylib_test.log OK RUN _bin/clang-coverage/mycpp/gc_str_test > _test/clang-coverage/mycpp/gc_str_test.log OK RUN _bin/clang-coverage/mycpp/gc_stress_test > _test/clang-coverage/mycpp/gc_stress_test.log OK RUN _bin/clang-coverage/mycpp/gc_tuple_test > _test/clang-coverage/mycpp/gc_tuple_test.log OK RUN _bin/clang-coverage/mycpp/mark_sweep_heap_test > _test/clang-coverage/mycpp/mark_sweep_heap_test.log OK RUN _bin/clang-coverage/mycpp/small_str_test > _test/clang-coverage/mycpp/small_str_test.log OK RUN _bin/clang-coverage/mycpp/demo/gc_header > _test/clang-coverage/mycpp/demo/gc_header.log OK RUN _bin/clang-coverage/mycpp/demo/hash_table > _test/clang-coverage/mycpp/demo/hash_table.log OK RUN _bin/clang-coverage/mycpp/demo/target_lang > _test/clang-coverage/mycpp/demo/target_lang.log OK warning: 364 functions have mismatched data fix DIRS mode of '_test/clang-coverage/mycpp/html/coverage' changed from 0750 (rwxr-x---) to 0755 (rwxr-xr-x) mode of '_test/clang-coverage/mycpp/html/coverage/home' changed from 0750 (rwxr-x---) to 0755 (rwxr-xr-x) mode of '_test/clang-coverage/mycpp/html/coverage/home/uke' changed from 0750 (rwxr-x---) to 0755 (rwxr-xr-x) mode of '_test/clang-coverage/mycpp/html/coverage/home/uke/oil' changed from 0750 (rwxr-x---) to 0755 (rwxr-xr-x) mode of '_test/clang-coverage/mycpp/html/coverage/home/uke/oil/cpp' changed from 0750 (rwxr-x---) to 0755 (rwxr-xr-x) mode of '_test/clang-coverage/mycpp/html/coverage/home/uke/oil/mycpp' changed from 0750 (rwxr-x---) to 0755 (rwxr-xr-x) fix FILES warning: 364 functions have mismatched data Filename Regions Missed Regions Cover Functions Missed Functions Executed Lines Missed Lines Cover Branches Missed Branches Cover ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- cpp/frontend_pyreadline.h 2 2 0.00% 2 2 0.00% 8 8 0.00% 0 0 - mycpp/bump_leak_heap.cc 5 0 100.00% 5 0 100.00% 28 0 100.00% 0 0 - mycpp/bump_leak_heap.h 7 0 100.00% 7 0 100.00% 15 0 100.00% 0 0 - mycpp/common.h 2 0 100.00% 2 0 100.00% 10 0 100.00% 0 0 - mycpp/comparators.h 20 2 90.00% 8 2 75.00% 37 6 83.78% 8 0 100.00% mycpp/gc_alloc.h 24 2 91.67% 10 2 80.00% 118 12 89.83% 8 0 100.00% mycpp/gc_builtins.cc 180 18 90.00% 31 2 93.55% 308 37 87.99% 120 27 77.50% mycpp/gc_builtins.h 17 2 88.24% 17 2 88.24% 42 5 88.10% 0 0 - mycpp/gc_dict.h 126 6 95.24% 25 0 100.00% 203 12 94.09% 68 9 86.76% mycpp/gc_list.h 116 17 85.34% 41 2 95.12% 217 23 89.40% 54 16 70.37% mycpp/gc_mops.cc 8 4 50.00% 5 1 80.00% 28 8 71.43% 2 2 0.00% mycpp/gc_mops.h 20 17 15.00% 20 17 15.00% 68 59 13.24% 0 0 - mycpp/gc_mylib.cc 77 17 77.92% 23 7 69.57% 184 44 76.09% 34 9 73.53% mycpp/gc_mylib.h 64 21 67.19% 42 16 61.90% 173 71 58.96% 12 5 58.33% mycpp/gc_obj.h 12 4 66.67% 12 4 66.67% 46 17 63.04% 0 0 - mycpp/gc_slab.h 6 1 83.33% 3 0 100.00% 16 0 100.00% 0 0 - mycpp/gc_str.cc 285 24 91.58% 33 1 96.97% 483 58 87.99% 180 24 86.67% mycpp/gc_str.h 21 1 95.24% 15 1 93.33% 42 3 92.86% 8 0 100.00% mycpp/gc_tuple.h 45 9 80.00% 18 0 100.00% 57 0 100.00% 0 0 - mycpp/hash.cc 10 0 100.00% 7 0 100.00% 27 0 100.00% 2 0 100.00% mycpp/mark_sweep_heap.cc 138 42 69.57% 13 0 100.00% 286 68 76.22% 102 39 61.76% mycpp/mark_sweep_heap.h 44 0 100.00% 20 0 100.00% 125 6 95.20% 18 0 100.00% mycpp/test_common.h 3 0 100.00% 3 0 100.00% 8 0 100.00% 0 0 - ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- TOTAL 1232 189 84.66% 362 59 83.70% 2529 437 82.72% 616 131 78.73% warning: 364 functions have mismatched data -rw-r--r-- 1 uke uke 1.3M Jul 18 02:15 _test/clang-coverage/mycpp/coverage.json 0 _test/clang-coverage/mycpp/coverage.json 2.0M _test/clang-coverage/mycpp/html