Fix PR36793.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 23 Mar 2018 00:35:27 +0000 (00:35 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 23 Mar 2018 00:35:27 +0000 (00:35 +0000)
commit3c3ebcc5f4c03b1ddb4aef74891545ae804a161b
tree7d8ba2005093195b3d0edb13289ee08e038ded29
parent932d45ce4d32e413916ed9200b5b57dca9ab9acc
Fix PR36793.

With this patch lld will iterate over compile units to find the line
tables instead of assuming there is only one at offset 0.

llvm-svn: 328284
lld/ELF/InputFiles.cpp
lld/ELF/InputFiles.h
lld/test/ELF/Inputs/multiple-cu.s [new file with mode: 0644]
lld/test/ELF/multiple-cu.s [new file with mode: 0644]