digitalmars.D.learn - Does anyone get line numbers in stack traces on Linux?
- Atila Neves (5/5) Jun 17 2015 I thought it was because I was weird and I use gold as my linker,
I thought it was because I was weird and I use gold as my linker, but ld.bfd produced the same results. The most I could find in bug reports was someone complaining it used to work but the consensus was that it never did? Atila
Jun 17 2015
druntime has never had support for file/line info in traces on Linux AFAIR gdb usually saves the day
Jun 17 2015
On Wednesday, 17 June 2015 at 07:53:16 UTC, Atila Neves wrote:I thought it was because I was weird and I use gold as my linker, but ld.bfd produced the same results. The most I could find in bug reports was someone complaining it used to work but the consensus was that it never did? Atilaaddr2line
Jun 17 2015
On Wednesday, 17 June 2015 at 11:07:29 UTC, weaselcat wrote:On Wednesday, 17 June 2015 at 07:53:16 UTC, Atila Neves wrote:BTW, I use the backtrace API from glibc to dump a stack trace that is filtered through addr2line and demangled.I thought it was because I was weird and I use gold as my linker, but ld.bfd produced the same results. The most I could find in bug reports was someone complaining it used to work but the consensus was that it never did? Atilaaddr2line
Jun 17 2015