[compiler-rt] [llvm] [InstrProf] Add debuginfod correlation support (PR #106606)

Petr Hosek via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 30 18:48:32 PDT 2024


================
@@ -130,6 +131,12 @@ cl::opt<std::string>
                    cl::desc("For merge, use the provided unstripped bianry to "
                             "correlate the raw profile."),
                    cl::sub(MergeSubcommand));
+cl::list<std::string> DebugFileDirectory(
+    "debug-file-directory",
----------------
petrhosek wrote:

We already have the same option in other tools like [`llvm-cov`](https://github.com/llvm/llvm-project/blob/d8bffa9018c88ef6ce441bb44d7b7d7a9091e583/llvm/tools/llvm-cov/CodeCoverage.cpp#L684) and [`llvm-symbolizer`](https://github.com/llvm/llvm-project/blob/d8bffa9018c88ef6ce441bb44d7b7d7a9091e583/llvm/tools/llvm-symbolizer/Opts.td#L28) and I think it's worth being consistent in option spelling across tools.

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


More information about the llvm-commits mailing list