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

Misc clang-tidy auto fixes #23445

Merged
merged 13 commits into from
Nov 3, 2022

Conversation

andy31415
Copy link
Contributor

This applies:

  • readability-redundant-control-flow
  • readability-redundant-string-init
  • readability-redundant-string-cstr
  • modernize-use-bool-literals
  • performance-for-range-copy
  • readability-const-return-type

Most changes are small, so packed all these into one PR. Generally ran like:

./scripts/run-clang-tidy-on-compile-commands.py \
  --compile-database out/linux-x64-all-clusters-clang/compile_commands.json \
  --compile-database out/linux-x64-chip-tool-clang/compile_commands.json \
  --compile-database out/linux-x64-tests-clang/compile_commands.json \
  --checks modernize-use-bool-literals \
  fix

@github-actions
Copy link

github-actions bot commented Nov 2, 2022

PR #23445: Size comparison from 7aadb28 to 2cbad1d

Increases (1 build for qpg)
platform target config section 7aadb28 2cbad1d change % change
qpg lock-app qpg6105+debug (read/write) 1114752 1114760 8 0.0
.text 561848 561856 8 0.0
Decreases (2 builds for bl702)
platform target config section 7aadb28 2cbad1d change % change
bl702 lighting-app bl702 .debug_line 5262950 5262940 -10 -0.0
bl702+rpc .debug_info 41985158 41985157 -1 -0.0
.debug_line 5638684 5638674 -10 -0.0
.text 1031486 1031484 -2 -0.0
Full report (7 builds for bl602, bl702, mbed, qpg)
platform target config section 7aadb28 2cbad1d change % change
bl602 lighting-app bl602 (read/write) 1390518 1390518 0 0.0
.bss 90745 90745 0 0.0
.data 9936 9936 0 0.0
.text 1069812 1069812 0 0.0
bl602+rpc (read/write) 1435974 1435974 0 0.0
.bss 98177 98177 0 0.0
.data 10320 10320 0 0.0
.text 1101416 1101416 0 0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1189323 1189323 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67134 67134 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4280 4280 0 0.0
.debug_abbrev 1513290 1513290 0 0.0
.debug_aranges 132064 132064 0 0.0
.debug_frame 484444 484444 0 0.0
.debug_info 38069050 38069050 0 0.0
.debug_line 5262950 5262940 -10 -0.0
.debug_loc 3366388 3366388 0 0.0
.debug_ranges 358072 358072 0 0.0
.debug_str 3451656 3451656 0 0.0
.hbn 509 509 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 116616 116616 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565981 565981 0 0.0
.symtab 171984 171984 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957778 957778 0 0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1285251 1285251 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75166 75166 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4816 4816 0 0.0
.debug_abbrev 1650704 1650704 0 0.0
.debug_aranges 139568 139568 0 0.0
.debug_frame 509816 509816 0 0.0
.debug_info 41985158 41985157 -1 -0.0
.debug_line 5638684 5638674 -10 -0.0
.debug_loc 3559215 3559215 0 0.0
.debug_ranges 380872 380872 0 0.0
.debug_str 3847784 3847784 0 0.0
.hbn 509 509 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 130024 130024 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 625154 625154 0 0.0
.symtab 189792 189792 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1031486 1031484 -2 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452768 2452768 0 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1415412 1415412 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1149968 1149968 0 0.0
.bss 110612 110612 0 0.0
.data 848 848 0 0.0
.text 597068 597068 0 0.0
lock-app qpg6105+debug (read/write) 1114752 1114760 8 0.0
.bss 106388 106388 0 0.0
.data 836 836 0 0.0
.text 561848 561856 8 0.0

@github-actions
Copy link

github-actions bot commented Nov 2, 2022

PR #23445: Size comparison from 7aadb28 to 1e078f7

