[clang] [dyndbg][nfc] use -emit-only in coverage test (PR #216662)

Orlando Cazalet-Hyams via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 17 01:48:19 PDT 2026


https://github.com/OCHyams created https://github.com/llvm/llvm-project/pull/216662

None

>From df18d081297876df0e9416225928081c0d08535d Mon Sep 17 00:00:00 2001
From: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: Mon, 17 Aug 2026 09:47:01 +0100
Subject: [PATCH] [dyndbg][nfc] use -emit-only in coverage test

---
 clang/test/DebugInfo/DynamicDebugging/profile-coverage.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/test/DebugInfo/DynamicDebugging/profile-coverage.c b/clang/test/DebugInfo/DynamicDebugging/profile-coverage.c
index 30f78af33c883..792055a4b9327 100644
--- a/clang/test/DebugInfo/DynamicDebugging/profile-coverage.c
+++ b/clang/test/DebugInfo/DynamicDebugging/profile-coverage.c
@@ -1,5 +1,5 @@
 // Instrumentation from PGO/code coverage isn't supported yet for dyndbg.
-// RUN: not %clang_cc1 -triple x86_64-unknown-unknown %s -fprofile-instrument=clang -fdynamic-debugging -emit-llvm \
+// RUN: not %clang_cc1 -triple x86_64-unknown-unknown %s -fprofile-instrument=clang -fdynamic-debugging -emit-llvm-only \
 // RUN:    --discard-dynamic-debugging-debug-module 2>&1 \
 // RUN: | FileCheck %s
 // CHECK: error: '-fdynamic-debugging' unsupported with instrumentation (PGO/code coverage)



More information about the cfe-commits mailing list