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

Fangrui Song via flang-commits flang-commits at lists.llvm.org
Thu Nov 9 22:38:48 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 = "";
----------------
MaskRay wrote:

remove `= ""`

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


More information about the flang-commits mailing list