Fix dumping codeview line tables when there are multiple debug sections
authorTimur Iskhodzhanov <timurrrr@google.com>
Mon, 6 Oct 2014 16:59:44 +0000 (16:59 +0000)
committerTimur Iskhodzhanov <timurrrr@google.com>
Mon, 6 Oct 2014 16:59:44 +0000 (16:59 +0000)
commit3e3908e2c743d9346e9326fd2f9c5bc81e12e210
tree4b8e707c6f3c5b4338919cebcfc3e567b8bfb02d
parent8ea5b7120f539067383c02cf47777c81f664508f
Fix dumping codeview line tables when there are multiple debug sections

Codeview line tables for functions in different sections refer to a common
STRING_TABLE_SUBSECTION for filenames.
This happens when building with -Gy or with inline functions with MSVC.

Original patch by Jeff Muizelaar!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219125 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-readobj/Inputs/comdat-function-linetables.obj.coff-2013-i386 [new file with mode: 0755]
test/tools/llvm-readobj/codeview-linetables.test
tools/llvm-readobj/COFFDumper.cpp