Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F112081802
D14363.id39284.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
607 B
Referenced Files
None
Subscribers
None
D14363.id39284.diff
View Options
Index: usr.bin/clang/llvm-cov/Makefile
===================================================================
--- usr.bin/clang/llvm-cov/Makefile
+++ usr.bin/clang/llvm-cov/Makefile
@@ -1,7 +1,16 @@
# $FreeBSD$
+.include <src.opts.mk>
+
PROG_CXX= llvm-cov
+# llvm-cov acts as a drop-in replacement for gcov, if argv[0] is gcov.
+# Install llvm-cov as gcov if GNU gcov is not being installed.
+.if ${MK_GCC} == "no" || ${MK_GCOV} == "no"
+LINKS= ${BINDIR}/llvm-cov ${BINDIR}/gcov
+MLINKS= llvm-cov.1 gcov.1
+.endif
+
SRCDIR= tools/llvm-cov
SRCS+= CodeCoverage.cpp
SRCS+= CoverageExporterJson.cpp
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 13, 1:31 PM (17 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17132765
Default Alt Text
D14363.id39284.diff (607 B)
Attached To
Mode
D14363: Install llvm-cov also as gcov, if no GNU gcov
Attached
Detach File
Event Timeline
Log In to Comment