Designs for better debug info in GCC

Alexandre Oliva aoliva@redhat.com
Fri Dec 21 02:11:00 GMT 2007


On Dec 20, 2007, Ian Lance Taylor <iant@google.com> wrote:

> Right, which will significantly increase debugging size as you add two
> more notes around many lines.

If that's the price to avoid debug information consumers getting
incorrect values...

Would you argue for a position such as:

  we can't go on expanding C++ templates for every conceivable type
  users instatiate them, this would make applications too large.
  let's try to figure out some way to reuse template expansions, even
  if some programs break, because it's more important to keep programs
  small than to enable them to behave correctly

?

Why would code, essential for debug information consumers that are
part of larger systems to work correctly, deserve any less attention
to correctness?

-- 
Alexandre Oliva         http://www.lsd.ic.unicamp.br/~oliva/
FSF Latin America Board Member         http://www.fsfla.org/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}



More information about the Gcc mailing list