[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/22789] New: addr2line can't determine function names in mi
From: |
address@hidden |
Subject: |
[Bug binutils/22789] New: addr2line can't determine function names in mips binaries compiled with -gline-tables-only |
Date: |
Mon, 05 Feb 2018 13:08:22 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22789
Bug ID: 22789
Summary: addr2line can't determine function names in mips
binaries compiled with -gline-tables-only
Product: binutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: address@hidden
Target Milestone: ---
Created attachment 10785
--> https://sourceware.org/bugzilla/attachment.cgi?id=10785&action=edit
Example files
In the attachment are simple binaries compiled on mips64el. The 3 examples are
compiledusing llvm with -g, -gline-tables-only and without additional flags.
When addr2line is used to fetch function names it only fails on the file
compiled with -gline-tables-only:
$ addr2line 120000a40 -f -e simple_test
main
??:?
$ addr2line 120000a40 -f -e simple_g_test
main
/home/compiler-qa/llvm/simple_gline_test.c:2
$ addr2line 120000a40 -f -e simple_gline_test
??
/home/compiler-qa/llvm/simple_gline_test.c:2
The llvm-symbolizer doesn't have the same issue:
$ echo simple_test 0x120000a40 | llvm-symbolizer
main
??:0:0
$ echo simple_g_test 0x120000a40 | llvm-symbolizer
main
/home/compiler-qa/llvm/simple_gline_test.c:2:0
$ echo simple_gline_test 0x120000a40 | llvm-symbolizer
main
/home/compiler-qa/llvm/simple_gline_test.c:2:0
There is no difference with big-endian and mips32 binaries.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/22789] New: addr2line can't determine function names in mips binaries compiled with -gline-tables-only,
address@hidden <=