[all-commits] [llvm/llvm-project] 699d47: [Driver] do not link _p libs for -pg on FreeBSD 14...

Ed Maste via All-commits all-commits at lists.llvm.org
Sat Jun 26 15:21:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 699d47472c3f7c5799fe75486689545179cfba03
      https://github.com/llvm/llvm-project/commit/699d47472c3f7c5799fe75486689545179cfba03
  Author: Ed Maste <emaste at FreeBSD.org>
  Date:   2021-06-26 (Sat, 26 Jun 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/FreeBSD.cpp
    M clang/test/Driver/freebsd.cpp

  Log Message:
  -----------
  [Driver] do not link _p libs for -pg on FreeBSD 14 and later

In FreeBSD 14 the project will deprecate the _p special profiling
libraries.

Support for -pg (i.e., mcount) still exists but libraries compiled
with -pg will not be built by default, so stop linking against them.

Reviewed by:	Dimitry Andric
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.llvm.org/D104753




More information about the All-commits mailing list