mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
Expose symbols in lib/libclang_rt/profile to fix --coverage
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
This commit is contained in:
parent
15b69ab272
commit
8641eed228
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=313009
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user