This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Use platform-appropriate profiling libraries for WatchOS, TVOS
ClosedPublic

Authored by vsk on Nov 9 2015, 4:02 PM.

Details

Summary

When adding profiling instrumentation, use libclang_rt.profile_tvos.a for TVOS targets and libclang_rt.profile_watchos.a for WatchOS targets.

I've also fixed up a comment and added an assert() that prevents us from defaulting to an incorrect platform.

Diff Detail

Event Timeline

vsk updated this revision to Diff 39765.Nov 9 2015, 4:02 PM
vsk retitled this revision from to [Driver] Use platform-appropriate profiling libraries for WatchOS, TVOS.
vsk updated this object.
vsk added a reviewer: t.p.northover.
vsk added a subscriber: cfe-commits.
t.p.northover accepted this revision.Nov 9 2015, 4:20 PM
t.p.northover edited edge metadata.

This looks fine to me. Thanks for working on it!

Tim.

This revision is now accepted and ready to land.Nov 9 2015, 4:20 PM
vsk closed this revision.Nov 15 2015, 3:50 PM

Committed as r252558.