================ @@ -1331,6 +1336,18 @@ static int merge_main(int argc, const char *argv[]) { "(default: 10000)")); cl::ParseCommandLineOptions(argc, argv, "LLVM profile data merger\n"); + if (!DebugInfoFilename.empty() && !BinaryFilename.empty()) { + exitWithError("Expected only one of -debug-info, -binary-file"); + } + std::string CorrelateFilename = ""; ---------------- ZequanWu wrote:
Done. https://github.com/llvm/llvm-project/pull/69493 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits