[PATCH] D115621: [Debugify] Use WeakWH map collected before Pass when checking loc drop

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 21 06:54:58 PST 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG93615b88f5aa: [Debugify] Use WeakWH map collected before Pass when checking loc drop (authored by djtodoro).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115621/new/

https://reviews.llvm.org/D115621

Files:
  llvm/lib/Transforms/Utils/Debugify.cpp


Index: llvm/lib/Transforms/Utils/Debugify.cpp
===================================================================
--- llvm/lib/Transforms/Utils/Debugify.cpp
+++ llvm/lib/Transforms/Utils/Debugify.cpp
@@ -596,7 +596,7 @@
   auto DILocsBefore = DIPreservationMap[NameOfWrappedPass].DILocations;
   auto DILocsAfter = DIPreservationAfter[NameOfWrappedPass].DILocations;
 
-  auto InstToDelete = DIPreservationAfter[NameOfWrappedPass].InstToDelete;
+  auto InstToDelete = DIPreservationMap[NameOfWrappedPass].InstToDelete;
 
   auto DIVarsBefore = DIPreservationMap[NameOfWrappedPass].DIVariables;
   auto DIVarsAfter = DIPreservationAfter[NameOfWrappedPass].DIVariables;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115621.395665.patch
Type: text/x-patch
Size: 668 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211221/faf8201a/attachment.bin>


More information about the llvm-commits mailing list