[PATCH] D43799: Don't allocate a header bellow address 0

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 19:12:47 PST 2018


ruiu added a comment.

If you can detect an underflow (or actually an overflow towards negative infinity), how hard is it to report it as an error, instead of not emitting a header without any message?


https://reviews.llvm.org/D43799





More information about the llvm-commits mailing list