[clang] [flang] [llvm] [mlir] [LLVM-Flang] Add support for -fdebug-info-for-profiling option (PR #188022)

Kaviya Rajendiran via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 24 21:20:21 PDT 2026


================
@@ -0,0 +1,34 @@
+! Test to check the option "-fdebug-info-for-profiling".
+
+!RUN: %flang -### -fdebug-info-for-profiling %s 2>&1 | FileCheck %s --check-prefix=CHECK-DEBUG-INFO
+!RUN: %flang -### -fdebug-info-for-profiling -fno-debug-info-for-profiling -fdebug-info-for-profiling %s 2>&1 | FileCheck %s --check-prefix=CHECK-DEBUG-INFO
+!RUN: %flang -### %s 2>&1 | FileCheck %s
+!RUN: %flang -### -fdebug-info-for-profiling -fno-debug-info-for-profiling %s 2>&1 | FileCheck %s
----------------
kaviya2510 wrote:

I agree with your suggestion and will make the changes accordingly.

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


More information about the cfe-commits mailing list