Index: llvm/include/llvm/Support/ScopedPrinter.h =================================================================== --- llvm/include/llvm/Support/ScopedPrinter.h +++ llvm/include/llvm/Support/ScopedPrinter.h @@ -198,6 +198,10 @@ printFlagsImpl(Label, hex(Value), SetFlags); } + virtual void printNumber(StringRef Label, size_t Value) { + startLine() << Label << ": " << Value << "\n"; + } + virtual void printNumber(StringRef Label, uint64_t Value) { startLine() << Label << ": " << Value << "\n"; }