[PATCH] D25279: [ELF] - Do not crash on large output.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 7 14:18:09 PDT 2016


ruiu added inline comments.


================
Comment at: ELF/Writer.cpp:1165
 
+template <class T> class CheckedType {
+  T Val;
----------------
This is I think just too much. We shouldn't introduce this integer-ish class just to check for overflow.


https://reviews.llvm.org/D25279





More information about the llvm-commits mailing list