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)
commit8df55b43e1a5f7acc9815b689940c6ac0de251ca
tree4f60ca346642de95eeb7dd3dabcbc1a28a88b43a
parenta271c54324bf882ef1e7d6a16987563fc6e5a2f3
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

llvm-svn: 302039
llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp