Skip to content

Commit

Permalink
gcov/clang: Remove these broken parser/engines
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonKagstrom committed Jul 9, 2024
1 parent 61bd825 commit 1d04904
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 1,204 deletions.
6 changes: 0 additions & 6 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
find_package (LibElf)
find_package (ElfUtils)
set (ELF_SRCS
engines/clang-coverage-engine.cc
engines/ptrace.cc
engines/ptrace_linux.cc
engines/kernel-engine.cc
Expand All @@ -187,7 +186,6 @@ elseif (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
find_package (LibElf)
find_package (ElfUtils)
set (ELF_SRCS
engines/clang-coverage-engine.cc
engines/ptrace.cc
engines/ptrace_freebsd.cc
parsers/elf.cc
Expand Down Expand Up @@ -230,7 +228,6 @@ set (${KCOV}_SRCS
engines/system-mode-file-format.cc
engines/python-engine.cc
filter.cc
gcov.cc
main.cc
merge-file-parser.cc
output-handler.cc
Expand All @@ -249,7 +246,6 @@ set (${KCOV}_SRCS
${ELF_SRCS}
${MACHO_SRCS}
include/capabilities.hh
include/gcov.hh
include/reporter.hh
include/collector.hh
include/generated-data-base.hh
Expand All @@ -276,14 +272,12 @@ set (KCOV_SYSTEM_MODE_SRCS
engines/ptrace.cc
engines/ptrace_linux.cc
filter.cc
gcov.cc
include/capabilities.hh
include/collector.hh
include/configuration.hh
include/engine.hh
include/file-parser.hh
include/filter.hh
include/gcov.hh
include/generated-data-base.hh
include/lineid.hh
include/manager.hh
Expand Down
11 changes: 0 additions & 11 deletions src/configuration.cc
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ class Configuration : public IConfiguration
{ "path-strip-level", required_argument, 0, 'S' },
{ "skip-solibs", no_argument, 0, 'L' },
{ "exit-first-process", no_argument, 0, 'F' },
{ "gcov", no_argument, 0, 'g' },
{ "clang", no_argument, 0, 'c' },
{ "configure", required_argument, 0, 'M' },
{ "clean", no_argument, 0, 'E' },
Expand Down Expand Up @@ -217,12 +216,6 @@ class Configuration : public IConfiguration
case 'F':
setKey("daemonize-on-first-process-exit", 1);
break;
case 'g':
setKey("gcov", 1);
break;
case 'c':
setKey("clang-sanitizer", 1);
break;
case 'E':
setKey("clean-output", 1);
break;
Expand Down Expand Up @@ -572,8 +565,6 @@ class Configuration : public IConfiguration
setKey("path-strip-level", 2);
setKey("attach-pid", 0);
setKey("parse-solibs", 1);
setKey("gcov", 0);
setKey("clang-sanitizer", 0);
setKey("clean-output", 0);
setKey("low-limit", 25);
setKey("high-limit", 75);
Expand Down Expand Up @@ -707,8 +698,6 @@ class Configuration : public IConfiguration
" --path-strip-level=num path levels to show for common paths (default: %d)\n"
"\n"
" --cobertura-only Only produce cobertura output in the output dir\n"
" --gcov use gcov parser instead of DWARF debugging info\n"
" --clang use Clang Sanitizer-coverage parser\n"
" --dump-summary dump a summary of coverage on stdout\n"
" --system-record perform full-system instrumentation\n"
" --system-report report full-system coverage data\n"
Expand Down
268 changes: 0 additions & 268 deletions src/engines/clang-coverage-engine.cc

This file was deleted.

Loading

0 comments on commit 1d04904

Please sign in to comment.