This seems like a more natural place to clear the vector, especially
since this method is clearing other data structures as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374378
91177308-0d34-0410-b5e6-
96231b3b80d8
/// file. This is to be called after an object file is finished
/// processing.
void MachODebugMapParser::resetParserState() {
+ CommonSymbols.clear();
CurrentObjectAddresses.clear();
CurrentDebugMapObject = nullptr;
}
continue;
}
}
- CommonSymbols.clear();
}
/// Create a new DebugMapObject. This function resets the state of the