This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Default to current FreeBSD profiling behaviour
ClosedPublic

Authored by emaste on Nov 22 2021, 2:02 PM.

Details

Summary

FreeBSD provided special _p.a libraries for use with -pg prior to FreeBSD 14. They are no longer used or provided. If the target does not specify a major version (e.g. amd64-unknown-freebsd, rather than amd64-unknown-freebsd12) use the new behaviour.

Diff Detail

Event Timeline

emaste created this revision.Nov 22 2021, 2:02 PM
emaste requested review of this revision.Nov 22 2021, 2:02 PM
emaste added a subscriber: myfreeweb.

Similar idea to D77776 (libc++ default if major not specified)

dim accepted this revision.Nov 22 2021, 11:57 PM

LGTM

This revision is now accepted and ready to land.Nov 22 2021, 11:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 15 2021, 6:07 AM