From nobody Sat Dec 25 11:55:08 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C2B7118F20D5; Sat, 25 Dec 2021 11:55:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JLj6N6MG7z4kZH; Sat, 25 Dec 2021 11:55:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3F25B16E31; Sat, 25 Dec 2021 11:55:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BPBt8DS006089; Sat, 25 Dec 2021 11:55:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BPBt8oT006088; Sat, 25 Dec 2021 11:55:08 GMT (envelope-from git) Date: Sat, 25 Dec 2021 11:55:08 GMT Message-Id: <202112251155.1BPBt8oT006088@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: f00ca4a1c59d - stable/12 - Add a few missed files to libclang_rt.profile-.a List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: f00ca4a1c59d6d969d1aeb0e22b5576f8cebf24e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640433309; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=N1fWoR8+5Zj8yUxL59oTnz2CH7CjsB9id2OfA21eFrI=; b=R0V3P/II7gCXbHmOGtxQUrVfTdT80/7pJq6Se5ChJt1Toy5HI0zGEXGmeUEi+GbgQR6H4J BTztFexdbNhslpwAlFwLDyu/4m/l6KY6FHhBMlCtg3pssSUDogevtp78Qo3WQq21rlp9aC dWxQv6r405O7CA2/IAUx5LuvYiE5hCFRU3cUSM+bPJ5rfuxBNi955mDM9BpefsTvigTPFl BPG9M5dVXkjKgq1ErmpIQaiB05+zEofyRrtDyqT3qg7OKWaqFvqNtI8O3EtR3ePAcyfOEJ rOle58T9b87lyIAYTIMwrfGIPyiXAVW/yZuBDJh8YqALRFHqo8pfftwQNdnYRQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640433309; a=rsa-sha256; cv=none; b=KlgFwBWyIvIUzq7u3km0rpEm5xaZpkjwkLUInmbKnT3WcORtXeHZ0N6o7cXJQZBEWehWwa 1VApqCnV5oiB2n8+4djAZaL6Wywyf3asX/+SEcCt0wFOR0FIUg5cNhuuXRCbZUyKEZxGco LgmskutNxcWXdQXAhM224qFUlH59y1mCU62zxb1oGYsKawj5BHoBy0qU5Gb9xihqqdTu4L yGxL5omgfSK8GV8nXwxrz8a5d0W9eQdD37xIq1ictN9/hBlZyZEARoSNpaiIMhIrn074lZ H/rPDxnE59RPdofTym2URPXlePftMYKVuNb8DRJ9IBvz0mLFVkIBnthPd6tCTg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=f00ca4a1c59d6d969d1aeb0e22b5576f8cebf24e commit f00ca4a1c59d6d969d1aeb0e22b5576f8cebf24e Author: Dimitry Andric AuthorDate: 2021-03-05 20:06:05 +0000 Commit: Dimitry Andric CommitDate: 2021-12-25 11:50:58 +0000 Add a few missed files to libclang_rt.profile-.a Otherwise, programs compiled with -fprofile-instr-generate will encounter undefined symbol errors during linking, for example __llvm_profile_counter_bias, lprofSetRuntimeCounterRelocation and a few others were missing from the profile library. Reported by: ota@j.email.ne.jp PR: 254001 MFC after: 3 days (cherry picked from commit 772c631af81abdb6d498d972bab79d04d3db16d0) --- lib/libclang_rt/profile/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libclang_rt/profile/Makefile b/lib/libclang_rt/profile/Makefile index c41da991a039..ab3eba28ac96 100644 --- a/lib/libclang_rt/profile/Makefile +++ b/lib/libclang_rt/profile/Makefile @@ -13,8 +13,10 @@ CXXFLAGS+= -fvisibility=default SRCS+= profile/GCDAProfiling.c SRCS+= profile/InstrProfiling.c +SRCS+= profile/InstrProfilingBiasVar.c SRCS+= profile/InstrProfilingBuffer.c SRCS+= profile/InstrProfilingFile.c +SRCS+= profile/InstrProfilingInternal.c SRCS+= profile/InstrProfilingMerge.c SRCS+= profile/InstrProfilingMergeFile.c SRCS+= profile/InstrProfilingNameVar.c