[LLD] add test for line number info related to differrent .text sections
authorAlexey Lapshin <a.v.lapshin@mail.ru>
Mon, 4 Mar 2019 10:42:54 +0000 (10:42 +0000)
committerAlexey Lapshin <a.v.lapshin@mail.ru>
Mon, 4 Mar 2019 10:42:54 +0000 (10:42 +0000)
commitded118079b629004e36af24b685f4c039ac46007
tree991698f9c0d7d20cbafd9ca50dd05827a139fc27
parent181afc7f3bb965cac3b911ef6c82519876a68e78
[LLD] add test for line number info related to differrent .text sections

   There is a bug for llvm-objdump which incorrectly reported line number
   info for object file if several .text sections presented.
   https://bugs.llvm.org/show_bug.cgi?id=40703 .
   This patch adds test for the same situation.

   Differential revision: https://reviews.llvm.org/D58357

llvm-svn: 355306
lld/test/ELF/debug-line-obj.s [new file with mode: 0644]