[PATCH] D40200: [DWARF] Fix handling of extended line-number opcodes
Jonas Devlieghere via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 19 11:22:53 PST 2017
JDevlieghere added inline comments.
================
Comment at: llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp:528
+ if (*OffsetPtr - ExtOffset != Len) {
+ fprintf(stderr, "Unexpected length of extended opcode at offset "
+ "0x%8.8" PRIx32 "\n", ExtOffset);
----------------
Would it be useful to print the expected and actual length? Can you add a test for this?
https://reviews.llvm.org/D40200
More information about the llvm-commits
mailing list