diff options
-rw-r--r-- | llvm/tools/dsymutil/MachODebugMapParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/dsymutil/MachODebugMapParser.cpp b/llvm/tools/dsymutil/MachODebugMapParser.cpp index 487fbfff50c..3292e948572 100644 --- a/llvm/tools/dsymutil/MachODebugMapParser.cpp +++ b/llvm/tools/dsymutil/MachODebugMapParser.cpp @@ -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 |