This is an archive of the discontinued LLVM Phabricator instance.

Empty the C/DtorLists once emitted. This is essential when running in incremental processing mode, because we don't want to reemit the 'tors over and over again.
ClosedPublic

Authored by v.g.vassilev on Oct 14 2016, 3:11 AM.

Details

Reviewers
rsmith
Summary

Currently it is done unconditionally and if performance is concerned we could move Preprocessor::isIncrementalProcessing enabled somewhere accessible to CodeGen.

Diff Detail

Event Timeline

v.g.vassilev retitled this revision from to Empty the C/DtorLists once emitted. This is essential when running in incremental processing mode, because we don't want to reemit the 'tors over and over again..
v.g.vassilev updated this object.
v.g.vassilev added a reviewer: rsmith.
v.g.vassilev set the repository for this revision to rL LLVM.
v.g.vassilev added a subscriber: cfe-commits.
rsmith accepted this revision.Oct 26 2016, 11:59 PM
rsmith edited edge metadata.
This revision is now accepted and ready to land.Oct 26 2016, 11:59 PM
v.g.vassilev closed this revision.Oct 27 2016, 2:21 AM

Landed in r285277.