Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Mar 2021 20:07:50 GMT
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 772c631af81a - main - Add a few missed files to libclang_rt.profile-<arch>.a
Message-ID:  <202103052007.125K7oHJ046732@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=772c631af81abdb6d498d972bab79d04d3db16d0

commit 772c631af81abdb6d498d972bab79d04d3db16d0
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2021-03-05 20:06:05 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2021-03-05 20:07:07 +0000

    Add a few missed files to libclang_rt.profile-<arch>.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
---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103052007.125K7oHJ046732>