Unfortunately SourceFile/LineNo debug info is not
a part of ELF binary format specification. Some
of the ELF sections may contain this
information, but you need a debug info reader
that understand DWARF, COFF or other debug
info format that your compiler generates.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
SourceFile/LineNo debug info would be really useful.
Unfortunately SourceFile/LineNo debug info is not
a part of ELF binary format specification. Some
of the ELF sections may contain this
information, but you need a debug info reader
that understand DWARF, COFF or other debug
info format that your compiler generates.