[flang-commits] [flang] [compiler-rt] [lldb] [llvm] [mlir] [clang] [clang-tools-extra] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

Zequan Wu via flang-commits flang-commits at lists.llvm.org
Wed Nov 15 14:38:51 PST 2023


================
@@ -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


More information about the flang-commits mailing list