[PATCH] D37038: Replace temp MD nodes with unique/distinct before cloning

Adrian Prantl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 22 16:34:33 PDT 2017


aprantl added inline comments.


================
Comment at: lib/CodeGen/CGVTables.cpp:157
+  if (DebugInfo)
+    DebugInfo->replaceTemporaryNodes();
+
----------------
Have you looked at what it would take to only finalize the nodes reachable via the function?
Otherwise — have you audited that this is always safe?


https://reviews.llvm.org/D37038





More information about the cfe-commits mailing list