Skip to content

Commit d0fb3ea

Browse files
committed
[lldb] Fix use-after-move in SymbolFile/NativePDB
1 parent edf4780 commit d0fb3ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ CompilandIndexItem &CompileUnitIndex::GetOrCreateCompiland(uint16_t modi) {
162162
ParseExtendedInfo(m_index, *cci);
163163
ParseInlineeLineTableForCompileUnit(*cci);
164164

165-
cci->m_strings.initialize(debug_stream.getSubsectionsArray());
165+
cci->m_strings.initialize(cci->m_debug_stream.getSubsectionsArray());
166166
PDBStringTable &strings = cantFail(m_index.pdb().getStringTable());
167167
cci->m_strings.setStrings(strings.getStringTable());
168168

0 commit comments

Comments
 (0)