Re: addr2line seems to be off by one

2016-07-18 Thread Albert Netymk
Yes, you are right. Reported to clang: https://llvm.org/bugs/show_bug.cgi?id=28596 Thank you very much. On Mon, Jul 18, 2016 at 3:40 AM, Alan Modra wrote: > On Sat, Jul 16, 2016 at 09:06:10PM +0200, Albert Netymk wrote: >> == addr.c >> >> ``` >> #include >> &

addr2line seems to be off by one

2016-07-16 Thread Albert Netymk
NV clang: clang version 3.8.1-svn271230-1~exp1 (branches/release_38) addr2line: GNU addr2line (GNU Binutils for Ubuntu) 2.24 -- Best Regards Yours faithfully Albert Netymk ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils

Re: Wrong source when using `-S` in objdump

2016-05-03 Thread Albert Netymk
source lines after the negative advance of > line number that don't actually corresponded to code at those > locations. In this case > sum += arr[i]; > We can't do much about that.. I see. Anyway, thank you very much for the work and explanation. -- Best Regards Yo

Wrong source when using `-S` in objdump

2016-04-08 Thread Albert Netymk
ersion 3.6.2-svn240577-1~exp1 (branches/release_36) (based on LLVM 3.6.2) Target: x86_64-pc-linux-gnu Thread model: posix objdump: GNU objdump (GNU Binutils for Ubuntu) 2.24 -- Best Regards Yours faithfully Albert Netymk ___ bug-binutils mailing list bug-binu