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