LLVM-COV(1) LLVM LLVM-COV(1) (NAME) llvm-cov - (SYNOPSIS) llvm-cov command [args...] (DESCRIPTION) llvm-cov (coverage) (instrument) . gcov clang . gcov llvm-cov gcov . . (COMMANDS) o gcov o show o report o export GCOV (GCOV COMMAND) (SYNOPSIS) llvm-cov gcov [options] SOURCEFILE (DESCRIPTION) llvm-cov gcov . gcov 4.2 GCC gcov . llvm-cov gcov . -fprofile-arcs -ftest-coverage . ( --coverage .) (object file) .gcno . .gcno . .gcda .gcda . .gcda . .gcda GCOV_PREFIX GCOV_PREFIX_STRIP . GCOV_PREFIX_STRIP . GCOV_PREFIX . .gcda llvm-cov gcov . llvm-cov gcov . . .gcov . (include) .gcov . .gcov . - . ##### ..SS " (OPTIONS)" -a, --all-blocks (basic blocks). llvm-cov . -b, --branch-probabilities . -c, --branch-counts ( -b ). -m, --demangled-names (demangle). -f, --function-summaries . --help (--help-hidden ). -l, --long-file-names (included) ## . --preserve-paths . -n, --no-output .gcov . . -o , --object-directory=, --object-file= DIR FILE. .gcno .gcda . . -p, --preserve-paths . . # . .. ^ . --long-file-names . -r -s (dump) . -s . -t, --stdout stdout .gcov. -u, --unconditional-branches --branch-probabilities. -version llvm-cov. -x, --hash-filenames md5 . ## MD5 . llvm-cov gcov . . SHOW (SHOW COMMAND) (SYNOPSIS) llvm-cov show [options] -instr-profile PROFILE [BIN] [-object BIN]... [-sources] [SOURCE]... (DESCRIPTION) llvm-cov show BIN... PROFILE . SOURCE... . BIN (object file) (thin ) . llvm-cov show (instrumentation) . clang -fprofile-instr-generate -fcoverage-mapping . (linking) clang -fprofile-instr-generate . BIN llvm-cov show . (instrumented) . default.profraw llvm-profdata merge PROFILE . (OPTIONS) -show-branches= . : "count" "percent". -show-mcdc / (MC/DC) . -show-line-counts . true -show . -show-expansions . false . -show-instantiations C++ . true . -show-regions (caret) . false . -show-line-counts-or-regions . false . -show-directory-coverage () . false . -use-color . . -arch=[*NAMES*] N- N- . (universal binary) . . -name= . -name-allowlist= . allowlist_fun: . (wildcard) . -name-regex= (regular expression) . -ignore-filename-regex= . -format= . : "text" "html". -tab-size= . html . -output-dir=PATH . . ( -name -name-regex ) PATH/functions.EXTENSION . PATH/REL_PATH_TO_FILE.EXTENSION . -Xdemangler=| (symbol demangler). . demangler ( -Xdemangler c++filt -Xdemangler -n C++). demangler (stdin) (stdout) . -num-threads=N, -j=N N (thread) ( -output-dir ). N=0 llvm-cov . . -compilation-dir= . -fcoverage-prefix-map -fcoverage-compilation-dir -ffile-compilation-dir . -line-coverage-gt= . -line-coverage-lt= . -region-coverage-gt= . -region-coverage-lt= . -path-equivalence=, . llvm-cov . -path-equivalence . . . . -coverage-watermark=, (watermark) html . : >= high < low . high low 0-100 high > low . -debuginfod debuginfod (binary IDs) (profile) . debuginfod DEBUGINFOD_URLS true . -debug-file-directory= ( debuginfod) . build ID . -check-binary-ids . -empty-profile (baseline) . -instr-profile . REPORT (REPORT COMMAND) (SYNOPSIS) llvm-cov report [] -instr-profile PROFILE [BIN] [-object BIN]... [-sources] [SOURCE]... (DESCRIPTION) llvm-cov report BIN... PROFILE . SOURCE... . BIN (object file) (thin ) . . -show-functions . SHOW COMMAND . (OPTIONS) -use-color[=VALUE] . . -arch= (universal binary) . . -show-region-summary (regions). true . -show-branch-summary (branch conditions). true . -show-mcdc-summary MC/DC. false . -show-functions . false . -show-instantiation-summary (function instantiations). false . -ignore-filename-regex= (regular expression) . -compilation-dir= . -fcoverage-prefix-map -fcoverage-compilation-dir -ffile-compilation-dir . -debuginfod debuginfod. debuginfod DEBUGINFOD_URLS . -debug-file-directory= . -check-binary-ids . -empty-profile . -instr-profile . (SYNOPSIS) llvm-cov export [] -instr-profile PROFILE [BIN] [-object BIN]... [-sources] [SOURCE]... (DESCRIPTION) llvm-cov export BIN... PROFILE JSON lcov . JSON . lcov . SOURCE... . << SHOW (SHOW COMMAND)>> . (OPTIONS) -arch= (universal binary) . . -format= . : "text" (JSON) "lcov". -summary-only . . llvm-cov report JSON lcov . -ignore-filename-regex= . -skip-expansions . -skip-functions . -num-threads=N, -j=N N (thread) . N=0 llvm-cov . . -compilation-dir= . -fcoverage-prefix-map -fcoverage-compilation-dir -ffile-compilation-dir . -debuginfod debuginfod. (binary IDs) debuginfod DEBUGINFOD_URLS . -debug-file-directory= . -check-binary-ids ( ) . -empty-profile . -instr-profile . : LLVM llvm-cov . (SYNOPSIS) llvm-cov convert-for-testing BIN -o OUT (DESCRIPTION) llvm-cov convert-for-testing llvm-cov . BIN OUT . .covmapping . .covmapping llvm-cov . (AUTHORS) LLVM (https://llvm.org). (COPYRIGHT) 2003-2026, LLVM Project 22 2026-07-15 LLVM-COV(1)