Mercurial > hg > CbC > CbC_llvm
diff include/llvm/Support/ScopedPrinter.h @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 1172e4bd9c6f |
children | 3a76565eade5 |
line wrap: on
line diff
--- a/include/llvm/Support/ScopedPrinter.h Fri Nov 25 19:14:25 2016 +0900 +++ b/include/llvm/Support/ScopedPrinter.h Fri Oct 27 17:07:41 2017 +0900 @@ -295,6 +295,11 @@ printBinaryImpl(Label, StringRef(), V, false); } + void printBinaryBlock(StringRef Label, ArrayRef<uint8_t> Value, + uint32_t StartOffset) { + printBinaryImpl(Label, StringRef(), Value, true, StartOffset); + } + void printBinaryBlock(StringRef Label, ArrayRef<uint8_t> Value) { printBinaryImpl(Label, StringRef(), Value, true); } @@ -333,7 +338,7 @@ } void printBinaryImpl(StringRef Label, StringRef Str, ArrayRef<uint8_t> Value, - bool Block); + bool Block, uint32_t StartOffset = 0); raw_ostream &OS; int IndentLevel;