News for hackers. Stuff that matters.
Re:When Debug Symbols Get Large by zetafunction on Thursday March 09, 2023 @01:02PM (#35084409)
Templated code can lead to some really long symbol names. As a random tangent, I was trying to figure out why Chrome's stack symbolizer wasn't working for some stack frames this week… and came across this comment in the symbolizer.

  char demangled[256];  // Big enough for sane demangled symbols.
Turns out the longest symbol name in the Chrome binary is 32k characters long... and some of the tests have even longer ones (the longest one I found was 98k characters).
Re:When Debug Symbols Get Large by vintagedave on Thursday March 09, 2023 @01:52PM (#35085046)
Crikey. We (C++Builder) were looking at some Boost debugging issues a couple of years ago and realised some symbols were a couple of thousand characters long. I thought _that_ was bad!
Re:When Debug Symbols Get Large by terrelln on Thursday March 09, 2023 @04:29PM (#35086986)
I've seen a multi MB symbol coming from generated code