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

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 11 04:32:31 PDT 2016


grimar added inline comments.


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


https://reviews.llvm.org/D25279





More information about the llvm-commits mailing list