aboutsummaryrefslogtreecommitdiff
path: root/bolt/lib/Core/DebugData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bolt/lib/Core/DebugData.cpp')
-rw-r--r--bolt/lib/Core/DebugData.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/bolt/lib/Core/DebugData.cpp b/bolt/lib/Core/DebugData.cpp
index 2942f0b..a75016e 100644
--- a/bolt/lib/Core/DebugData.cpp
+++ b/bolt/lib/Core/DebugData.cpp
@@ -909,8 +909,7 @@ void DebugStrOffsetsWriter::finalizeSection(DWARFUnit &Unit,
}
StrOffsetSectionWasModified = false;
- IndexToAddressMap.clear();
- StrOffsets.clear();
+ clear();
}
void DebugStrWriter::create() {