[DWARF v5] Verifier: Add checks for DW_FORM_strx* forms.
authorWolfgang Pieb <Wolfgang.Pieb@sony.com>
Sat, 3 Nov 2018 00:27:35 +0000 (00:27 +0000)
committerWolfgang Pieb <Wolfgang.Pieb@sony.com>
Sat, 3 Nov 2018 00:27:35 +0000 (00:27 +0000)
commit5253cccbd5fbc6db3d3bf278c40302f9f222c6e7
treec6a71215fda17b4778d65ab76264e4e816f306e9
parent75c16d8180689fc5657ba273ce00ab4131239615
[DWARF v5] Verifier: Add checks for DW_FORM_strx* forms.

Adding functionality to the DWARF verifier for DWARF v5 strx* forms which
index into the string offsets table.

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

llvm-svn: 346061
llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
llvm/test/DebugInfo/X86/dwarfdump-str-offsets.s
llvm/test/tools/llvm-dwarfdump/X86/verify_debug_info.s
llvm/test/tools/llvm-dwarfdump/X86/verify_strings.s [new file with mode: 0644]