[K/N] Remove LLVM coverage

The -Xcoverage feature has not worked and has been disabled for a while.
This fix removes it, and all of its uses.


Co-authored-by: Troels Lund <troels@google.com>


Merge-request: KOTLIN-MR-821
Merged-by: Alexander Shabalin <alexander.shabalin@jetbrains.com>
This commit is contained in:
Troels Bjerre Lund
2023-12-06 14:07:16 +00:00
committed by Space Cloud
parent e0c931f69d
commit 4f77434ea5
46 changed files with 24 additions and 1763 deletions
@@ -22,9 +22,6 @@ fun copyK2NativeCompilerArguments(from: K2NativeCompilerArguments, to: K2NativeC
to.checkExternalCalls = from.checkExternalCalls
to.clangOptions = from.clangOptions?.copyOf()
to.compileFromBitcode = from.compileFromBitcode
to.coverage = from.coverage
to.coverageFile = from.coverageFile
to.coveredLibraries = from.coveredLibraries?.copyOf()
to.debug = from.debug
to.debugInfoFormatVersion = from.debugInfoFormatVersion
to.debugPrefixMap = from.debugPrefixMap?.copyOf()
@@ -353,21 +353,6 @@ The default value is 1."""
@Argument(value = "-Xdebug-info-version", description = "Generate debug info of the given version (1, 2).")
var debugInfoFormatVersion: String = "1" /* command line parser doesn't accept kotlin.Int type */
@Argument(value = "-Xcoverage", description = "Emit code coverage information.")
var coverage: Boolean = false
@Argument(
value = "-Xlibrary-to-cover",
valueDescription = "<path>",
description = """Emit code coverage information for the given library.
The library must be one of the ones passed with '-library'.""",
delimiter = Argument.Delimiters.none
)
var coveredLibraries: Array<String>? = null
@Argument(value = "-Xcoverage-file", valueDescription = "<path>", description = "Save coverage information to the given file.")
var coverageFile: String? = null
@Argument(value = "-Xno-objc-generics", description = "Disable generics support for framework header.")
var noObjcGenerics: Boolean = false