[compiler-rt] [test] Remove empty --correlate from instrprof-binary-correlate-debuginfod.c (PR #231013)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 11 10:21:53 PDT 2026


https://github.com/MaskRay created https://github.com/llvm/llvm-project/pull/231013

#230883 removed the empty-string --correlate value.

>From 067d8dc0b34996240409ab7d829cdcf35ca2daad Mon Sep 17 00:00:00 2001
From: Fangrui Song <i at maskray.me>
Date: Sun, 11 Oct 2026 10:20:20 -0700
Subject: [PATCH] [test] Remove empty --correlate from
 instrprof-binary-correlate-debuginfod.c

#230883 removed the empty-string --correlate value.
---
 .../test/profile/instrprof-binary-correlate-debuginfod.c        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler-rt/test/profile/instrprof-binary-correlate-debuginfod.c b/compiler-rt/test/profile/instrprof-binary-correlate-debuginfod.c
index 2cf12faf3e498..377f6dfdd0d35 100644
--- a/compiler-rt/test/profile/instrprof-binary-correlate-debuginfod.c
+++ b/compiler-rt/test/profile/instrprof-binary-correlate-debuginfod.c
@@ -33,7 +33,7 @@
 // MISSING-FLAG: error: Expected --debuginfod or --debug-file-directory when --correlate is provided
 
 // Test error for llvm-profdata merge profile correlation when a proper --correlate option is not provided.
-// RUN: not llvm-profdata merge -o %t.correlate-error.profdata --debug-file-directory %t --correlate="" %t.correlate.profraw 2>&1 | FileCheck %s --check-prefix=MISSING-CORRELATION-KIND
+// RUN: not llvm-profdata merge -o %t.correlate-error.profdata --debug-file-directory %t %t.correlate.profraw 2>&1 | FileCheck %s --check-prefix=MISSING-CORRELATION-KIND
 // MISSING-CORRELATION-KIND: error: Expected --correlate when --debug-file-directory is provided
 
 // Test error for llvm-profdata merge profile correlation with mixing correlation options.



More information about the llvm-commits mailing list