This is an archive of the discontinued LLVM Phabricator instance.

[WinEH] Set NoModuleLevelChanges in clone flags
ClosedPublic

Authored by JosephTremoulet on Oct 7 2015, 7:58 AM.

Details

Summary

This is necessary to keep the cloner from making bogus copies of debug
metadata attached to the IR it is cloning.
Also, avoid running RemapInstruction over all instructions in the common
case that no cloning was performed.

Diff Detail

Repository
rL LLVM

Event Timeline

JosephTremoulet retitled this revision from to [WinEH] Set NoModuleLevelChanges in clone flags.
JosephTremoulet updated this object.
JosephTremoulet added a subscriber: llvm-commits.

use the conventional merge behavior (2/warning) for the debug info version flag

majnemer accepted this revision.Oct 7 2015, 10:13 AM
majnemer edited edge metadata.

LGTM

This revision is now accepted and ready to land.Oct 7 2015, 10:13 AM
This revision was automatically updated to reflect the committed changes.