Index: head/lib/libclang_rt/profile/Makefile =================================================================== --- head/lib/libclang_rt/profile/Makefile (revision 313008) +++ head/lib/libclang_rt/profile/Makefile (revision 313009) @@ -1,21 +1,24 @@ # $FreeBSD$ .include 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