This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]