CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
67 lines
3.1 KiB
TableGen
67 lines
3.1 KiB
TableGen
include "llvm/Option/OptParser.td"
|
|
|
|
class F<string name, string help> : Flag<["-", "--"], name>, HelpText<help>;
|
|
|
|
multiclass B<string name, string help1, string help2> {
|
|
def NAME: Flag<["-", "--"], name>, HelpText<help1>;
|
|
def no_ # NAME: Flag<["-", "--"], "no-" # name>, HelpText<help2>;
|
|
}
|
|
|
|
multiclass Eq<string name, string help> {
|
|
def NAME #_EQ : Joined<["-", "--"], name #"=">,
|
|
HelpText<help>;
|
|
def : Separate<["-", "--"], name>, Alias<!cast<Joined>(NAME #_EQ)>;
|
|
}
|
|
|
|
def generic_grp : OptionGroup<"Genric Options">, HelpText<"Generic Options">;
|
|
def help : F<"help", "Display this help">, Group<generic_grp>;
|
|
def : Flag<["-"], "h">, Alias<help>, HelpText<"Alias for --help">, Group<generic_grp>;
|
|
def version : F<"version", "Display the version">, Group<generic_grp>;
|
|
def : Flag<["-"], "v">, Alias<version>, HelpText<"Alias for --version">, Group<generic_grp>;
|
|
|
|
def action_grp : OptionGroup<"Action">, HelpText<"Action (required)">;
|
|
def print : F<"print", "Print coverage addresses">,
|
|
Group<action_grp>;
|
|
def diff : F<"diff", "Compute difference between two sancov files (A - B) and write to the new output sancov file">,
|
|
Group<action_grp>;
|
|
def union_files : F<"union", "Compute union of multiple sancov files and write to the new output sancov file">,
|
|
Group<action_grp>;
|
|
def printCoveragePcs : F<"print-coverage-pcs", "Print coverage instrumentation points addresses.">,
|
|
Group<action_grp>;
|
|
def coveredFunctions : F<"covered-functions", "Print all covered funcions.">,
|
|
Group<action_grp>;
|
|
def notCoveredFunctions : F<"not-covered-functions", "Print all not covered funcions.">,
|
|
Group<action_grp>;
|
|
def printCoverageStats : F<"print-coverage-stats", "Print coverage statistics.">,
|
|
Group<action_grp>;
|
|
def htmlReport : F<"html-report", "REMOVED. Use -symbolize & coverage-report-server.py.">,
|
|
Group<action_grp>;
|
|
def symbolize : F<"symbolize", "Produces a symbolized JSON report from binary report.">,
|
|
Group<action_grp>;
|
|
def merge : F<"merge", "Merges reports.">,
|
|
Group<action_grp>;
|
|
|
|
defm demangle : B<"demangle", "Demangle function names", "Do not demangle function names">;
|
|
defm skipDeadFiles : B<"skip-dead-files", "Do not list dead source files in reports",
|
|
"List dead source files in reports">;
|
|
defm useDefaultIgnoreList :
|
|
B<"use_default_ignorelist", "Use the default ignore list", "Don't use the default ignore list">,
|
|
Flags<[HelpHidden]>;
|
|
|
|
// Compatibility aliases
|
|
def : Flag<["-"], "demangle=0">, Alias<no_demangle>, HelpText<"Alias for --no-demangle">;
|
|
def : Flag<["-"], "skip-dead-files=0">, Alias<no_skipDeadFiles>, HelpText<"Alias for --no-skip-dead-files">;
|
|
def : Flag<["-"], "use_default_ignorelist=0">, Alias<no_useDefaultIgnoreList>, HelpText<"Alias for --no-use_default_ignore_list">;
|
|
|
|
defm stripPathPrefix
|
|
: Eq<"strip_path_prefix", "Strip this prefix from files paths in reports">,
|
|
MetaVarName<"<string>">;
|
|
|
|
defm ignorelist
|
|
: Eq<"ignorelist", "Ignorelist file (sanitizer ignorelist format)">,
|
|
MetaVarName<"<string>">;
|
|
|
|
defm output
|
|
: Eq<"output", "Output file for diff and union actions">,
|
|
MetaVarName<"<string>">;
|