[PATCH] D35444: [DWARF] Refactoring of code for the verification of .debug_info section.
Spyridoula Gravani via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 14 17:48:17 PDT 2017
sgravani created this revision.
This patch refactors the handleDebugInfo() function so that we verify the contents of each unit
in the .debug_info section only if its header has been successfully verified.
This refactoring will allow for more/different verification checks depending on the type of the unit since from
dwarf5, the .debug_info section may consist of different types of units.
https://reviews.llvm.org/D35444
Files:
include/llvm/DebugInfo/DWARF/DWARFVerifier.h
lib/DebugInfo/DWARF/DWARFContext.cpp
lib/DebugInfo/DWARF/DWARFVerifier.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35444.106740.patch
Type: text/x-patch
Size: 6609 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170715/89084bca/attachment.bin>
More information about the llvm-commits
mailing list