| commit | 144e4c5a32007bb2fe7b18930dcc4d806ef4f92f | [log] [tgz] |
|---|---|---|
| author | George Rimar <grimar@accesssoftek.com> | Fri Oct 27 10:42:04 2017 +0000 |
| committer | George Rimar <grimar@accesssoftek.com> | Fri Oct 27 10:42:04 2017 +0000 |
| tree | 8b87dd498dd0b4639bcfd9fc4c3dd7f2f74c57ee | |
| parent | 7f92294e9b6a00784d75587800f409af23072983 [diff] |
[llvm-dwarfdump] - Teach verifier to report broken DWARF expressions. Patch improves next things: * Fixes assert/crash in getOpDesc when giving it a invalid expression op code. * DWARFExpression::print() called DWARFExpression::Operation::getEndOffset() which returned and used uninitialized field EndOffset. Patch fixes that. * Teaches verifier to verify DW_AT_location and error out on broken expressions. Differential revision: https://reviews.llvm.org/D39294 llvm-svn: 316756