[PATCH] D82886: [DebugInfo] Fix a possible crash when reading a malformed .debug_*lists section.

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 1 10:48:47 PDT 2020


dblaikie added a comment.

Is this assertion really valuable? "length()" does the same addition that is done to create the value that length() is being compared to - it's pretty trivial? Perhaps "FullLength" should be initialized with a call to length instead of duplicating that addition?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82886/new/

https://reviews.llvm.org/D82886





More information about the llvm-commits mailing list