File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -1149,8 +1149,8 @@ void TypeMerger::mergeTypesWithGHash() {
1149
1149
" midpoint is not midpoint" );
1150
1150
uint32_t numTypes = std::distance (entries.begin (), mid);
1151
1151
uint32_t numItems = std::distance (mid, entries.end ());
1152
- Log (ctx) << " Tpi record count: " << Twine ( numTypes) ;
1153
- Log (ctx) << " Ipi record count: " << Twine ( numItems) ;
1152
+ Log (ctx) << " Tpi record count: " << numTypes;
1153
+ Log (ctx) << " Ipi record count: " << numItems;
1154
1154
1155
1155
// Make a list of the "unique" type records to merge for each tpi source. Type
1156
1156
// merging will skip indices not on this list. Store the destination PDB type
Original file line number Diff line number Diff line change @@ -676,9 +676,8 @@ void Writer::finalizeAddresses() {
676
676
}
677
677
if (rangesOk) {
678
678
if (pass > 0 )
679
- Log (ctx) << " Added " << Twine (numChunks - origNumChunks)
680
- << " thunks with " << " margin " << Twine (margin) << " in "
681
- << Twine (pass) << " passes" ;
679
+ Log (ctx) << " Added " << (numChunks - origNumChunks) << " thunks with "
680
+ << " margin " << margin << " in " << pass << " passes" ;
682
681
return ;
683
682
}
684
683
@@ -2245,8 +2244,7 @@ void Writer::createRuntimePseudoRelocs() {
2245
2244
}
2246
2245
2247
2246
if (!rels.empty ()) {
2248
- Log (ctx) << " Writing " << Twine (rels.size ())
2249
- << " runtime pseudo relocations" ;
2247
+ Log (ctx) << " Writing " << rels.size () << " runtime pseudo relocations" ;
2250
2248
const char *symbolName = " _pei386_runtime_relocator" ;
2251
2249
Symbol *relocator = ctx.symtab .findUnderscore (symbolName);
2252
2250
if (!relocator)
@@ -2523,7 +2521,7 @@ void Writer::sortCRTSectionChunks(std::vector<Chunk *> &chunks) {
2523
2521
for (auto &c : chunks) {
2524
2522
auto sc = dyn_cast<SectionChunk>(c);
2525
2523
Log (ctx) << " " << sc->file ->mb .getBufferIdentifier ().str ()
2526
- << " , SectionID: " << Twine ( sc->getSectionNumber () );
2524
+ << " , SectionID: " << sc->getSectionNumber ();
2527
2525
}
2528
2526
}
2529
2527
}
You can’t perform that action at this time.
0 commit comments