Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make constexpr constants in headers inline constexpr #29279

Merged
merged 2 commits into from
Sep 15, 2023

Conversation

ksperling-apple
Copy link
Contributor

This makes the linker deduplicate these constants, instead of emitting one
definition per compilation unit. E.g. chip::System::Clock::kZero currently
exists >10 times in the chip-tool binary.

This makes the linker deduplicate these constants, instead of emitting one
definition per compilation unit. E.g. chip::System::Clock::kZero currently
exists >10 times in the chip-tool binary.
@github-actions
Copy link

github-actions bot commented Sep 15, 2023

PR #29279: Size comparison from d104699 to b2ce8c7

Increases above 0.2%:

platform target config section d104699 b2ce8c7 change % change
linux chip-tool-ipv6only arm64 .got 18208 18400 192 1.1
thermostat-no-ble arm64 .got 11824 11920 96 0.8
Increases (13 builds for linux)
platform target config section d104699 b2ce8c7 change % change
linux all-clusters-app debug .text 4934851 4935043 192 0.0
all-clusters-minimal-app debug .text 4425715 4425891 176 0.0
bridge-app debug .text 2380435 2380611 176 0.0
chip-tool debug .data.rel.ro 336912 336928 16 0.0
.text 9361219 9362787 1568 0.0
chip-tool-ipv6only arm64 (read only) 10186236 10186660 424 0.0
(read/write) 505384 505576 192 0.0
.got 18208 18400 192 1.1
.text 9104360 9104376 16 0.0
lighting-app debug+rpc+ui .text 4673043 4673219 176 0.0
lock-app debug .text 4021027 4021219 192 0.0
ota-provider-app debug .data.rel.ro 68480 68496 16 0.0
.text 3738867 3739059 192 0.0
ota-requestor-app debug .text 3824675 3824883 208 0.0
shell debug .text 2667122 2667314 192 0.0
thermostat-no-ble arm64 (read only) 4358060 4358220 160 0.0
(read/write) 241896 241992 96 0.0
.got 11824 11920 96 0.8
.text 3862792 3862808 16 0.0
tv-app debug .text 4804259 4804499 240 0.0
tv-casting-app debug .text 7553619 7555123 1504 0.0
Decreases (76 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section d104699 b2ce8c7 change % change
bl602 lighting-app bl602 (read/write) 1368374 1368246 -128 -0.0
.data 9440 9360 -80 -0.8
bl602+rpc (read/write) 1415122 1414994 -128 -0.0
.data 9792 9712 -80 -0.8
bl702 lighting-app bl702 (read/write) 1172787 1172755 -32 -0.0
.data 3576 3568 -8 -0.2
.debug_abbrev 1575049 1538657 -36392 -2.3
.debug_info 42401420 41841320 -560100 -1.3
.debug_line 5459546 5417940 -41606 -0.8
.debug_str 3962410 3958710 -3700 -0.1
.rodata 106824 106800 -24 -0.0
.strtab 596206 596199 -7 -0.0
.symtab 177040 176976 -64 -0.0
bl702+rpc (read/write) 1270915 1270867 -48 -0.0
.data 4096 4088 -8 -0.2
.debug_abbrev 1755794 1719300 -36494 -2.1
.debug_info 4754838 46984268 -564117 -1.2
.debug_line 5874976 5833016 -41960 -0.7
.debug_str 4383896 4380196 -3700 -0.1
.rodata 121896 121872 -24 -0.0
.strtab 660888 660881 -7 -0.0
.symtab 196320 196256 -64 -0.0
bl706-eth (read/write) 1021304 1021104 -200 -0.0
.data 3304 3232 -72 -2.2
.debug_abbrev 1108199 1072381 -35818 -3.2
.debug_info 23049134 22589389 -459745 -2.0
.debug_line 4379504 4343857 -35647 -0.8
.debug_str 3541853 3538672 -3181 -0.1
.rodata 96432 96384 -48 -0.0
.strtab 464661 464651 -10 -0.0
.symtab 139808 139584 -224 -0.2
bl706-wifi (read/write) 1184303 1184103 -200 -0.0
.data 3632 3560 -72 -2.0
.debug_abbrev 1202283 1165449 -36834 -3.1
.debug_info 24282711 23761666 -521045 -2.1
.debug_line 4627813 4589333 -38480 -0.8
.debug_str 3614687 3611083 -3604 -0.1
.rodata 109612 109564 -48 -0.0
.strtab 505446 505436 -10 -0.0
.symtab 152704 152480 -224 -0.1
bl702l lighting-app bl702l (read/write) 1152416 1152384 -32 -0.0
.data 4520 4512 -8 -0.2
.debug_abbrev 1569353 1533171 -36182 -2.3
.debug_info 41870266 41308642 -561624 -1.3
.debug_line 5363729 5321542 -42187 -0.8
.debug_str 3987119 3983419 -3700 -0.1
.rodata 100812 100788 -24 -0.0
.strtab 597909 597902 -7 -0.0
.symtab 176528 176464 -64 -0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 737659 737635 -24 -0.0
.rodata 84551 84527 -24 -0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 757459 757435 -24 -0.0
.rodata 79983 79959 -24 -0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 745371 745347 -24 -0.0
.rodata 106231 106207 -24 -0.0
pump-app LP_EM_CC1354P10_6 (read only) 695795 695771 -24 -0.0
.rodata 80391 80367 -24 -0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 681395 681371 -24 -0.0
.rodata 76231 76207 -24 -0.0
cc32xx lock CC3235SF_LAUNCHXL (read only) 618962 618826 -136 -0.0
.debug_abbrev 969500 929308 -40192 -4.1
.debug_info 21308440 20854076 -454364 -2.1
.debug_line 2805355 2771528 -33827 -1.2
.debug_str 3385845 3382631 -3214 -0.1
.rodata 106466 106330 -136 -0.1
.strtab 510328 510318 -10 -0.0
.symtab 297072 296464 -608 -0.2
cyw30739 light cyw930739m2evb_01 (read/write) 554735 554711 -24 -0.0
.app_xip_area 445617 445593 -24 -0.0
lock cyw930739m2evb_01 (read/write) 539551 539527 -24 -0.0
.app_xip_area 425633 425609 -24 -0.0
ota-requestor cyw930739m2evb_01 (read/write) 574839 574807 -32 -0.0
.app_xip_area 467057 467025 -32 -0.0
switch cyw930739m2evb_01 (read/write) 558663 558639 -24 -0.0
.app_xip_area 447673 447649 -24 -0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1008784 1008628 -156 -0.0
.text 833824 833668 -156 -0.0
BRD4187C (read/write) 1080832 1080792 -40 -0.0
.text 891408 891368 -40 -0.0
lock-app BRD4161A+wf200 (read/write) 1104244 1104164 -80 -0.0
.text 914584 914504 -80 -0.0
window-app BRD4187C (read/write) 1128072 1128004 -68 -0.0
.text 956152 956084 -68 -0.0
esp32 all-clusters-app c3devkit (read/write) 1704076 1703956 -120 -0.0
.flash.rodata 268880 268760 -120 -0.0
m5stack (read only) 1217295 1217267 -28 -0.0
(read/write) 553538 553442 -96 -0.0
.flash.rodata 300084 299988 -96 -0.0
.flash.text 1211911 1211883 -28 -0.0
k32w contact k32w0+release (read only) 590060 590028 -32 -0.0
.text 589524 589492 -32 -0.0
light k32w0+release (read only) 589868 589836 -32 -0.0
.text 589332 589300 -32 -0.0
lock k32w0+release (read only) 561220 561196 -24 -0.0
.text 560684 560660 -24 -0.0
linux all-clusters-app debug (read only) 5656361 5649241 -7120 -0.1
.rodata 339540 332228 -7312 -2.2
all-clusters-minimal-app debug (read only) 4929385 4923497 -5888 -0.1
.data.rel.ro 95120 95112 -8 -0.0
.rodata 272680 266616 -6064 -2.2
bridge-app debug (read only) 2772553 2768297 -4256 -0.2
.rodata 214472 210040 -4432 -2.1
chip-tool debug (read only) 10347193 10344145 -3048 -0.0
.rodata 388977 384361 -4616 -1.2
chip-tool-ipv6only arm64 .rodata 316312 316144 -168 -0.1
lighting-app debug+rpc+ui (read only) 5252633 5247881 -4752 -0.1
.data.rel.ro 92472 92464 -8 -0.0
.rodata 336916 331988 -4928 -1.5
lock-app debug (read only) 4478945 4474449 -4496 -0.1
.rodata 248424 243736 -4688 -1.9
ota-provider-app debug (read only) 4130401 4126417 -3984 -0.1
.rodata 201096 196920 -4176 -2.1
ota-requestor-app debug (read only) 4223865 4219609 -4256 -0.1
(read/write) 196344 196312 -32 -0.0
.data.rel.ro 71480 71472 -8 -0.0
.rodata 204424 199960 -4464 -2.2
shell debug (read only) 3056561 3050705 -5856 -0.2
.rodata 214706 208658 -6048 -2.8
thermostat-no-ble arm64 .rodata 161204 161060 -144 -0.1
tv-app debug (read only) 5321201 5314641 -6560 -0.1
.rodata 272888 266088 -6800 -2.5
tv-casting-app debug (read only) 8293553 8289761 -3792 -0.0
.data.rel.ro 147576 147568 -8 -0.0
.rodata 338492 333196 -5296 -1.6
mbed lock-app-release cy8cproto_062_4343w (read/write) 2523240 2523144 -96 -0.0
.text 1485924 1485828 -96 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1242916 1242892 -24 -0.0
rodata 143160 143136 -24 -0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1361196 1361108 -88 -0.0
rodata 137036 136948 -88 -0.1
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1165188 1165164 -24 -0.0
rodata 113888 113864 -24 -0.0
light-switch-app nrf52840dk_nrf52840 (read/write) 1119660 1119636 -24 -0.0
rodata 103960 103936 -24 -0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1375744 1375656 -88 -0.0
rodata 190516 190428 -88 -0.0
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1160324 1160296 -28 -0.0
rodata 99184 99156 -28 -0.0
nrf52840dongle_nrf52840 (read/write) 1124824 1124800 -24 -0.0
rodata 88836 88812 -24 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1105368 1105340 -28 -0.0
rodata 101204 101176 -28 -0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1375744 1375656 -88 -0.0
rodata 190516 190428 -88 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 1132316 1132292 -24 -0.0
rodata 124776 124752 -24 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1044732 1044708 -24 -0.0
rodata 118912 118888 -24 -0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1389164 1389076 -88 -0.0
rodata 211328 211240 -88 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 1080692 1080664 -28 -0.0
rodata 99320 99292 -28 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 1068680 1068656 -24 -0.0
rodata 96236 96212 -24 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1797996 1797852 -144 -0.0
.debug_abbrev 1428489 1385208 -43281 -3.0
.debug_info 33764276 33083336 -680940 -2.0
.debug_line 4259109 4204921 -54188 -1.3
.debug_str 4556183 4552452 -3731 -0.1
.strtab 863458 863448 -10 -0.0
.symtab 519408 518736 -672 -0.1
.text 1593316 1593172 -144 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1685204 1685068 -136 -0.0
.debug_abbrev 1293718 1253903 -39815 -3.1
.debug_info 29382730 28775267 -607463 -2.1
.debug_line 3960602 3912223 -48379 -1.2
.debug_str 3941395 3937767 -3628 -0.1
.strtab 733548 733538 -10 -0.0
.symtab 472688 472048 -640 -0.1
.text 1483284 1483148 -136 -0.0
light cy8ckit_062s2_43012 (read/write) 1610924 1610772 -152 -0.0
.debug_abbrev 1133542 1095038 -38504 -3.4
.debug_info 24425605 23900849 -524756 -2.1
.debug_line 3524766 3487417 -37349 -1.1
.debug_str 3748648 3745020 -3628 -0.1
.strtab 648898 648888 -10 -0.0
.symtab 434976 434336 -640 -0.1
.text 1415332 1415180 -152 -0.0
lock cy8ckit_062s2_43012 (read/write) 1642276 1642132 -144 -0.0
.debug_abbrev 1124221 1087202 -37019 -3.3
.debug_info 24222662 23703994 -518668 -2.1
.debug_line 3474265 3438119 -36146 -1.0
.debug_str 3710735 3707098 -3637 -0.1
.strtab 622023 622013 -10 -0.0
.symtab 426192 425552 -640 -0.2
.text 1419428 1419284 -144 -0.0
qpg lighting-app qpg6105+debug (read/write) 1177940 1177916 -24 -0.0
.text 624784 624760 -24 -0.0
lock-app qpg6105+debug (read/write) 1134180 1134156 -24 -0.0
.text 581020 580996 -24 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1102444 1102412 -32 -0.0
all-clusters-minimal-app tlsr9528a (read/write) 1042948 1042916 -32 -0.0
bridge-app tlsr9518adk80d (read/write) 948848 948816 -32 -0.0
contact-sensor-app tlsr9528a (read/write) 931900 931868 -32 -0.0
light-switch-app tlsr9518adk80d (read/write) 925808 925776 -32 -0.0
lighting-app-rpc-shell-factory-data tlsr9518adk80d (read/write) 1001388 1001356 -32 -0.0
tlsr9528a (read/write) 1053736 1053704 -32 -0.0
lock-app tlsr9528a (read/write) 989980 989948 -32 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 903536 903504 -32 -0.0
pump-app tlsr9528a (read/write) 937340 937308 -32 -0.0
pump-controller-app tlsr9518adk80d (read/write) 872036 872004 -32 -0.0
shell tlsr9518adk80d (read/write) 748804 748772 -32 -0.0
smoke_co_alarm-app tlsr9528a (read/write) 935632 935600 -32 -0.0
temperature-measurement-app tlsr9528a (read/write) 920636 920604 -32 -0.0
thermostat tlsr9518adk80d (read/write) 893468 893436 -32 -0.0
window-covering tlsr9518adk80d (read/write) 889092 889060 -32 -0.0
Full report (76 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section d104699 b2ce8c7 change % change
bl602 lighting-app bl602 (read/write) 1368374 1368246 -128 -0.0
.bss 73470 73470 0 0.0
.data 9440 9360 -80 -0.8
.text 1062088 1062088 0 0.0
bl602+rpc (read/write) 1415122 1414994 -128 -0.0
.bss 81494 81494 0 0.0
.data 9792 9712 -80 -0.8
.text 1093398 1093398 0 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1172787 1172755 -32 -0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 26633 26633 0 0.0
.bss_psram 57968 57968 0 0.0
.comment 48 48 0 0.0
.data 3576 3568 -8 -0.2
.debug_abbrev 1575049 1538657 -36392 -2.3
.debug_aranges 138320 138320 0 0.0
.debug_frame 508032 508032 0 0.0
.debug_info 42401420 41841320 -560100 -1.3
.debug_line 5459546 5417940 -41606 -0.8
.debug_loc 3515543 3515543 0 0.0
.debug_ranges 371056 371056 0 0.0
.debug_str 3962410 3958710 -3700 -0.1
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 106824 106800 -24 -0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 596206 596199 -7 -0.0
.symtab 177040 176976 -64 -0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
960080 960080 0 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1270915 1270867 -48 -0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 35101 35101 0 0.0
.bss_psram 57952 57952 0 0.0
.comment 48 48 0 0.0
.data 4096 4088 -8 -0.2
.debug_abbrev 1755794 1719300 -36494 -2.1
.debug_aranges 147016 147016 0 0.0
.debug_frame 537428 537428 0 0.0
.debug_info 4754838 46984268 -564117 -1.2
.debug_line 5874976 5833016 -41960 -0.7
.debug_loc 3722123 3722123 0 0.0
.debug_ranges 397040 397040 0 0.0
.debug_str 4383896 4380196 -3700 -0.1
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 121896 121872 -24 -0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 660888 660881 -7 -0.0
.symtab 196320 196256 -64 -0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1033620 1033620 0 0.0
bl706-eth (read/write) 1021304 1021104 -200 -0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 25554 25554 0 0.0
.bss_psram 94839 94839 0 0.0
.comment 48 48 0 0.0
.data 3304 3232 -72 -2.2
.debug_abbrev 1108199 1072381 -35818 -3.2
.debug_aranges 115208 115208 0 0.0
.debug_frame 426972 426972 0 0.0
.debug_info 23049134 22589389 -459745 -2.0
.debug_line 4379504 4343857 -35647 -0.8
.debug_loc 3023438 3023438 0 0.0
.debug_ranges 306792 306792 0 0.0
.debug_str 3541853 3538672 -3181 -0.1
.hbn 184 184 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 152 152 0 0.0
.psram 9 9 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 96432 96384 -48 -0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 464661 464651 -10 -0.0
.symtab 139808 139584 -224 -0.2
.tcm_data 28 28 0 0.0
.tcmcode 3338 3338 0 0.0
.text 0 0 0 0.0
780760 780760 0 0.0
bl706-wifi (read only) 3870 3870 0 0.0
(read/write) 1184303 1184103 -200 -0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 9949 9949 0 0.0
.bss_psram 95575 95575 0 0.0
.comment 48 48 0 0.0
.data 3632 3560 -72 -2.0
.debug_abbrev 1202283 1165449 -36834 -3.1
.debug_aranges 119408 119408 0 0.0
.debug_frame 619356 619356 0 0.0
.debug_info 24282711 23761666 -521045 -2.1
.debug_line 4627813 4589333 -38480 -0.8
.debug_loc 3124269 3124269 0 0.0
.debug_ranges 316688 316688 0 0.0
.debug_str 3614687 3611083 -3604 -0.1
.hbn 468 468 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 156 156 0 0.0
.psram 9 9 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 109612 109564 -48 -0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 505446 505436 -10 -0.0
.symtab 152704 152480 -224 -0.1
.tcm_data 28 28 0 0.0
.tcmcode 3870 3870 0 0.0
.text 0 0 0 0.0
947308 947308 0 0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1152416 1152384 -32 -0.0
.boot2 292 292 0 0.0
.bss 15972 15972 0 0.0
.bss_psram 77632 77632 0 0.0
.comment 48 48 0 0.0
.data 4520 4512 -8 -0.2
.debug_abbrev 1569353 1533171 -36182 -2.3
.debug_aranges 133176 133176 0 0.0
.debug_frame 488660 488660 0 0.0
.debug_info 41870266 41308642 -561624 -1.3
.debug_line 5363729 5321542 -42187 -0.8
.debug_loc 3459643 3459643 0 0.0
.debug_ranges 377528 377528 0 0.0
.debug_str 3987119 3983419 -3700 -0.1
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 144 144 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 100812 100788 -24 -0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 597909 597902 -7 -0.0
.symtab 176528 176464 -64 -0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
942936 942936 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 737659 737635 -24 -0.0
(read/write) 166800 166800 0 0.0
.bss 89212 89212 0 0.0
.data 3424 3424 0 0.0
.rodata 84551 84527 -24 -0.0
.text 652720 652720 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 757459 757435 -24 -0.0
(read/write) 177056 177056 0 0.0
.bss 99436 99436 0 0.0
.data 3440 3440 0 0.0
.rodata 79983 79959 -24 -0.0
.text 677088 677088 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 745371 745347 -24 -0.0
(read/write) 171528 171528 0 0.0
.bss 93908 93908 0 0.0
.data 3440 3440 0 0.0
.rodata 106231 106207 -24 -0.0
.text 638748 638748 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 695795 695771 -24 -0.0
(read/write) 165900 165900 0 0.0
.bss 88080 88080 0 0.0
.data 3412 3412 0 0.0
.rodata 80391 80367 -24 -0.0
.text 615016 615016 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 681395 681371 -24 -0.0
(read/write) 166032 166032 0 0.0
.bss 88224 88224 0 0.0
.data 3408 3408 0 0.0
.rodata 76231 76207 -24 -0.0
.text 604776 604776 0 0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 618962 618826 -136 -0.0
(read/write) 207256 207256 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 200696 200696 0 0.0
.comment 206 206 0 0.0
.data 1440 1440 0 0.0
.debug_abbrev 969500 929308 -40192 -4.1
.debug_aranges 107416 107416 0 0.0
.debug_frame 363164 363164 0 0.0
.debug_info 21308440 20854076 -454364 -2.1
.debug_line 2805355 2771528 -33827 -1.2
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1578015 1578015 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 99388 99388 0 0.0
.debug_str 3385845 3382631 -3214 -0.1
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106466 106330 -136 -0.1
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 510328 510318 -10 -0.0
.symtab 297072 296464 -608 -0.2
.text 510376 510376 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 554735 554711 -24 -0.0
.app_xip_area 445617 445593 -24 -0.0
.bss 64088 64088 0 0.0
.data 664 664 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 539551 539527 -24 -0.0
.app_xip_area 425633 425609 -24 -0.0
.bss 68856 68856 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 574839 574807 -32 -0.0
.app_xip_area 467057 467025 -32 -0.0
.bss 62824 62824 0 0.0
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 558663 558639 -24 -0.0
.app_xip_area 447673 447649 -24 -0.0
.bss 65936 65936 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1008784 1008628 -156 -0.0
.bss 172268 172268 0 0.0
.data 2672 2672 0 0.0
.text 833824 833668 -156 -0.0
BRD4187C (read/write) 1080832 1080792 -40 -0.0
.bss 186144 186144 0 0.0
.data 3260 3260 0 0.0
.text 891408 891368 -40 -0.0
lock-app BRD4161A+wf200 (read/write) 1104244 1104164 -80 -0.0
.bss 186956 186956 0 0.0
.data 2684 2684 0 0.0
.text 914584 914504 -80 -0.0
window-app BRD4187C (read/write) 1128072 1128004 -68 -0.0
.bss 168768 168768 0 0.0
.data 3132 3132 0 0.0
.text 956152 956084 -68 -0.0
esp32 all-clusters-app c3devkit (read only) 1176454 1176454 0 0.0
(read/write) 1704076 1703956 -120 -0.0
.dram0.bss 79192 79192 0 0.0
.dram0.data 13084 13084 0 0.0
.flash.rodata 268880 268760 -120 -0.0
.flash.text 1176454 1176454 0 0.0
.iram0.text 75244 75244 0 0.0
m5stack (read only) 1217295 1217267 -28 -0.0
(read/write) 553538 553442 -96 -0.0
.dram0.bss 85800 85800 0 0.0
.dram0.data 34036 34036 0 0.0
.flash.rodata 300084 299988 -96 -0.0
.flash.text 1211911 1211883 -28 -0.0
.iram0.text 123287 123287 0 0.0
k32w contact k32w0+release (read only) 590060 590028 -32 -0.0
(read/write) 87920 87920 0 0.0
.bss 71168 71168 0 0.0
.data 2128 2128 0 0.0
.text 589524 589492 -32 -0.0
light k32w0+release (read only) 589868 589836 -32 -0.0
(read/write) 87596 87596 0 0.0
.bss 70856 70856 0 0.0
.data 2116 2116 0 0.0
.text 589332 589300 -32 -0.0
lock k32w0+release (read only) 561220 561196 -24 -0.0
(read/write) 85372 85372 0 0.0
.bss 68688 68688 0 0.0
.data 2060 2060 0 0.0
.text 560684 560660 -24 -0.0
linux all-clusters-app debug (read only) 5656361 5649241 -7120 -0.1
(read/write) 421064 421064 0 0.0
.bss 130560 130560 0 0.0
.data 4016 4016 0 0.0
.data.rel.ro 279096 279096 0 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1344 1344 0 0.0
.rodata 339540 332228 -7312 -2.2
.text 4934851 4935043 192 0.0
all-clusters-minimal-app debug (read only) 4929385 4923497 -5888 -0.1
(read/write) 232608 232608 0 0.0
.bss 126496 126496 0 0.0
.data 3856 3856 0 0.0
.data.rel.ro 95120 95112 -8 -0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272680 266616 -6064 -2.2
.text 4425715 4425891 176 0.0
bridge-app debug (read only) 2772553 2768297 -4256 -0.2
(read/write) 133136 133136 0 0.0
.bss 51768 51768 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 71440 71440 0 0.0
.dynamic 624 624 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 214472 210040 -4432 -2.1
.text 2380435 2380611 176 0.0
chip-tool debug (read only) 10347193 10344145 -3048 -0.0
(read/write) 442968 442968 0 0.0
.bss 93720 93720 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 336912 336928 16 0.0
.dynamic 624 624 0 0.0
.got 5808 5808 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 388977 384361 -4616 -1.2
.text 9361219 9362787 1568 0.0
chip-tool-ipv6only arm64 (read only) 10186236 10186660 424 0.0
(read/write) 505384 505576 192 0.0
.bss 103064 103064 0 0.0
.data 4392 4392 0 0.0
.data.rel.ro 374272 374272 0 0.0
.dynamic 512 512 0 0.0
.got 18208 18400 192 1.1
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 316312 316144 -168 -0.1
.text 9104360 9104376 16 0.0
lighting-app debug+rpc+ui (read only) 5252633 5247881 -4752 -0.1
(read/write) 222760 222760 0 0.0
.bss 118192 118192 0 0.0
.data 4528 4528 0 0.0
.data.rel.ro 92472 92464 -8 -0.0
.dynamic 672 672 0 0.0
.got 5928 5928 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 336916 331988 -4928 -1.5
.text 4673043 4673219 176 0.0
lock-app debug (read only) 4478945 4474449 -4496 -0.1
(read/write) 203096 203096 0 0.0
.bss 113456 113456 0 0.0
.data 3760 3760 0 0.0
.data.rel.ro 79080 79080 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 248424 243736 -4688 -1.9
.text 4021027 4021219 192 0.0
ota-provider-app debug (read only) 4130401 4126417 -3984 -0.1
(read/write) 192032 192032 0 0.0
.bss 113600 113600 0 0.0
.data 4032 4032 0 0.0
.data.rel.ro 68480 68496 16 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 201096 196920 -4176 -2.1
.text 3738867 3739059 192 0.0
ota-requestor-app debug (read only) 4223865 4219609 -4256 -0.1
(read/write) 196344 196312 -32 -0.0
.bss 114656 114656 0 0.0
.data 4272 4272 0 0.0
.data.rel.ro 71480 71472 -8 -0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 204424 199960 -4464 -2.2
.text 3824675 3824883 208 0.0
shell debug (read only) 3056561 3050705 -5856 -0.2
(read/write) 153776 153776 0 0.0
.bss 60968 60968 0 0.0
.data 784 784 0 0.0
.data.rel.ro 86088 86088 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1184 1184 0 0.0
.rodata 214706 208658 -6048 -2.8
.text 2667122 2667314 192 0.0
thermostat-no-ble arm64 (read only) 4358060 4358220 160 0.0
(read/write) 241896 241992 96 0.0
.bss 122200 122200 0 0.0
.data 2896 2896 0 0.0
.data.rel.ro 100512 100512 0 0.0
.dynamic 512 512 0 0.0
.got 11824 11920 96 0.8
.init 24 24 0 0.0
.init_array 424 424 0 0.0
.rodata 161204 161060 -144 -0.1
.text 3862792 3862808 16 0.0
tv-app debug (read only) 5321201 5314641 -6560 -0.1
(read/write) 350824 350824 0 0.0
.bss 242016 242016 0 0.0
.data 5136 5136 0 0.0
.data.rel.ro 96256 96256 0 0.0
.dynamic 624 624 0 0.0
.got 5608 5608 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 272888 266088 -6800 -2.5
.text 4804259 4804499 240 0.0
tv-casting-app debug (read only) 8293553 8289761 -3792 -0.0
(read/write) 211648 211648 0 0.0
.bss 54720 54720 0 0.0
.data 2544 2544 0 0.0
.data.rel.ro 147576 147568 -8 -0.0
.dynamic 624 624 0 0.0
.got 5080 5080 0 0.0
.init 27 27 0 0.0
.init_array 1080 1080 0 0.0
.rodata 338492 333196 -5296 -1.6
.text 7553619 7555123 1504 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2523240 2523144 -96 -0.0
.bss 219416 219416 0 0.0
.data 5128 5128 0 0.0
.text 1485924 1485828 -96 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1242916 1242892 -24 -0.0
bss 155570 155570 0 0.0
rodata 143160 143136 -24 -0.0
text 865136 865136 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1361196 1361108 -88 -0.0
bss 141036 141036 0 0.0
rodata 137036 136948 -88 -0.1
text 792408 792408 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1165188 1165164 -24 -0.0
bss 154968 154968 0 0.0
rodata 113888 113864 -24 -0.0
text 817384 817384 0 0.0
light-switch-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1119660 1119636 -24 -0.0
bss 149220 149220 0 0.0
rodata 103960 103936 -24 -0.0
text 787568 787568 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1375744 1375656 -88 -0.0
bss 134291 134291 0 0.0
rodata 190516 190428 -88 -0.0
text 755668 755668 0 0.0
lighting-app nrf52840dk_nrf52840+rpc (read only) 4 4 0 0.0
(read/write) 1160324 1160296 -28 -0.0
bss 159503 159503 0 0.0
rodata 99184 99156 -28 -0.0
text 821324 821324 0 0.0
nrf52840dongle_nrf52840 (read only) 4 4 0 0.0
(read/write) 1124824 1124800 -24 -0.0
bss 167643 167643 0 0.0
rodata 88836 88812 -24 -0.0
text 783392 783392 0 0.0
nrf5340dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1105368 1105340 -28 -0.0
bss 156523 156523 0 0.0
rodata 101204 101176 -28 -0.0
text 764200 764200 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1375744 1375656 -88 -0.0
bss 134291 134291 0 0.0
rodata 190516 190428 -88 -0.0
text 755668 755668 0 0.0
lock-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1132316 1132292 -24 -0.0
bss 149657 149657 0 0.0
rodata 124776 124752 -24 -0.0
text 778888 778888 0 0.0
nrf5340dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1044732 1044708 -24 -0.0
bss 146889 146889 0 0.0
rodata 118912 118888 -24 -0.0
text 695432 695432 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1389164 1389076 -88 -0.0
bss 134728 134728 0 0.0
rodata 211328 211240 -88 -0.0
text 747836 747836 0 0.0
pump-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1080692 1080664 -28 -0.0
bss 148345 148345 0 0.0
rodata 99320 99292 -28 -0.0
text 754196 754196 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1068680 1068656 -24 -0.0
bss 148144 148144 0 0.0
rodata 96236 96212 -24 -0.0
text 745400 745400 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837048 837048 0 0.0
(read/write) 1797996 1797852 -144 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 193740 193740 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2552 2552 0 0.0
.debug_abbrev 1428489 1385208 -43281 -3.0
.debug_aranges 146128 146128 0 0.0
.debug_frame 486028 486028 0 0.0
.debug_info 33764276 33083336 -680940 -2.0
.debug_line 4259109 4204921 -54188 -1.3
.debug_line_str 957 957 0 0.0
.debug_loclists 2319184 2319184 0 0.0
.debug_rnglists 145112 145112 0 0.0
.debug_str 4556183 4552452 -3731 -0.1
.heap 837048 837048 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 863458 863448 -10 -0.0
.symtab 519408 518736 -672 -0.1
.text 0 0 0 0.0
1593316 1593172 -144 -0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 839808 839808 0 0.0
(read/write) 1685204 1685068 -136 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 191060 191060 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2472 2472 0 0.0
.debug_abbrev 1293718 1253903 -39815 -3.1
.debug_aranges 135848 135848 0 0.0
.debug_frame 457112 457112 0 0.0
.debug_info 29382730 28775267 -607463 -2.1
.debug_line 3960602 3912223 -48379 -1.2
.debug_line_str 981 981 0 0.0
.debug_loclists 2134436 2134436 0 0.0
.debug_rnglists 134569 134569 0 0.0
.debug_str 3941395 3937767 -3628 -0.1
.heap 839808 839808 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 733548 733538 -10 -0.0
.symtab 472688 472048 -640 -0.1
.text 1483284 1483148 -136 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 846136 846136 0 0.0
(read/write) 1610924 1610772 -152 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184844 184844 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2360 2360 0 0.0
.debug_abbrev 1133542 1095038 -38504 -3.4
.debug_aranges 125944 125944 0 0.0
.debug_frame 420156 420156 0 0.0
.debug_info 24425605 23900849 -524756 -2.1
.debug_line 3524766 3487417 -37349 -1.1
.debug_line_str 942 942 0 0.0
.debug_loclists 1971219 1971219 0 0.0
.debug_rnglists 124266 124266 0 0.0
.debug_str 3748648 3745020 -3628 -0.1
.heap 846136 846136 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 648898 648888 -10 -0.0
.symtab 434976 434336 -640 -0.1
.text 1415332 1415180 -152 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 818880 818880 0 0.0
(read/write) 1642276 1642132 -144 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 212092 212092 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2368 2368 0 0.0
.debug_abbrev 1124221 1087202 -37019 -3.3
.debug_aranges 124600 124600 0 0.0
.debug_frame 415252 415252 0 0.0
.debug_info 24222662 23703994 -518668 -2.1
.debug_line 3474265 3438119 -36146 -1.0
.debug_line_str 933 933 0 0.0
.debug_loclists 1946506 1946506 0 0.0
.debug_rnglists 122222 122222 0 0.0
.debug_str 3710735 3707098 -3637 -0.1
.heap 818880 818880 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 622023 622013 -10 -0.0
.symtab 426192 425552 -640 -0.2
.text 1419428 1419284 -144 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1177940 1177916 -24 -0.0
.bss 101024 101024 0 0.0
.data 744 744 0 0.0
.text 624784 624760 -24 -0.0
lock-app qpg6105+debug (read/write) 1134180 1134156 -24 -0.0
.bss 95728 95728 0 0.0
.data 748 748 0 0.0
.text 581020 580996 -24 -0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1102444 1102412 -32 -0.0
bss 112384 112384 0 0.0
text 755096 755096 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 1042948 1042916 -32 -0.0
bss 110164 110164 0 0.0
text 709062 709062 0 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 948848 948816 -32 -0.0
bss 113748 113748 0 0.0
text 648290 648290 0 0.0
contact-sensor-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 931900 931868 -32 -0.0
bss 103372 103372 0 0.0
text 620788 620788 0 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 925808 925776 -32 -0.0
bss 103616 103616 0 0.0
text 632360 632360 0 0.0
lighting-app-rpc-shell-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1001388 1001356 -32 -0.0
bss 115980 115980 0 0.0
text 697234 697234 0 0.0
tlsr9528a (read only) 4 4 0 0.0
(read/write) 1053736 1053704 -32 -0.0
bss 116584 116584 0 0.0
text 727228 727228 0 0.0
lock-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 989980 989948 -32 -0.0
bss 104092 104092 0 0.0
text 651934 651934 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 903536 903504 -32 -0.0
bss 104108 104108 0 0.0
text 613714 613714 0 0.0
pump-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 937340 937308 -32 -0.0
bss 103504 103504 0 0.0
text 626434 626434 0 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 872036 872004 -32 -0.0
bss 102708 102708 0 0.0
text 586740 586740 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 748804 748772 -32 -0.0
bss 101572 101572 0 0.0
text 479360 479360 0 0.0
smoke_co_alarm-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 935632 935600 -32 -0.0
bss 103484 103484 0 0.0
text 625310 625310 0 0.0
temperature-measurement-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 920636 920604 -32 -0.0
bss 103212 103212 0 0.0
text 612482 612482 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 893468 893436 -32 -0.0
bss 103000 103000 0 0.0
text 602450 602450 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 889092 889060 -32 -0.0
bss 103324 103324 0 0.0
text 597780 597780 0 0.0

@mergify mergify bot merged commit b15a6e6 into project-chip:master Sep 15, 2023
52 checks passed
@ksperling-apple ksperling-apple deleted the inline-constexpr branch September 17, 2023 21:26
HunsupJung pushed a commit to HunsupJung/connectedhomeip that referenced this pull request Oct 23, 2023
)

* Make constexpr constants in headers inline constexpr

This makes the linker deduplicate these constants, instead of emitting one
definition per compilation unit. E.g. chip::System::Clock::kZero currently
exists >10 times in the chip-tool binary.

* Restyle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants