[PATCH] D41615: [DebugInfo] Don't crash when given invalid DWARFv5 line table prologue.

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 28 12:19:52 PST 2017


JDevlieghere added a comment.

In https://reviews.llvm.org/D41615#964884, @probinson wrote:

> In a real object file it should never be zero.  There are a bunch of places in the unittests where I construct one with version and addrsize both zero; those would have to be fixed if we wanted to have a check somewhere other than for a form that actually cares about that stuff.


Alternatively we can keep this for a check in the verifier.


Repository:
  rL LLVM

https://reviews.llvm.org/D41615





More information about the llvm-commits mailing list