<div dir="ltr"><div><div>Index: lib/DebugInfo/DWARF/DWARFContext.cpp</div><div>===================================================================</div><div>--- lib/DebugInfo/DWARF/DWARFContext.cpp<span class="gmail-Apple-tab-span" style="white-space:pre">  </span>(revision 298436)</div><div>+++ lib/DebugInfo/DWARF/DWARFContext.cpp<span class="gmail-Apple-tab-span" style="white-space:pre">      </span>(working copy)</div><div>@@ -797,7 +797,7 @@</div><div>         }</div><div> </div><div>         if (Address + R.Width > SectionSize) {</div><div>-          errs() << "error: " << R.Width << "-byte relocation starting "</div><div>+          errs() << "error: " << format("%d", R.Width) << "-byte relocation starting "</div><div>                  << Address << " bytes into section " << name << " which is "</div><div>                  << SectionSize << " bytes long.\n";</div><div>           continue;</div><div><br></div></div><div><br></div><div><br></div><div>otherwise you can get something like this printed, because R.Width is of type `char`:</div><div><br></div><div><div>error:  -byte relocation starting 179 bytes into section rela.debug_info which is 177 bytes long.</div></div><div><br></div></div>