lgtm, I can commit this. ================ Comment at: lib/MC/MCStreamer.cpp:518-519 @@ -517,2 +517,4 @@ EnsureValidW64UnwindInfo(); + if (Size == 0) + report_fatal_error("Allocation size must be non-zero!"); if (Size & 7) ---------------- MCStreamer needs a way to report errors.... :( http://reviews.llvm.org/D4334