Currently LLD is unable to report line number when reporting duplicate
declaration of some variable.
That happens because for extracting line information we always use .debug_line section
content which describes mapping from machine instructions to source file locations,
what does not help for variables as does not describe them.
In this patch I am taking the approproate information about data symbol locations
from the .debug_info section.
It is PR34826.