[llvm] 6969581 - [llvm] Clear the ForwardRefDSOLocalEquivalentIDs map
Leonard Chan via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 6 16:14:21 PDT 2022
Author: Leonard Chan
Date: 2022-10-06T23:13:42Z
New Revision: 69695817f5b5bf973c55906afecc825390a6f3ff
URL: https://github.com/llvm/llvm-project/commit/69695817f5b5bf973c55906afecc825390a6f3ff
DIFF: https://github.com/llvm/llvm-project/commit/69695817f5b5bf973c55906afecc825390a6f3ff.diff
LOG: [llvm] Clear the ForwardRefDSOLocalEquivalentIDs map
I accidentally cleared ForwardRefDSOLocalEquivalentNames twice instead.
Differential Revision: https://reviews.llvm.org/D135315
Added:
Modified:
llvm/lib/AsmParser/LLParser.cpp
Removed:
################################################################################
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp
index a5081b1db754a..db848f4b6ca9e 100644
--- a/llvm/lib/AsmParser/LLParser.cpp
+++ b/llvm/lib/AsmParser/LLParser.cpp
@@ -250,7 +250,7 @@ bool LLParser::validateEndOfModule(bool UpgradeDebugInfo) {
if (ResolveForwardRefDSOLocalEquivalents(Iter.first, Iter.second))
return true;
}
- ForwardRefDSOLocalEquivalentNames.clear();
+ ForwardRefDSOLocalEquivalentIDs.clear();
ForwardRefDSOLocalEquivalentNames.clear();
for (const auto &NT : NumberedTypes)
More information about the llvm-commits
mailing list