[PATCH] D42481: [DebugInfo] Add basic support for DWARF 5 .debug_rnglists dumping

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 24 11:57:24 PST 2018


dblaikie added a comment.

I'm guessing several of these invalid tests could be in one file - only the "length too long" should need to be last in the list, right? ("length too short" is undetectable, isn't it? it'd just appear as though the remaining bytes outside the length were the next entry and that entry would be incorrect in some way (its length, version, etc))

Also, it might be that we want more fidelity in the dumping, so that we can test the differences in encoding between start+length, start+end, offset+offset, etc?

More or less like I was dabbling with for loc lists here: https://reviews.llvm.org/D36300 you can see how different loc list ranges are dumped differently, explaining how the loc list is structured not just what it means semantically.


Repository:
  rL LLVM

https://reviews.llvm.org/D42481





More information about the llvm-commits mailing list