This is an archive of the discontinued LLVM Phabricator instance.

[Darwin] Stop linking libclang_rt.eprintf.a
ClosedPublic

Authored by beanz on Aug 15 2016, 3:51 PM.

Details

Summary

The eprintf library was added before the general OS X builtins library existed as a place to store one builtin function. Since we have for several years had an actual mandated builtin library for OS X > 10.5, we should just merge eprintf into the main library.

This change will resolve PR28855.

As a follow up I'll also patch compiler-rt to not generate the eprintf library anymore.

Diff Detail

Repository
rL LLVM

Event Timeline

beanz updated this revision to Diff 68098.Aug 15 2016, 3:51 PM
beanz retitled this revision from to [Darwin] Stop linking libclang_rt.eprintf.a.
beanz updated this object.
beanz added reviewers: ddunbar, bob.wilson.
beanz added a subscriber: cfe-commits.
echristo accepted this revision.Aug 15 2016, 3:57 PM
echristo added a reviewer: echristo.
echristo added a subscriber: echristo.

LGTM.

Might want to fix the braces while you're there.

-eric

This revision is now accepted and ready to land.Aug 15 2016, 3:57 PM
beanz updated this revision to Diff 68102.Aug 15 2016, 4:06 PM
beanz edited edge metadata.

Updating code comment and removing unneeded braces.

I'm going to sit on this for a bit before committing in case anyone comes up with a reason this is a bad idea.

This revision was automatically updated to reflect the committed changes.