bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/22434] New: addr2line inline resolving doesn't work with s


From: andi-bz at firstfloor dot org
Subject: [Bug binutils/22434] New: addr2line inline resolving doesn't work with split dwarf
Date: Mon, 13 Nov 2017 21:41:36 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22434

            Bug ID: 22434
           Summary: addr2line inline resolving doesn't work with split
                    dwarf
           Product: binutils
           Version: 2.29
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: andi-bz at firstfloor dot org
  Target Milestone: ---

$ cat tinline.c

int i;

static inline int finline(void)
{  
        i++;
}

main()
{  
        finline();
}

$ gcc -O2 -gsplit-dwarf tinline.c
$ addr2line -i -e a.out 0x4003b0
/home/ak/tsrc/tinline.c:6
$ gcc -O2  -g tinline.c
$ addr2line -i -e a.out 0x4003b0
/home/ak/tsrc/tinline.c:6
/home/ak/tsrc/tinline.c:12
$

Similar with objdump. Happens on mainline too.

This currently affects the Linux kernel.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]