Index: head/lib/libclang_rt/profile/Makefile =================================================================== --- head/lib/libclang_rt/profile/Makefile +++ head/lib/libclang_rt/profile/Makefile @@ -4,6 +4,9 @@ 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