[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/mark_sweep_heap.cc _build/obj/clang-coverage+bumpleak/mycpp/mark_sweep_heap.o [5/9] clang coverage+bumpleak '' mycpp/bump_leak_heap_test.cc _build/obj/clang-coverage+bumpleak/mycpp/bump_leak_heap_test.o [6/9] clang coverage+bumpleak '' mycpp/gc_mylib.cc _build/obj/clang-coverage+bumpleak/mycpp/gc_mylib.o [7/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. [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_mylib.cc _build/obj/clang-coverage/mycpp/gc_mylib.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_mops.cc _build/obj/clang-coverage/mycpp/gc_mops.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_test.cc _build/obj/clang-coverage/mycpp/mark_sweep_heap_test.o [8/35] clang coverage '' mycpp/mark_sweep_heap.cc _build/obj/clang-coverage/mycpp/mark_sweep_heap.o [9/35] clang coverage '' mycpp/gc_mops_test.cc _build/obj/clang-coverage/mycpp/gc_mops_test.o [10/35] clang coverage '' mycpp/gc_stress_test.cc _build/obj/clang-coverage/mycpp/gc_stress_test.o [11/35] clang coverage '' mycpp/gc_heap_test.cc _build/obj/clang-coverage/mycpp/gc_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/demo/gc_header.cc _build/obj/clang-coverage/mycpp/demo/gc_header.o [15/35] clang coverage '' mycpp/gc_str_test.cc _build/obj/clang-coverage/mycpp/gc_str_test.o [16/35] clang coverage '' mycpp/gc_tuple_test.cc _build/obj/clang-coverage/mycpp/gc_tuple_test.o [17/35] clang coverage '' mycpp/gc_dict_test.cc _build/obj/clang-coverage/mycpp/gc_dict_test.o [18/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. [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/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 [23/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 [24/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 [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/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 [27/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 [28/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 [29/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 [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_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_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 [33/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 [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 test/common.sh: line 94: 903 Aborted (core dumped) $REPO_ROOT/$bin > $REPO_ROOT/$log 2>&1 === /home/uke/oil/_test/clang-coverage/mycpp/gc_heap_test.log === List mask = 2 Dict mask = 28 p = 0xc332e8 p = 0xc332e8 p = nullptr p = nullptr p = nullptr ..0 -> 0 1 -> 1 2 -> 2 3 -> 4 4 -> 4 5 -> 8 8 -> 8 9 -> 16 12 -> 16 16 -> 16 256 -> 256 257 -> 512 1073741824 -> 1073741824 1073741825 -> -2147483648 . List kNumItems2 10 desired 0 how many 10 slab bytes 48 desired 1 how many 10 slab bytes 48 desired 2 how many 10 slab bytes 48 desired 3 how many 10 slab bytes 48 desired 4 how many 10 slab bytes 48 desired 5 how many 10 slab bytes 48 desired 6 how many 10 slab bytes 48 desired 7 how many 10 slab bytes 48 desired 8 how many 10 slab bytes 48 desired 9 how many 10 slab bytes 48 desired 10 how many 14 slab bytes 64 desired 11 how many 14 slab bytes 64 desired 12 how many 14 slab bytes 64 desired 13 how many 14 slab bytes 64 desired 14 how many 30 slab bytes 128 desired 15 how many 30 slab bytes 128 desired 16 how many 30 slab bytes 128 desired 17 how many 30 slab bytes 128 desired 18 how many 30 slab bytes 128 desired 19 how many 30 slab bytes 128 List NumItems2 5 desired 0 how many 5 slab bytes 48 desired 1 how many 5 slab bytes 48 desired 2 how many 5 slab bytes 48 desired 3 how many 5 slab bytes 48 desired 4 how many 5 slab bytes 48 desired 5 how many 7 slab bytes 64 desired 6 how many 7 slab bytes 64 desired 7 how many 15 slab bytes 128 desired 8 how many 15 slab bytes 128 desired 9 how many 15 slab bytes 128 desired 10 how many 15 slab bytes 128 desired 11 how many 15 slab bytes 128 desired 12 how many 15 slab bytes 128 desired 13 how many 15 slab bytes 128 desired 14 how many 15 slab bytes 128 desired 15 how many 31 slab bytes 256 desired 16 how many 31 slab bytes 256 desired 17 how many 31 slab bytes 256 desired 18 how many 31 slab bytes 256 desired 19 how many 31 slab bytes 256 . Dict kNumItems2 10 kHeaderFudge 2 desired 0 how many 10 k 48 v 48 index 16 72 desired 1 how many 10 k 48 v 48 index 16 72 desired 2 how many 10 k 48 v 48 index 16 72 desired 3 how many 10 k 48 v 48 index 16 72 desired 4 how many 10 k 48 v 48 index 16 72 desired 5 how many 10 k 48 v 48 index 16 72 desired 6 how many 10 k 48 v 48 index 16 72 desired 7 how many 10 k 48 v 48 index 16 72 desired 8 how many 10 k 48 v 48 index 16 72 desired 9 how many 10 k 48 v 48 index 16 72 desired 10 how many 14 k 64 v 64 index 32 136 desired 11 how many 14 k 64 v 64 index 32 136 desired 12 how many 14 k 64 v 64 index 32 136 desired 13 how many 14 k 64 v 64 index 32 136 desired 14 how many 30 k 128 v 128 index 64 264 desired 15 how many 30 k 128 v 128 index 64 264 desired 16 how many 30 k 128 v 128 index 64 264 desired 17 how many 30 k 128 v 128 index 64 264 desired 18 how many 30 k 128 v 128 index 64 264 desired 19 how many 30 k 128 v 128 index 64 264 Dict kNumItems2 5 kHeaderFudge 1 desired 0 how many 5 k 48 v 28 index 8 40 desired 1 how many 5 k 48 v 28 index 8 40 desired 2 how many 5 k 48 v 28 index 8 40 desired 3 how many 5 k 48 v 28 index 8 40 desired 4 how many 5 k 48 v 28 index 8 40 desired 5 how many 7 k 64 v 36 index 16 72 desired 6 how many 7 k 64 v 36 index 16 72 desired 7 how many 15 k 128 v 68 index 32 136 desired 8 how many 15 k 128 v 68 index 32 136 desired 9 how many 15 k 128 v 68 index 32 136 desired 10 how many 15 k 128 v 68 index 32 136 desired 11 how many 15 k 128 v 68 index 32 136 desired 12 how many 15 k 128 v 68 index 32 136 desired 13 how many 15 k 128 v 68 index 32 136 desired 14 how many 15 k 128 v 68 index 32 136 desired 15 how many 31 k 256 v 132 index 64 264 desired 16 how many 31 k 256 v 132 index 64 264 desired 17 how many 31 k 256 v 132 index 64 264 desired 18 how many 31 k 256 v 132 index 64 264 desired 19 how many 31 k 256 v 132 index 64 264 .point size = 7 ..terminate called after throwing an instance of 'IndexError*' FAIL: _bin/clang-coverage/mycpp/gc_heap_test with code 134