File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
llvm/lib/DWARFLinker/Parallel Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -58,12 +58,11 @@ void TypeUnit::createDIETree(BumpPtrAllocator &Allocator) {
5858 uint64_t OutOffset = getDebugInfoHeaderSize ();
5959 UnitDIE->setOffset (OutOffset);
6060
61- SmallString< 200 > ProducerString;
62- ProducerString += " llvm DWARFLinkerParallel library version " ;
61+ const char * ProducerString =
62+ " llvm DWARFLinkerParallel library version " LLVM_VERSION_STRING ;
6363 DebugInfoSection.notePatchWithOffsetUpdate (
64- DebugStrPatch{
65- {OutOffset},
66- GlobalData.getStringPool ().insert (ProducerString.str ()).first },
64+ DebugStrPatch{{OutOffset},
65+ GlobalData.getStringPool ().insert (ProducerString).first },
6766 PatchesOffsets);
6867 OutOffset += DIETreeGenerator
6968 .addStringPlaceholderAttribute (dwarf::DW_AT_producer,
You can’t perform that action at this time.
0 commit comments