@@ -235,7 +235,7 @@ void DWARFRewriter::updateDebugInfo() {
235
235
(void )AttrInfoVal;
236
236
assert (AttrInfoVal && " Skeleton CU doesn't have dwo_name." );
237
237
238
- std::string ObjectName = " " ;
238
+ std::string ObjectName;
239
239
240
240
{
241
241
std::lock_guard<std::mutex> Lock (AccessMutex);
@@ -1436,7 +1436,7 @@ void DWARFRewriter::writeDWP(
1436
1436
TUContributionVector TUContributionsToCU;
1437
1437
for (const SectionRef &Section : DWOFile->sections ()) {
1438
1438
std::string DWOTUSection;
1439
- std::string Storage = " " ;
1439
+ std::string Storage;
1440
1440
std::unique_ptr<DebugBufferVector> OutputData;
1441
1441
StringRef SectionName = getSectionName (Section);
1442
1442
Expected<StringRef> ContentsExp = Section.getContents ();
@@ -1593,7 +1593,7 @@ void DWARFRewriter::writeDWOFiles(
1593
1593
// Handling .debug_rnglists.dwo seperatly. The original .o/.dwo might not
1594
1594
// have .debug_rnglists so won't be part of the loop below.
1595
1595
if (!RangeListssWriter->empty ()) {
1596
- std::string Storage = " " ;
1596
+ std::string Storage;
1597
1597
std::unique_ptr<DebugBufferVector> OutputData;
1598
1598
if (Optional<StringRef> OutData = updateDebugData (
1599
1599
(*DWOCU)->getContext (), Storage, " debug_rnglists.dwo" , " " ,
@@ -1605,7 +1605,7 @@ void DWARFRewriter::writeDWOFiles(
1605
1605
1606
1606
TUContributionVector TUContributionsToCU;
1607
1607
for (const SectionRef &Section : File->sections ()) {
1608
- std::string Storage = " " ;
1608
+ std::string Storage;
1609
1609
std::string DWOTUSection;
1610
1610
std::unique_ptr<DebugBufferVector> OutputData;
1611
1611
StringRef SectionName = getSectionName (Section);
0 commit comments