[1/9] clang coverage+bumpleak '' mycpp/bump_leak_heap.cc _build/obj/clang-coverage+bumpleak/mycpp/bump_leak_heap.o [2/9] clang coverage+bumpleak '' mycpp/hash.cc _build/obj/clang-coverage+bumpleak/mycpp/hash.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/bump_leak_heap_test.cc _build/obj/clang-coverage+bumpleak/mycpp/bump_leak_heap_test.o [5/9] clang coverage+bumpleak '' mycpp/gc_builtins.cc _build/obj/clang-coverage+bumpleak/mycpp/gc_builtins.o mycpp/gc_builtins.cc:185: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/gc_mylib.cc _build/obj/clang-coverage+bumpleak/mycpp/gc_mylib.o [7/9] clang coverage+bumpleak '' mycpp/mark_sweep_heap.cc _build/obj/clang-coverage+bumpleak/mycpp/mark_sweep_heap.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 run-unit-tests 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/gc_mops.cc _build/obj/clang-coverage/mycpp/gc_mops.o [4/35] clang coverage '' mycpp/small_str_test.cc _build/obj/clang-coverage/mycpp/small_str_test.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:185: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_stress_test.cc _build/obj/clang-coverage/mycpp/gc_stress_test.o [10/35] clang coverage '' mycpp/gc_mops_test.cc _build/obj/clang-coverage/mycpp/gc_mops_test.o [11/35] clang coverage '' mycpp/mark_sweep_heap_test.cc _build/obj/clang-coverage/mycpp/mark_sweep_heap_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/gc_tuple_test.cc _build/obj/clang-coverage/mycpp/gc_tuple_test.o [15/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. [16/35] clang coverage '' mycpp/demo/gc_header.cc _build/obj/clang-coverage/mycpp/demo/gc_header.o [17/35] clang coverage '' mycpp/gc_str_test.cc _build/obj/clang-coverage/mycpp/gc_str_test.o [18/35] clang coverage '' mycpp/gc_dict_test.cc _build/obj/clang-coverage/mycpp/gc_dict_test.o [19/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. [20/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. [21/35] clang coverage '' mycpp/gc_str.cc _build/obj/clang-coverage/mycpp/gc_str.o [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/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 [24/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 [25/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 [26/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 [27/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 [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/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 [30/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 [31/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 [32/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 [33/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 [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: 353 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/mycpp' 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) fix FILES warning: 353 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 182 18 90.11% 31 2 93.55% 308 37 87.99% 122 28 77.05% 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 14 5 64.29% 6 1 83.33% 34 10 70.59% 6 4 33.33% mycpp/gc_mops.h 19 17 10.53% 19 17 10.53% 63 57 9.52% 0 0 - mycpp/gc_mylib.cc 78 17 78.21% 23 7 69.57% 185 44 76.22% 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 1240 190 84.68% 362 59 83.70% 2531 437 82.73% 622 134 78.46% warning: 353 functions have mismatched data -rw-r--r-- 1 uke uke 1.3M Oct 20 17:50 _test/clang-coverage/mycpp/coverage.json 0 _test/clang-coverage/mycpp/coverage.json 2.0M _test/clang-coverage/mycpp/html