[compiler-rt] [llvm-cov] Add --debug-info flag to llvm-cov to lookup debug info file. (PR #66798)

Ellis Hoag via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 19 14:10:44 PDT 2023


================
@@ -774,6 +775,11 @@ int CodeCoverageTool::run(Command Cmd, int argc, const char **argv) {
       "check-binary-ids", cl::desc("Fail if an object couldn't be found for a "
                                    "binary ID in the profile"));
 
+  cl::opt<std::string> DebugInfoFilename(
+      "debug-info", cl::init(""),
----------------
ellishg wrote:

```suggestion
      "debug-info",
```
NIT: The default value is already the empty string

https://github.com/llvm/llvm-project/pull/66798


More information about the llvm-commits mailing list