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
@ -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…
x
Reference in New Issue
Block a user