forked from OSchip/llvm-project
Escape % in printf format string.
Fixes branch-relax-block-size.mir on the ASan builder. llvm-svn: 369138
This commit is contained in:
parent
b1cb9fd1aa
commit
187c63f145
|
@ -143,7 +143,7 @@ void BranchRelaxation::verify() {
|
||||||
LLVM_DUMP_METHOD void BranchRelaxation::dumpBBs() {
|
LLVM_DUMP_METHOD void BranchRelaxation::dumpBBs() {
|
||||||
for (auto &MBB : *MF) {
|
for (auto &MBB : *MF) {
|
||||||
const BasicBlockInfo &BBI = BlockInfo[MBB.getNumber()];
|
const BasicBlockInfo &BBI = BlockInfo[MBB.getNumber()];
|
||||||
dbgs() << format("%bb.%u\toffset=%08x\t", MBB.getNumber(), BBI.Offset)
|
dbgs() << format("%%bb.%u\toffset=%08x\t", MBB.getNumber(), BBI.Offset)
|
||||||
<< format("size=%#x\n", BBI.Size);
|
<< format("size=%#x\n", BBI.Size);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue