Move llvm-profdata build into MK_LLVM_COV block
llvm-profdata is used with llvm-cov for code coverage (although llvm-cov can also operate independently in a gcov-compatible mode). Although llvm-profdata can be used independently of llvm-cov it makes sense to group these under one option. Also handle these in OptionalObsoleteFiles.inc while here. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
76d653ddc2
commit
9ee3eadfc8
@ -2466,6 +2466,12 @@ OLD_FILES+=usr/bin/gcov
|
||||
OLD_FILES+=usr/share/man/man1/gcov.1.gz
|
||||
.endif
|
||||
|
||||
.if ${MK_LLVM_COV} == no
|
||||
OLD_FILES+=usr/bin/llvm-cov
|
||||
OLD_FILES+=usr/bin/llvm-profdata
|
||||
OLD_FILES+=usr/share/man/man1/llvm-cov.1.gz
|
||||
.endif
|
||||
|
||||
.if ${MK_GDB} == no || ${MK_GDB_LIBEXEC} == yes
|
||||
OLD_FILES+=usr/bin/gdb
|
||||
OLD_FILES+=usr/bin/gdbserver
|
||||
|
@ -31,7 +31,6 @@ SUBDIR+= llvm-modextract
|
||||
SUBDIR+= llvm-nm
|
||||
SUBDIR+= llvm-objcopy
|
||||
SUBDIR+= llvm-pdbutil
|
||||
SUBDIR+= llvm-profdata
|
||||
SUBDIR+= llvm-rtdyld
|
||||
SUBDIR+= llvm-symbolizer
|
||||
SUBDIR+= llvm-xray
|
||||
@ -46,6 +45,7 @@ SUBDIR+= lldb
|
||||
.endif
|
||||
.if ${MK_LLVM_COV} != "no"
|
||||
SUBDIR+= llvm-cov
|
||||
SUBDIR+= llvm-profdata
|
||||
.endif
|
||||
.endif # TOOLS_PREFIX
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user