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

(cherry picked from commit 772c631af8)
This commit is contained in:
Dimitry Andric 2021-03-05 21:06:05 +01:00
parent 27e68baf24
commit 3f684107ef

View file

@ -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