addr2line ends up off by 1 line numbers when -O0 is used

Ángel González keisial@gmail.com
Thu Mar 17 23:15:00 GMT 2016


Can you provide a minimal program that calls backrace() saving it into a 
file, that then -depending on the optimization level- produces the wrong 
output when addr2lines is called?

Also, I think you forgot to mention your architecture.

Best regards







More information about the Gcc-help mailing list