[PATCH] D135315: [llvm] Clear the ForwardRefDSOLocalEquivalentIDs map

Leonard Chan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 5 13:28:07 PDT 2022


leonardchan created this revision.
leonardchan added reviewers: phosek, MaskRay.
leonardchan added a project: LLVM.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
leonardchan requested review of this revision.

I accidentally cleared ForwardRefDSOLocalEquivalentNames twice instead.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135315

Files:
  llvm/lib/AsmParser/LLParser.cpp


Index: llvm/lib/AsmParser/LLParser.cpp
===================================================================
--- llvm/lib/AsmParser/LLParser.cpp
+++ llvm/lib/AsmParser/LLParser.cpp
@@ -250,7 +250,7 @@
     if (ResolveForwardRefDSOLocalEquivalents(Iter.first, Iter.second))
       return true;
   }
-  ForwardRefDSOLocalEquivalentNames.clear();
+  ForwardRefDSOLocalEquivalentIDs.clear();
   ForwardRefDSOLocalEquivalentNames.clear();
 
   for (const auto &NT : NumberedTypes)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135315.465530.patch
Type: text/x-patch
Size: 474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221005/5426afdc/attachment.bin>


More information about the llvm-commits mailing list