[1/10] clang coverage+bumpleak '' mycpp/bump_leak_heap.cc _build/obj/clang-coverage+bumpleak/mycpp/bump_leak_heap.o [2/10] clang coverage+bumpleak '' mycpp/hash.cc _build/obj/clang-coverage+bumpleak/mycpp/hash.o [3/10] clang coverage+bumpleak '' mycpp/gc_mops.cc _build/obj/clang-coverage+bumpleak/mycpp/gc_mops.o [4/10] clang coverage+bumpleak '' mycpp/gc_iolib.cc _build/obj/clang-coverage+bumpleak/mycpp/gc_iolib.o [5/10] clang coverage+bumpleak '' mycpp/gc_mylib.cc _build/obj/clang-coverage+bumpleak/mycpp/gc_mylib.o [6/10] 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. [7/10] clang coverage+bumpleak '' mycpp/bump_leak_heap_test.cc _build/obj/clang-coverage+bumpleak/mycpp/bump_leak_heap_test.o [8/10] clang coverage+bumpleak '' mycpp/mark_sweep_heap.cc _build/obj/clang-coverage+bumpleak/mycpp/mark_sweep_heap.o [9/10] clang coverage+bumpleak '' mycpp/gc_str.cc _build/obj/clang-coverage+bumpleak/mycpp/gc_str.o [10/10] 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_iolib.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/38] clang coverage '' mycpp/bump_leak_heap.cc _build/obj/clang-coverage/mycpp/bump_leak_heap.o [2/38] clang coverage '' mycpp/hash.cc _build/obj/clang-coverage/mycpp/hash.o [3/38] clang coverage '' mycpp/gc_iolib.cc _build/obj/clang-coverage/mycpp/gc_iolib.o [4/38] clang coverage '' mycpp/gc_mops.cc _build/obj/clang-coverage/mycpp/gc_mops.o [5/38] clang coverage '' mycpp/gc_mylib.cc _build/obj/clang-coverage/mycpp/gc_mylib.o [6/38] 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/38] clang coverage '' mycpp/mark_sweep_heap.cc _build/obj/clang-coverage/mycpp/mark_sweep_heap.o [8/38] clang coverage '' mycpp/gc_stress_test.cc _build/obj/clang-coverage/mycpp/gc_stress_test.o [9/38] clang coverage '' mycpp/gc_heap_test.cc _build/obj/clang-coverage/mycpp/gc_heap_test.o [10/38] clang coverage '' mycpp/mark_sweep_heap_test.cc _build/obj/clang-coverage/mycpp/mark_sweep_heap_test.o [11/38] clang coverage '' mycpp/gc_str_test.cc _build/obj/clang-coverage/mycpp/gc_str_test.o [12/38] clang coverage '' mycpp/gc_builtins_test.cc _build/obj/clang-coverage/mycpp/gc_builtins_test.o [13/38] clang coverage '' mycpp/gc_iolib_test.cc _build/obj/clang-coverage/mycpp/gc_iolib_test.o [14/38] clang coverage '' mycpp/gc_mops_test.cc _build/obj/clang-coverage/mycpp/gc_mops_test.o [15/38] clang coverage '' mycpp/gc_mylib_test.cc _build/obj/clang-coverage/mycpp/gc_mylib_test.o [16/38] clang coverage '' mycpp/small_str_test.cc _build/obj/clang-coverage/mycpp/small_str_test.o [17/38] clang coverage '' mycpp/demo/gc_header.cc _build/obj/clang-coverage/mycpp/demo/gc_header.o [18/38] clang coverage '' mycpp/gc_tuple_test.cc _build/obj/clang-coverage/mycpp/gc_tuple_test.o [19/38] 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. [20/38] clang coverage '' mycpp/gc_dict_test.cc _build/obj/clang-coverage/mycpp/gc_dict_test.o [21/38] 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. [22/38] clang coverage '' mycpp/gc_str.cc _build/obj/clang-coverage/mycpp/gc_str.o [23/38] 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. [24/38] 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_iolib.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/38] 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_iolib.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/38] 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_iolib.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/38] 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_iolib.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/38] 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_iolib.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/38] LINK clang coverage '' _bin/clang-coverage/mycpp/gc_iolib_test _build/obj/clang-coverage/mycpp/gc_iolib_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_iolib.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/38] 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_iolib.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/38] 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_iolib.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/38] 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_iolib.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/38] 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_iolib.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/38] 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_iolib.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/38] 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_iolib.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 [36/38] 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_iolib.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 [37/38] 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_iolib.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 [38/38] 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_iolib.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_iolib_test > _test/clang-coverage/mycpp/gc_iolib_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: 423 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: 423 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_iolib.cc 10 2 80.00% 4 0 100.00% 26 6 76.92% 4 2 50.00% mycpp/gc_iolib.h 26 6 76.92% 13 4 69.23% 66 19 71.21% 10 4 60.00% mycpp/gc_list.h 113 9 92.04% 41 2 95.12% 214 12 94.39% 54 8 85.19% mycpp/gc_mops.cc 18 9 50.00% 7 2 71.43% 42 18 57.14% 8 6 25.00% mycpp/gc_mops.h 19 17 10.53% 19 17 10.53% 63 57 9.52% 0 0 - mycpp/gc_mylib.cc 83 19 77.11% 23 7 69.57% 188 46 75.53% 38 12 68.42% 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 1282 196 84.71% 380 64 83.16% 2631 461 82.48% 642 137 78.66% warning: 423 functions have mismatched data -rw-r--r-- 1 uke uke 1.4M Oct 30 16:57 _test/clang-coverage/mycpp/coverage.json 0 _test/clang-coverage/mycpp/coverage.json 2.1M _test/clang-coverage/mycpp/html