llvm.org GIT mirror llvm / af31f9f
Fixes r142984, r143120 and r143191 for PPC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_30@143447 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 7 years ago
2 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
191191 strcpy(SymbolSizeStr, " ");
192192
193193 if (i->Address != object::UnknownAddressOrSize)
194 format("%08x", i->Address).print(SymbolAddrStr, sizeof(SymbolAddrStr));
194 format("%08"PRIx64, i->Address).print(SymbolAddrStr, sizeof(SymbolAddrStr));
195195 if (i->Size != object::UnknownAddressOrSize)
196 format("%08x", i->Size).print(SymbolSizeStr, sizeof(SymbolSizeStr));
196 format("%08"PRIx64, i->Size).print(SymbolSizeStr, sizeof(SymbolSizeStr));
197197
198198 if (OutputFormat == posix) {
199199 outs() << i->Name << " " << i->TypeChar << " "
284284
285285 if (DisAsm->getInstruction(Inst, Size, memoryObject, Index,
286286 DebugOut, nulls())) {
287 outs() << format("%8x:\t", SectionAddr + Index);
287 outs() << format("%8"PRIx64":\t", SectionAddr + Index);
288288 DumpBytes(StringRef(Bytes.data() + Index, Size));
289289 IP->printInst(&Inst, outs(), "");
290290 outs() << "\n";
305305 if (error(rel_cur->getTypeName(name))) goto skip_print_rel;
306306 if (error(rel_cur->getValueString(val))) goto skip_print_rel;
307307
308 outs() << format("\t\t\t%8x: ", SectionAddr + addr) << name << "\t"
308 outs() << format("\t\t\t%8"PRIx64": ", SectionAddr + addr) << name << "\t"
309309 << val << "\n";
310310
311311 skip_print_rel: