mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-08 21:37:35 +00:00
[dsymutil] Move CommonSymbols.clear() in resetParserState.
This seems like a more natural place to clear the vector, especially since this method is clearing other data structures as well. llvm-svn: 374378
This commit is contained in:
parent
61e346ad96
commit
fb5363a01f
@ -123,6 +123,7 @@ private:
|
||||
/// file. This is to be called after an object file is finished
|
||||
/// processing.
|
||||
void MachODebugMapParser::resetParserState() {
|
||||
CommonSymbols.clear();
|
||||
CurrentObjectAddresses.clear();
|
||||
CurrentDebugMapObject = nullptr;
|
||||
}
|
||||
@ -144,7 +145,6 @@ void MachODebugMapParser::addCommonSymbols() {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
CommonSymbols.clear();
|
||||
}
|
||||
|
||||
/// Create a new DebugMapObject. This function resets the state of the
|
||||
|
Loading…
x
Reference in New Issue
Block a user