On 10/29/2012 9:51 PM, Daniel Murphy wrote:> "Walter Bright" <[email protected]> wrote in message
> news:[email protected]...
>>
>> The object file format does not support line numbers for symbol references
>> and definitions. None of the 4 supported ones (OMF, ELF, Mach-O, MsCoff)
>> have that. Even the symbolic debug info doesn't have line numbers for
>> references, just for definitions.
>
> While this is true, you could scan the relocations for matching symbols,
> then use the debug information to get line numbers.  This would work for all
> function calls at least.


If the symbol is undefined, then there is no debug info for it.

Reply via email to