Increases (6 builds for bl702, qpg, telink)
platform target config section 7aadb28 1e078f7 change % change
bl702 lighting-app bl702 .debug_info 38069050 38069051 1 0.0
.text 957778 957780 2 0.0
qpg lock-app qpg6105+debug (read/write) 1114752 1114760 8 0.0
.text 561848 561856 8 0.0
telink all-clusters-app tlsr9518adk80d text 648766 648768 2 0.0
all-clusters-minimal-app tlsr9518adk80d text 612606 612608 2 0.0
light-switch-app tlsr9518adk80d text 554264 554266 2 0.0
lighting-app tlsr9518adk80d (read/write) 875044 875052 8 0.0
text 624252 624256 4 0.0
Decreases (10 builds for bl702, cc13x2_26x2, esp32, linux, psoc6)
platform target config section 7aadb28 1e078f7 change % change
bl702 lighting-app bl702 .debug_line 5262950 5262940 -10 -0.0
bl702+rpc .debug_line 5638684 5638674 -10 -0.0
cc13x2_26x2 all-clusters-minimal-app LP_CC2652R7 (read only) 642119 642111 -8 -0.0
.text 562776 562768 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1223970 1223968 -2 -0.0
.flash.text 1223970 1223968 -2 -0.0
linux chip-tool-ipv6only arm64 (read only) 10436348 10436332 -16 -0.0
.text 8262292 8262276 -16 -0.0
thermostat-no-ble arm64 (read only) 2392844 2392828 -16 -0.0
.text 2005296 2005280 -16 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 27004565 27004562 -3 -0.0
.debug_line 3679399 3679394 -5 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_info 26741195 26741191 -4 -0.0
.debug_line 3700375 3700370 -5 -0.0
light cy8ckit_062s2_43012 .debug_info 22202548 22202542 -6 -0.0
.debug_line 3269633 3269628 -5 -0.0
lock cy8ckit_062s2_43012 .debug_info 22435924 22435921 -3 -0.0
.debug_line 3266531 3266526 -5 -0.0
Full report (40 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 7aadb28 1e078f7 change % change
bl602 lighting-app bl602 (read/write) 1390518 1390518 0 0.0
.bss 90745 90745 0 0.0
.data 9936 9936 0 0.0
.text 1069812 1069812 0 0.0
bl602+rpc (read/write) 1435974 1435974 0 0.0
.bss 98177 98177 0 0.0
.data 10320 10320 0 0.0
.text 1101416 1101416 0 0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1189323 1189323 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67134 67134 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4280 4280 0 0.0
.debug_abbrev 1513290 1513290 0 0.0
.debug_aranges 132064 132064 0 0.0
.debug_frame 484444 484444 0 0.0
.debug_info 38069050 38069051 1 0.0
.debug_line 5262950 5262940 -10 -0.0
.debug_loc 3366388 3366388 0 0.0
.debug_ranges 358072 358072 0 0.0
.debug_str 3451656 3451656 0 0.0
.hbn 509 509 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 116616 116616 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565981 565981 0 0.0
.symtab 171984 171984 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957778 957780 2 0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1285251 1285251 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75166 75166 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4816 4816 0 0.0
.debug_abbrev 1650704 1650704 0 0.0
.debug_aranges 139568 139568 0 0.0
.debug_frame 509816 509816 0 0.0
.debug_info 41985158 41985158 0 0.0
.debug_line 5638684 5638674 -10 -0.0
.debug_loc 3559215 3559215 0 0.0
.debug_ranges 380872 380872 0 0.0
.debug_str 3847784 3847784 0 0.0
.hbn 509 509 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 130024 130024 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 625154 625154 0 0.0
.symtab 189792 189792 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1031486 1031486 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677871 677871 0 0.0
(read/write) 173688 173688 0 0.0
.bss 81252 81252 0 0.0
.data 3380 3380 0 0.0
.rodata 89887 89887 0 0.0
.text 587672 587672 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 642119 642111 -8 -0.0
(read/write) 158020 158020 0 0.0
.bss 80524 80524 0 0.0
.data 3380 3380 0 0.0
.rodata 79023 79023 0 0.0
.text 562776 562768 -8 -0.0
lock-ftd LP_CC2652R7 (read only) 676379 676379 0 0.0
(read/write) 172316 172316 0 0.0
.bss 78476 78476 0 0.0
.data 3304 3304 0 0.0
.rodata 77411 77411 0 0.0
.text 598488 598488 0 0.0
lock-mtd LP_CC2652R7 (read only) 660167 660167 0 0.0
(read/write) 184216 184216 0 0.0
.bss 74164 74164 0 0.0
.data 3304 3304 0 0.0
.rodata 103263 103263 0 0.0
.text 556424 556424 0 0.0
pump-app LP_CC2652R7 (read only) 688635 688635 0 0.0
(read/write) 160796 160796 0 0.0
.bss 78444 78444 0 0.0
.data 3296 3296 0 0.0
.rodata 90859 90859 0 0.0
.text 597292 597292 0 0.0
pump-controller-app LP_CC2652R7 (read only) 672911 672911 0 0.0
(read/write) 176616 176616 0 0.0
.bss 78540 78540 0 0.0
.data 3292 3292 0 0.0
.rodata 86407 86407 0 0.0
.text 586024 586024 0 0.0
shell LP_CC2652R7 (read only) 668906 668906 0 0.0
(read/write) 184972 184972 0 0.0
.bss 83572 83572 0 0.0
.data 3376 3376 0 0.0
.rodata 86594 86594 0 0.0
.text 581996 581996 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588542 588542 0 0.0
.app_xip_area 465128 465128 0 0.0
.bss 65832 65832 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 592590 592590 0 0.0
.app_xip_area 463880 463880 0 0.0
.bss 71120 71120 0 0.0
.data 768 768 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544474 544474 0 0.0
.app_xip_area 426140 426140 0 0.0
.bss 60800 60800 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 974732 974732 0 0.0
.bss 152276 152276 0 0.0
.data 2248 2248 0 0.0
.text 820188 820188 0 0.0
BRD4161A+rs911x (read/write) 1034672 1034672 0 0.0
.bss 186744 186744 0 0.0
.data 2092 2092 0 0.0
.text 845812 845812 0 0.0
BRD4187C (read/write) 1146720 1146720 0 0.0
.bss 138664 138664 0 0.0
.data 2596 2596 0 0.0
.text 980864 980864 0 0.0
lock-app BRD4161A+wf200 (read/write) 1160424 1160424 0 0.0
.bss 158272 158272 0 0.0
.data 2100 2100 0 0.0
.text 1000032 1000032 0 0.0
window-app BRD4187C (read/write) 1139940 1139940 0 0.0
.bss 140080 140080 0 0.0
.data 2620 2620 0 0.0
.text 972644 972644 0 0.0
esp32 all-clusters-app c3devkit (read only) 1223970 1223968 -2 -0.0
(read/write) 1788470 1788470 0 0.0
.dram0.bss 76960 76960 0 0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 258024 258024 0 0.0
.flash.text 1223970 1223968 -2 -0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1234039 1234039 0 0.0
(read/write) 564396 564396 0 0.0
.dram0.bss 82336 82336 0 0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 315096 315096 0 0.0
.flash.text 1228655 1228655 0 0.0
.iram0.text 123939 123939 0 0.0
k32w contact k32w0+release (read/write) 661676 661676 0 0.0
.bss 77040 77040 0 0.0
.data 2104 2104 0 0.0
.text 563420 563420 0 0.0
light k32w0+release (read/write) 672008 672008 0 0.0
.bss 74840 74840 0 0.0
.data 2060 2060 0 0.0
.text 592380 592380 0 0.0
lock k32w0+release (read/write) 633484 633484 0 0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 553076 553076 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10436348 10436332 -16 -0.0
(read/write) 706465 706465 0 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650720 650720 0 0.0
.dynamic 560 560 0 0.0
.got 13928 13928 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518220 518220 0 0.0
.text 8262292 8262276 -16 -0.0
thermostat-no-ble arm64 (read only) 2392844 2392828 -16 -0.0
(read/write) 143665 143665 0 0.0
.bss 55377 55377 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77280 77280 0 0.0
.dynamic 560 560 0 0.0
.got 5184 5184 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144548 144548 0 0.0
.text 2005296 2005280 -16 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452768 2452768 0 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1415412 1415412 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1188191 1188191 0 0.0
bss 145301 145301 0 0.0
rodata 144836 144836 0 0.0
text 816996 816996 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167475 1167475 0 0.0
bss 144528 144528 0 0.0
rodata 136576 136576 0 0.0
text 805334 805334 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841952 841952 0 0.0
(read/write) 1745940 1745940 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188728 188728 0 0.0
.comment 204 204 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 2664 2664 0 0.0
.debug_abbrev 1234891 1234891 0 0.0
.debug_aranges 110736 110736 0 0.0
.debug_frame 371220 371220 0 0.0
.debug_info 27004565 27004562 -3 -0.0
.debug_line 3679399 3679394 -5 -0.0
.debug_loc 3588816 3588816 0 0.0
.debug_ranges 337968 337968 0 0.0
.debug_str 3435414 3435414 0 0.0
.heap 841952 841952 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 570487 570487 0 0.0
.symtab 421760 421760 0 0.0
.text 0 0 0 0.0
1546160 1546160 0 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842688 842688 0 0.0
(read/write) 1688548 1688548 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187992 187992 0 0.0
.comment 204 204 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 2664 2664 0 0.0
.debug_abbrev 1226734 1226734 0 0.0
.debug_aranges 110208 110208 0 0.0
.debug_frame 374300 374300 0 0.0
.debug_info 26741195 26741191 -4 -0.0
.debug_line 3700375 3700370 -5 -0.0
.debug_loc 3576453 3576453 0 0.0
.debug_ranges 336584 336584 0 0.0
.debug_str 3424443 3424443 0 0.0
.heap 842688 842688 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 534576 534576 0 0.0
.symtab 408192 408192 0 0.0
.text 1489504 1489504 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850872 850872 0 0.0
(read/write) 1607004 1607004 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180016 180016 0 0.0
.comment 204 204 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 2456 2456 0 0.0
.debug_abbrev 1061195 1061195 0 0.0
.debug_aranges 102408 102408 0 0.0
.debug_frame 344616 344616 0 0.0
.debug_info 22202548 22202542 -6 -0.0
.debug_line 3269633 3269628 -5 -0.0
.debug_loc 3274179 3274179 0 0.0
.debug_ranges 301880 301880 0 0.0
.debug_str 3229870 3229870 0 0.0
.heap 850872 850872 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 470901 470901 0 0.0
.symtab 376576 376576 0 0.0
.text 1416144 1416144 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845880 845880 0 0.0
(read/write) 1640780 1640780 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184992 184992 0 0.0
.comment 204 204 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 1063170 1063170 0 0.0
.debug_aranges 102808 102808 0 0.0
.debug_frame 346488 346488 0 0.0
.debug_info 22435924 22435921 -3 -0.0
.debug_line 3266531 3266526 -5 -0.0
.debug_loc 3301773 3301773 0 0.0
.debug_ranges 303824 303824 0 0.0
.debug_str 3249341 3249341 0 0.0
.heap 845880 845880 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 473304 473304 0 0.0
.symtab 378256 378256 0 0.0
.text 1444928 1444928 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1149968 1149968 0 0.0
.bss 110612 110612 0 0.0
.data 848 848 0 0.0
.text 597068 597068 0 0.0
lock-app qpg6105+debug (read/write) 1114752 1114760 8 0.0
.bss 106388 106388 0 0.0
.data 836 836 0 0.0
.text 561848 561856 8 0.0
telink all-clusters-app tlsr9518adk80d (read/write) 937348 937348 0 0.0
bss 81632 81632 0 0.0
noinit 43440 43440 0 0.0
text 648766 648768 2 0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 875156 875156 0 0.0
bss 80856 80856 0 0.0
noinit 43440 43440 0 0.0
text 612606 612608 2 0.0
light-switch-app tlsr9518adk80d (read/write) 790820 790820 0 0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 554264 554266 2 0.0
lighting-app tlsr9518adk80d (read/write) 875044 875052 8 0.0
bss 82248 82248 0 0.0
noinit 43520 43520 0 0.0
text 624252 624256 4 0.0
ota-requestor-app tlsr9518adk80d (read/write) 804952 804952 0 0.0
bss 74052 74052 0 0.0
noinit 43520 43520 0 0.0
text 565284 565284 0 0.0

Copy link
Contributor

@bzbarsky-apple bzbarsky-apple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems fine, but can we also enable those clang-tidy checks in CI so this does not regress?

@andy31415
Copy link
Contributor Author

This seems fine, but can we also enable those clang-tidy checks in CI so this does not regress?

Updated .clang-tidy file

@github-actions
Copy link

github-actions bot commented Nov 3, 2022

PR #23445: Size comparison from 7aadb28 to 2dfed3a

Increases (7 builds for bl702, cyw30739, esp32, qpg, telink)
platform target config section 7aadb28 2dfed3a change % change
bl702 lighting-app bl702 .debug_info 38069050 38069051 1 0.0
.text 957778 957780 2 0.0
cyw30739 ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544474 544482 8 0.0
.app_xip_area 426140 426148 8 0.0
esp32 all-clusters-app c3devkit (read/write) 1788470 1788478 8 0.0
.flash.rodata 258024 258032 8 0.0
qpg lock-app qpg6105+debug (read/write) 1114752 1114760 8 0.0
.text 561848 561856 8 0.0
telink light-switch-app tlsr9518adk80d text 554264 554266 2 0.0
lighting-app tlsr9518adk80d (read/write) 875044 875052 8 0.0
text 624252 624256 4 0.0
ota-requestor-app tlsr9518adk80d text 565284 565286 2 0.0
Decreases (10 builds for bl602, bl702, esp32, linux, psoc6)
platform target config section 7aadb28 2dfed3a change % change
bl602 lighting-app bl602+rpc .text 1101416 1101414 -2 -0.0
bl702 lighting-app bl702 .debug_line 5262950 5262940 -10 -0.0
bl702+rpc .debug_info 41985158 41985157 -1 -0.0
.debug_line 5638684 5638674 -10 -0.0
.text 1031486 1031484 -2 -0.0
esp32 all-clusters-app m5stack (read only) 1234039 1233783 -256 -0.0
(read/write) 564396 564284 -112 -0.0
.flash.rodata 315096 314984 -112 -0.0
.flash.text 1228655 1228399 -256 -0.0
linux chip-tool-ipv6only arm64 (read only) 10436348 10436332 -16 -0.0
.text 8262292 8262276 -16 -0.0
thermostat-no-ble arm64 (read only) 2392844 2392828 -16 -0.0
.text 2005296 2005280 -16 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 27004565 27004560 -5 -0.0
.debug_line 3679399 3679394 -5 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_info 26741195 26741191 -4 -0.0
.debug_line 3700375 3700370 -5 -0.0
light cy8ckit_062s2_43012 .debug_info 22202548 22202543 -5 -0.0
.debug_line 3269633 3269628 -5 -0.0
lock cy8ckit_062s2_43012 .debug_info 22435924 22435919 -5 -0.0
.debug_line 3266531 3266526 -5 -0.0
Full report (33 builds for bl602, bl702, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 7aadb28 2dfed3a change % change
bl602 lighting-app bl602 (read/write) 1390518 1390518 0 0.0
.bss 90745 90745 0 0.0
.data 9936 9936 0 0.0
.text 1069812 1069812 0 0.0
bl602+rpc (read/write) 1435974 1435974 0 0.0
.bss 98177 98177 0 0.0
.data 10320 10320 0 0.0
.text 1101416 1101414 -2 -0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1189323 1189323 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67134 67134 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4280 4280 0 0.0
.debug_abbrev 1513290 1513290 0 0.0
.debug_aranges 132064 132064 0 0.0
.debug_frame 484444 484444 0 0.0
.debug_info 38069050 38069051 1 0.0
.debug_line 5262950 5262940 -10 -0.0
.debug_loc 3366388 3366388 0 0.0
.debug_ranges 358072 358072 0 0.0
.debug_str 3451656 3451656 0 0.0
.hbn 509 509 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 116616 116616 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565981 565981 0 0.0
.symtab 171984 171984 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957778 957780 2 0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1285251 1285251 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75166 75166 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4816 4816 0 0.0
.debug_abbrev 1650704 1650704 0 0.0
.debug_aranges 139568 139568 0 0.0
.debug_frame 509816 509816 0 0.0
.debug_info 41985158 41985157 -1 -0.0
.debug_line 5638684 5638674 -10 -0.0
.debug_loc 3559215 3559215 0 0.0
.debug_ranges 380872 380872 0 0.0
.debug_str 3847784 3847784 0 0.0
.hbn 509 509 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 130024 130024 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 625154 625154 0 0.0
.symtab 189792 189792 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1031486 1031484 -2 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588542 588542 0 0.0
.app_xip_area 465128 465128 0 0.0
.bss 65832 65832 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 592590 592590 0 0.0
.app_xip_area 463880 463880 0 0.0
.bss 71120 71120 0 0.0
.data 768 768 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544474 544482 8 0.0
.app_xip_area 426140 426148 8 0.0
.bss 60800 60800 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 974732 974732 0 0.0
.bss 152276 152276 0 0.0
.data 2248 2248 0 0.0
.text 820188 820188 0 0.0
BRD4161A+rs911x (read/write) 1034672 1034672 0 0.0
.bss 186744 186744 0 0.0
.data 2092 2092 0 0.0
.text 845812 845812 0 0.0
BRD4187C (read/write) 1146720 1146720 0 0.0
.bss 138664 138664 0 0.0
.data 2596 2596 0 0.0
.text 980864 980864 0 0.0
lock-app BRD4161A+wf200 (read/write) 1160424 1160424 0 0.0
.bss 158272 158272 0 0.0
.data 2100 2100 0 0.0
.text 1000032 1000032 0 0.0
window-app BRD4187C (read/write) 1139940 1139940 0 0.0
.bss 140080 140080 0 0.0
.data 2620 2620 0 0.0
.text 972644 972644 0 0.0
esp32 all-clusters-app c3devkit (read only) 1223970 1223970 0 0.0
(read/write) 1788470 1788478 8 0.0
.dram0.bss 76960 76960 0 0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 258024 258032 8 0.0
.flash.text 1223970 1223970 0 0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1234039 1233783 -256 -0.0
(read/write) 564396 564284 -112 -0.0
.dram0.bss 82336 82336 0 0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 315096 314984 -112 -0.0
.flash.text 1228655 1228399 -256 -0.0
.iram0.text 123939 123939 0 0.0
k32w contact k32w0+release (read/write) 661676 661676 0 0.0
.bss 77040 77040 0 0.0
.data 2104 2104 0 0.0
.text 563420 563420 0 0.0
light k32w0+release (read/write) 672008 672008 0 0.0
.bss 74840 74840 0 0.0
.data 2060 2060 0 0.0
.text 592380 592380 0 0.0
lock k32w0+release (read/write) 633484 633484 0 0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 553076 553076 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10436348 10436332 -16 -0.0
(read/write) 706465 706465 0 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650720 650720 0 0.0
.dynamic 560 560 0 0.0
.got 13928 13928 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518220 518220 0 0.0
.text 8262292 8262276 -16 -0.0
thermostat-no-ble arm64 (read only) 2392844 2392828 -16 -0.0
(read/write) 143665 143665 0 0.0
.bss 55377 55377 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77280 77280 0 0.0
.dynamic 560 560 0 0.0
.got 5184 5184 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144548 144548 0 0.0
.text 2005296 2005280 -16 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452768 2452768 0 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1415412 1415412 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1188191 1188191 0 0.0
bss 145301 145301 0 0.0
rodata 144836 144836 0 0.0
text 816996 816996 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167475 1167475 0 0.0
bss 144528 144528 0 0.0
rodata 136576 136576 0 0.0
text 805334 805334 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841952 841952 0 0.0
(read/write) 1745940 1745940 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188728 188728 0 0.0
.comment 204 204 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 2664 2664 0 0.0
.debug_abbrev 1234891 1234891 0 0.0
.debug_aranges 110736 110736 0 0.0
.debug_frame 371220 371220 0 0.0
.debug_info 27004565 27004560 -5 -0.0
.debug_line 3679399 3679394 -5 -0.0
.debug_loc 3588816 3588816 0 0.0
.debug_ranges 337968 337968 0 0.0
.debug_str 3435414 3435414 0 0.0
.heap 841952 841952 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 570487 570487 0 0.0
.symtab 421760 421760 0 0.0
.text 1546160 1546160 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842688 842688 0 0.0
(read/write) 1688548 1688548 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187992 187992 0 0.0
.comment 204 204 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 2664 2664 0 0.0
.debug_abbrev 1226734 1226734 0 0.0
.debug_aranges 110208 110208 0 0.0
.debug_frame 374300 374300 0 0.0
.debug_info 26741195 26741191 -4 -0.0
.debug_line 3700375 3700370 -5 -0.0
.debug_loc 3576453 3576453 0 0.0
.debug_ranges 336584 336584 0 0.0
.debug_str 3424443 3424443 0 0.0
.heap 842688 842688 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 534576 534576 0 0.0
.symtab 408192 408192 0 0.0
.text 1489504 1489504 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850872 850872 0 0.0
(read/write) 1607004 1607004 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180016 180016 0 0.0
.comment 204 204 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 2456 2456 0 0.0
.debug_abbrev 1061195 1061195 0 0.0
.debug_aranges 102408 102408 0 0.0
.debug_frame 344616 344616 0 0.0
.debug_info 22202548 22202543 -5 -0.0
.debug_line 3269633 3269628 -5 -0.0
.debug_loc 3274179 3274179 0 0.0
.debug_ranges 301880 301880 0 0.0
.debug_str 3229870 3229870 0 0.0
.heap 850872 850872 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 470901 470901 0 0.0
.symtab 376576 376576 0 0.0
.text 1416144 1416144 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845880 845880 0 0.0
(read/write) 1640780 1640780 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184992 184992 0 0.0
.comment 204 204 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 1063170 1063170 0 0.0
.debug_aranges 102808 102808 0 0.0
.debug_frame 346488 346488 0 0.0
.debug_info 22435924 22435919 -5 -0.0
.debug_line 3266531 3266526 -5 -0.0
.debug_loc 3301773 3301773 0 0.0
.debug_ranges 303824 303824 0 0.0
.debug_str 3249341 3249341 0 0.0
.heap 845880 845880 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 473304 473304 0 0.0
.symtab 378256 378256 0 0.0
.text 1444928 1444928 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1149968 1149968 0 0.0
.bss 110612 110612 0 0.0
.data 848 848 0 0.0
.text 597068 597068 0 0.0
lock-app qpg6105+debug (read/write) 1114752 1114760 8 0.0
.bss 106388 106388 0 0.0
.data 836 836 0 0.0
.text 561848 561856 8 0.0
telink all-clusters-app tlsr9518adk80d (read/write) 937348 937348 0 0.0
bss 81632 81632 0 0.0
noinit 43440 43440 0 0.0
text 648766 648766 0 0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 875156 875156 0 0.0
bss 80856 80856 0 0.0
noinit 43440 43440 0 0.0
text 612606 612606 0 0.0
light-switch-app tlsr9518adk80d (read/write) 790820 790820 0 0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 554264 554266 2 0.0
lighting-app tlsr9518adk80d (read/write) 875044 875052 8 0.0
bss 82248 82248 0 0.0
noinit 43520 43520 0 0.0
text 624252 624256 4 0.0
ota-requestor-app tlsr9518adk80d (read/write) 804952 804952 0 0.0
bss 74052 74052 0 0.0
noinit 43520 43520 0 0.0
text 565284 565286 2 0.0

@andy31415 andy31415 force-pushed the modernize_control_and_string branch from 9f87add to c30cb7a Compare November 3, 2022 16:14
@github-actions
Copy link

github-actions bot commented Nov 3, 2022

PR #23445: Size comparison from 706e9bb to 046638a

Increases (10 builds for bl602, bl702, cc13x2_26x2, esp32, qpg, telink)
platform target config section 706e9bb 046638a change % change
bl602 lighting-app bl602 (read/write) 1390790 1390798 8 0.0
.text 1070024 1070028 4 0.0
bl602+rpc .text 1101630 1101632 2 0.0
bl702 lighting-app bl702 .debug_info 38070212 38070213 1 0.0
.text 957998 958000 2 0.0
bl702+rpc .debug_info 41986319 41986320 1 0.0
.text 1031704 1031706 2 0.0
cc13x2_26x2 all-clusters-minimal-app LP_CC2652R7 (read only) 642355 642363 8 0.0
.text 562952 562960 8 0.0
esp32 all-clusters-app m5stack (read/write) 564348 564356 8 0.0
.flash.rodata 315048 315056 8 0.0
qpg lock-app qpg6105+debug (read/write) 1114752 1114760 8 0.0
.text 561848 561856 8 0.0
telink all-clusters-minimal-app tlsr9518adk80d text 612606 612608 2 0.0
light-switch-app tlsr9518adk80d text 554264 554266 2 0.0
lighting-app tlsr9518adk80d (read/write) 875044 875052 8 0.0
text 624252 624254 2 0.0
Decreases (10 builds for bl702, esp32, linux, nrfconnect, psoc6, telink)
platform target config section 706e9bb 046638a change % change
bl702 lighting-app bl702 .debug_line 5263909 5263899 -10 -0.0
bl702+rpc .debug_line 5639643 5639633 -10 -0.0
esp32 all-clusters-app c3devkit (read/write) 1788542 1788534 -8 -0.0
.flash.rodata 258096 258088 -8 -0.0
linux chip-tool-ipv6only arm64 (read only) 10436348 10436332 -16 -0.0
.text 8262292 8262276 -16 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 816996 816992 -4 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 27006268 27006264 -4 -0.0
.debug_line 3680081 3680076 -5 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_info 26742900 26742895 -5 -0.0
.debug_line 3701057 3701052 -5 -0.0
light cy8ckit_062s2_43012 .debug_info 22204252 22204246 -6 -0.0
.debug_line 3270315 3270310 -5 -0.0
lock cy8ckit_062s2_43012 .debug_info 22437627 22437623 -4 -0.0
.debug_line 3267213 3267208 -5 -0.0
telink ota-requestor-app tlsr9518adk80d text 565286 565284 -2 -0.0
Full report (40 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 706e9bb 046638a change % change
bl602 lighting-app bl602 (read/write) 1390790 1390798 8 0.0
.bss 90745 90745 0 0.0
.data 9936 9936 0 0.0
.text 1070024 1070028 4 0.0
bl602+rpc (read/write) 1436254 1436254 0 0.0
.bss 98177 98177 0 0.0
.data 10320 10320 0 0.0
.text 1101630 1101632 2 0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1189595 1189595 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67134 67134 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4280 4280 0 0.0
.debug_abbrev 1513310 1513310 0 0.0
.debug_aranges 132072 132072 0 0.0
.debug_frame 484468 484468 0 0.0
.debug_info 38070212 38070213 1 0.0
.debug_line 5263909 5263899 -10 -0.0
.debug_loc 3366772 3366772 0 0.0
.debug_ranges 358128 358128 0 0.0
.debug_str 3451743 3451743 0 0.0
.hbn 509 509 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 116680 116680 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 566021 566021 0 0.0
.symtab 172000 172000 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957998 958000 2 0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1285539 1285539 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75166 75166 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4816 4816 0 0.0
.debug_abbrev 1650724 1650724 0 0.0
.debug_aranges 139576 139576 0 0.0
.debug_frame 509840 509840 0 0.0
.debug_info 41986319 41986320 1 0.0
.debug_line 5639643 5639633 -10 -0.0
.debug_loc 3559599 3559599 0 0.0
.debug_ranges 380928 380928 0 0.0
.debug_str 3847871 3847871 0 0.0
.hbn 509 509 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 130088 130088 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 625194 625194 0 0.0
.symtab 189808 189808 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1031704 1031706 2 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 678115 678115 0 0.0
(read/write) 173444 173444 0 0.0
.bss 81252 81252 0 0.0
.data 3380 3380 0 0.0
.rodata 89947 89947 0 0.0
.text 587856 587856 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 642355 642363 8 0.0
(read/write) 158020 158020 0 0.0
.bss 80524 80524 0 0.0
.data 3380 3380 0 0.0
.rodata 79083 79083 0 0.0
.text 562952 562960 8 0.0
lock-ftd LP_CC2652R7 (read only) 676599 676599 0 0.0
(read/write) 172096 172096 0 0.0
.bss 78476 78476 0 0.0
.data 3304 3304 0 0.0
.rodata 77471 77471 0 0.0
.text 598648 598648 0 0.0
lock-mtd LP_CC2652R7 (read only) 660387 660387 0 0.0
(read/write) 183996 183996 0 0.0
.bss 74164 74164 0 0.0
.data 3304 3304 0 0.0
.rodata 103323 103323 0 0.0
.text 556584 556584 0 0.0
pump-app LP_CC2652R7 (read only) 688855 688855 0 0.0
(read/write) 160576 160576 0 0.0
.bss 78444 78444 0 0.0
.data 3296 3296 0 0.0
.rodata 90919 90919 0 0.0
.text 597452 597452 0 0.0
pump-controller-app LP_CC2652R7 (read only) 673131 673131 0 0.0
(read/write) 176396 176396 0 0.0
.bss 78540 78540 0 0.0
.data 3292 3292 0 0.0
.rodata 86467 86467 0 0.0
.text 586184 586184 0 0.0
shell LP_CC2652R7 (read only) 669150 669150 0 0.0
(read/write) 184728 184728 0 0.0
.bss 83572 83572 0 0.0
.data 3376 3376 0 0.0
.rodata 86654 86654 0 0.0
.text 582180 582180 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588542 588542 0 0.0
.app_xip_area 465128 465128 0 0.0
.bss 65832 65832 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 592590 592590 0 0.0
.app_xip_area 463880 463880 0 0.0
.bss 71120 71120 0 0.0
.data 768 768 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544482 544482 0 0.0
.app_xip_area 426148 426148 0 0.0
.bss 60800 60800 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 974732 974732 0 0.0
.bss 152276 152276 0 0.0
.data 2248 2248 0 0.0
.text 820188 820188 0 0.0
BRD4161A+rs911x (read/write) 1034912 1034912 0 0.0
.bss 186744 186744 0 0.0
.data 2092 2092 0 0.0
.text 846052 846052 0 0.0
BRD4187C (read/write) 1146720 1146720 0 0.0
.bss 138664 138664 0 0.0
.data 2596 2596 0 0.0
.text 980864 980864 0 0.0
lock-app BRD4161A+wf200 (read/write) 1160632 1160632 0 0.0
.bss 158272 158272 0 0.0
.data 2100 2100 0 0.0
.text 1000236 1000236 0 0.0
window-app BRD4187C (read/write) 1139940 1139940 0 0.0
.bss 140080 140080 0 0.0
.data 2620 2620 0 0.0
.text 972644 972644 0 0.0
esp32 all-clusters-app c3devkit (read only) 1224214 1224214 0 0.0
(read/write) 1788542 1788534 -8 -0.0
.dram0.bss 76960 76960 0 0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 258096 258088 -8 -0.0
.flash.text 1224214 1224214 0 0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1233963 1233963 0 0.0
(read/write) 564348 564356 8 0.0
.dram0.bss 82336 82336 0 0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 315048 315056 8 0.0
.flash.text 1228579 1228579 0 0.0
.iram0.text 123939 123939 0 0.0
k32w contact k32w0+release (read/write) 661676 661676 0 0.0
.bss 77040 77040 0 0.0
.data 2104 2104 0 0.0
.text 563420 563420 0 0.0
light k32w0+release (read/write) 672008 672008 0 0.0
.bss 74840 74840 0 0.0
.data 2060 2060 0 0.0
.text 592380 592380 0 0.0
lock k32w0+release (read/write) 633484 633484 0 0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 553076 553076 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10436348 10436332 -16 -0.0
(read/write) 706465 706465 0 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650720 650720 0 0.0
.dynamic 560 560 0 0.0
.got 13928 13928 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518220 518220 0 0.0
.text 8262292 8262276 -16 -0.0
thermostat-no-ble arm64 (read only) 2392860 2392860 0 0.0
(read/write) 143665 143665 0 0.0
.bss 55377 55377 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77280 77280 0 0.0
.dynamic 560 560 0 0.0
.got 5184 5184 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144548 144548 0 0.0
.text 2005312 2005312 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452768 2452768 0 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1415412 1415412 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1188191 1188191 0 0.0
bss 145301 145301 0 0.0
rodata 144836 144836 0 0.0
text 816996 816992 -4 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167475 1167475 0 0.0
bss 144528 144528 0 0.0
rodata 136576 136576 0 0.0
text 805334 805334 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841952 841952 0 0.0
(read/write) 1746196 1746196 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188728 188728 0 0.0
.comment 204 204 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 2664 2664 0 0.0
.debug_abbrev 1234911 1234911 0 0.0
.debug_aranges 110744 110744 0 0.0
.debug_frame 371236 371236 0 0.0
.debug_info 27006268 27006264 -4 -0.0
.debug_line 3680081 3680076 -5 -0.0
.debug_loc 3589721 3589721 0 0.0
.debug_ranges 338104 338104 0 0.0
.debug_str 3435501 3435501 0 0.0
.heap 841952 841952 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 570527 570527 0 0.0
.symtab 421792 421792 0 0.0
.text 1546416 1546416 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842688 842688 0 0.0
(read/write) 1688804 1688804 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187992 187992 0 0.0
.comment 204 204 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 2664 2664 0 0.0
.debug_abbrev 1226754 1226754 0 0.0
.debug_aranges 110216 110216 0 0.0
.debug_frame 374316 374316 0 0.0
.debug_info 26742900 26742895 -5 -0.0
.debug_line 3701057 3701052 -5 -0.0
.debug_loc 3577358 3577358 0 0.0
.debug_ranges 336720 336720 0 0.0
.debug_str 3424530 3424530 0 0.0
.heap 842688 842688 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 534616 534616 0 0.0
.symtab 408224 408224 0 0.0
.text 1489760 1489760 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850872 850872 0 0.0
(read/write) 1607260 1607260 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180016 180016 0 0.0
.comment 204 204 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 2456 2456 0 0.0
.debug_abbrev 1061215 1061215 0 0.0
.debug_aranges 102416 102416 0 0.0
.debug_frame 344632 344632 0 0.0
.debug_info 22204252 22204246 -6 -0.0
.debug_line 3270315 3270310 -5 -0.0
.debug_loc 3275084 3275084 0 0.0
.debug_ranges 302016 302016 0 0.0
.debug_str 3229957 3229957 0 0.0
.heap 850872 850872 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 470941 470941 0 0.0
.symtab 376608 376608 0 0.0
.text 1416400 1416400 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845880 845880 0 0.0
(read/write) 1641036 1641036 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184992 184992 0 0.0
.comment 204 204 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 1063190 1063190 0 0.0
.debug_aranges 102816 102816 0 0.0
.debug_frame 346504 346504 0 0.0
.debug_info 22437627 22437623 -4 -0.0
.debug_line 3267213 3267208 -5 -0.0
.debug_loc 3302678 3302678 0 0.0
.debug_ranges 303960 303960 0 0.0
.debug_str 3249428 3249428 0 0.0
.heap 845880 845880 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 473344 473344 0 0.0
.symtab 378288 378288 0 0.0
.text 1445184 1445184 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1149968 1149968 0 0.0
.bss 110612 110612 0 0.0
.data 848 848 0 0.0
.text 597068 597068 0 0.0
lock-app qpg6105+debug (read/write) 1114752 1114760 8 0.0
.bss 106388 106388 0 0.0
.data 836 836 0 0.0
.text 561848 561856 8 0.0
telink all-clusters-app tlsr9518adk80d (read/write) 937348 937348 0 0.0
bss 81632 81632 0 0.0
noinit 43440 43440 0 0.0
text 648768 648768 0 0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 875156 875156 0 0.0
bss 80856 80856 0 0.0
noinit 43440 43440 0 0.0
text 612606 612608 2 0.0
light-switch-app tlsr9518adk80d (read/write) 790820 790820 0 0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 554264 554266 2 0.0
lighting-app tlsr9518adk80d (read/write) 875044 875052 8 0.0
bss 82248 82248 0 0.0
noinit 43520 43520 0 0.0
text 624252 624254 2 0.0
ota-requestor-app tlsr9518adk80d (read/write) 804952 804952 0 0.0
bss 74052 74052 0 0.0
noinit 43520 43520 0 0.0
text 565286 565284 -2 -0.0

@andy31415 andy31415 merged commit 1145bac into project-chip:master Nov 3, 2022
adbridge pushed a commit to ARM-software/connectedhomeip that referenced this pull request Nov 18, 2022
* Apply readability-redundant-control-flow,readability-redundant-string-init,readability-redundant-string-cstr on linux-x64-tests-clang

* Apply readability-redundant-control-flow,readability-redundant-string-init,readability-redundant-string-cstr on linux-x64-all-clusters-clang

* Apply readability-redundant-control-flow,readability-redundant-string-init,readability-redundant-string-cstr on linux-x64-chip-tool-clang

* Apply modernize-use-bool-literals

* apply performance-for-range-copy

* apply readability-const-return-type

* Fix compile

* Fix compile

* Added clang tidy checks as default and re-sorted the list

* Fix 2 more items found by clang-tidy during CI

* Mass-replace while(1) with while(true)
adbridge pushed a commit to ARM-software/connectedhomeip that referenced this pull request Nov 18, 2022
* Apply readability-redundant-control-flow,readability-redundant-string-init,readability-redundant-string-cstr on linux-x64-tests-clang

* Apply readability-redundant-control-flow,readability-redundant-string-init,readability-redundant-string-cstr on linux-x64-all-clusters-clang

* Apply readability-redundant-control-flow,readability-redundant-string-init,readability-redundant-string-cstr on linux-x64-chip-tool-clang

* Apply modernize-use-bool-literals

* apply performance-for-range-copy

* apply readability-const-return-type

* Fix compile

* Fix compile

* Added clang tidy checks as default and re-sorted the list

* Fix 2 more items found by clang-tidy during CI

* Mass-replace while(1) with while(true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants