llvm-dwarfdump: Make the "is debug info section" heuristic stricter so it doesn't...
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 14 Sep 2011 17:28:13 +0000 (17:28 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 14 Sep 2011 17:28:13 +0000 (17:28 +0000)
commit1c0b24f91a5a6f3aeca483e753e7fd27357ecb71
tree94d9db7df1d9529cdc374a03f80aa2467dd9fb98
parent0b7b6a08567bc9338b84011fdaca9218b313c371
llvm-dwarfdump: Make the "is debug info section" heuristic stricter so it doesn't accidentaly picks up the wrong section.

Also add some validation code to the aranges section parser.

Fixes PR10926.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139701 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/DWARFDebugArangeSet.cpp
tools/llvm-dwarfdump/llvm-dwarfdump.cpp