Improving GCC's line table information to help GDB

Maciej W. Rozycki macro@wdc.com
Wed Oct 16 14:12:00 GMT 2019


Hi Luis,

> Is there a better way to force the compiler to output such a line table 
> transition without having to resort to a dummy jump? Is there a safer 
> way to add such transitions without worrying about the optimizer getting 
> rid of them later on? Should we even worry about preserving such 
> information for higher optimization levels?

 Isn't it exactly what statement frontier notes have been invented for 
(and implemented) by Alexandre (cc-ed)?  Or am I confused and/or missing 
something here?

  Maciej



More information about the Gcc mailing list