This is an archive of the discontinued LLVM Phabricator instance.

gold plugin: move target initialization to the top of the onload function.
ClosedPublic

Authored by pcc on Jul 3 2014, 12:57 AM.

Details

Summary

On at least my machine, ar does not register an all symbols read hook (which
previously triggered target initialization), but it does register a claim
files hook, which depends on the targets being initialized.

Diff Detail

Repository
rL LLVM

Event Timeline

pcc updated this revision to Diff 11046.Jul 3 2014, 12:57 AM
pcc retitled this revision from to gold plugin: move target initialization to the top of the onload function..
pcc updated this object.
pcc edited the test plan for this revision. (Show Details)
pcc added a reviewer: rafael.
pcc added a subscriber: Unknown Object (MLST).
rafael edited edge metadata.Jul 3 2014, 7:46 AM

LGTM, thanks!

pcc closed this revision.Jul 3 2014, 4:36 PM
pcc updated this revision to Diff 11070.

Closed by commit rL212303 (authored by @pcc).