To avoid some linking errors
Daniel Murphy
yebblies at nospamgmail.com
Mon Oct 29 21:51:24 PDT 2012
"Walter Bright" <newshound2 at digitalmars.com> wrote in message
news:k6mun3$a8h$1 at digitalmars.com...
>
> 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.
More information about the Digitalmars-d
mailing list