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

Paul Robinson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 22 16:26:53 PDT 2017


probinson created this revision.

Make sure all temporary MD nodes have been replaced with uniqued or distinct nodes before we clone a function.

Fixes PR33930.


https://reviews.llvm.org/D37038

Files:
  lib/CodeGen/CGDebugInfo.cpp
  lib/CodeGen/CGDebugInfo.h
  lib/CodeGen/CGVTables.cpp
  test/CodeGenCXX/temp-md-nodes1.cpp
  test/CodeGenCXX/temp-md-nodes2.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37038.112257.patch
Type: text/x-patch
Size: 4456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170822/e73fc10e/attachment.bin>


More information about the cfe-commits mailing list