[llvm] r199711 - tools: use 64-bit print specifier
Saleem Abdulrasool
compnerd at compnerd.org
Mon Jan 20 20:31:29 PST 2014
Author: compnerd
Date: Mon Jan 20 22:31:29 2014
New Revision: 199711
URL: http://llvm.org/viewvc/llvm-project?rev=199711&view=rev
Log:
tools: use 64-bit print specifier
Try to repair the ARM Cortex-A15 buildbot by using a more appropriate conversion
specifier.
Modified:
llvm/trunk/tools/llvm-readobj/ARMEHABIPrinter.h
Modified: llvm/trunk/tools/llvm-readobj/ARMEHABIPrinter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/ARMEHABIPrinter.h?rev=199711&r1=199710&r2=199711&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/ARMEHABIPrinter.h (original)
+++ llvm/trunk/tools/llvm-readobj/ARMEHABIPrinter.h Mon Jan 20 22:31:29 2014
@@ -176,7 +176,7 @@ void OpcodeDecoder::Decode_10110010_uleb
for (unsigned BI = 0, BE = ULEB.size(); BI != BE; ++BI)
Value = Value | ((ULEB[BI] & 0x7f) << (7 * BI));
- OS << format("; vsp = vsp + %u\n", 0x204 + (Value << 2));
+ OS << format("; vsp = vsp + %" PRIu64 "\n", 0x204 + (Value << 2));
}
void OpcodeDecoder::Decode_10110011_sssscccc(const uint8_t *Opcodes,
unsigned &OI) {
More information about the llvm-commits
mailing list