8641eed228
The symbols currently hidden in libprofile_rt are needed for linking with `clang --coverage` to add coverage counters at link time and produce coverage numbers at runtime. In collaboration with: dim MFC after: 1 month Sponsored by: Dell EMC Isilon Differential Revision: D9168
25 lines
673 B
Makefile
25 lines
673 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
LIB= clang_rt.profile-${CRTARCH}
|
|
|
|
# This is needed for --coverage
|
|
CFLAGS+= -fvisibility=default
|
|
|
|
SRCS+= profile/GCDAProfiling.c
|
|
SRCS+= profile/InstrProfiling.c
|
|
SRCS+= profile/InstrProfilingBuffer.c
|
|
SRCS+= profile/InstrProfilingFile.c
|
|
SRCS+= profile/InstrProfilingMerge.c
|
|
SRCS+= profile/InstrProfilingMergeFile.c
|
|
SRCS+= profile/InstrProfilingPlatformDarwin.c
|
|
SRCS+= profile/InstrProfilingPlatformLinux.c
|
|
SRCS+= profile/InstrProfilingPlatformOther.c
|
|
SRCS+= profile/InstrProfilingRuntime.cc
|
|
SRCS+= profile/InstrProfilingUtil.c
|
|
SRCS+= profile/InstrProfilingValue.c
|
|
SRCS+= profile/InstrProfilingWriter.c
|
|
|
|
.include <bsd.lib.mk>
|