This is an archive of the discontinued LLVM Phabricator instance.

Make getToolChain actually cache its result, as documented in Driver.h
AbandonedPublic

Authored by dougk on Aug 12 2015, 10:58 AM.

Details

Reviewers
chandlerc

Diff Detail

Event Timeline

dougk updated this revision to Diff 31960.Aug 12 2015, 10:58 AM
dougk retitled this revision from to Make getToolChain actually cache its result, as documented in Driver.h.
dougk updated this object.
dougk added a reviewer: chandlerc.
dougk added a subscriber: cfe-commits.
chandlerc edited edge metadata.Aug 12 2015, 11:37 AM

This isn't necessary. The TC that we assign to is a reference to the pointer in the map. It should already be caching.

dougk abandoned this revision.Aug 12 2015, 12:18 PM