commit | 2bcc979a657e2901c950982e05b54a9c5e3fcd15 | [log] [tgz] |
---|---|---|
author | Jason Molenda <jason@molenda.com> | Fri Jan 22 16:11:47 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Sun Jan 24 20:50:04 2021 -0800 |
tree | d61d547cdb1949b2d6c4e5be30ae29d646f1b781 | |
parent | a6ff704f0665ea32fde132cc331708fd0a655fa1 [diff] |
Change static buffer to be BSS instead of DATA in HandlePacket_qSpeedTest Having this 4MB buffer with a compile-time initialized string forced it into the DATA section and it took up 4MB of space in the binary, which accounts for like 80% of debugserver's footprint on disk. Change it to BSS and strcpy in the initial value at runtime instead. <rdar://problem/73503892> GitOrigin-RevId: ad25bdcb8e4e9459886062d3855a5971af758731