]> granicus.if.org Git - llvm/commit
Verify that no compile units share the same line table in "llvm-dwarfdump --verify"
authorGreg Clayton <gclayton@apple.com>
Wed, 3 May 2017 15:45:31 +0000 (15:45 +0000)
committerGreg Clayton <gclayton@apple.com>
Wed, 3 May 2017 15:45:31 +0000 (15:45 +0000)
commit8364badbd91f99ee3c654aac2cc486c26b787382
tree4d5b2f2ac0f60fa080a1f28d81f28cb012783a2a
parentdad8f545ae95421fac622180c2dea072853c7df8
Verify that no compile units share the same line table in "llvm-dwarfdump --verify"

Check to make sure no compile units have the same DW_AT_stmt_list values. Report a verification error if they do.

Differential Revision: https://reviews.llvm.org/D32771

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302039 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/DWARF/DWARFContext.cpp
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp