This is an archive of the discontinued LLVM Phabricator instance.

Move the test compiler setup in a common place. NFCI
ClosedPublic

Authored by v.g.vassilev on Nov 9 2020, 2:33 AM.

Details

Summary

This patch reduces the copy paste in the unittest/CodeGen folder by moving the common compiler setup phase in a header file.

Diff Detail

Event Timeline

v.g.vassilev requested review of this revision.Nov 9 2020, 2:33 AM
v.g.vassilev created this revision.

Add forgotten file.

rsmith accepted this revision.Nov 10 2020, 11:53 AM
This revision is now accepted and ready to land.Nov 10 2020, 11:53 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptNov 14 2020, 1:30 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
vitalybuka reopened this revision.Nov 16 2020, 4:23 AM
vitalybuka added a subscriber: vitalybuka.

Reverted because of memory leaks: http://lab.llvm.org:8011/#/builders/5/builds/1262

This revision is now accepted and ready to land.Nov 16 2020, 4:23 AM