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

Tarun Prabhu llvmlistbot at llvm.org
Mon Mar 23 08:07:22 PDT 2026


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

Don't need the `-S` here since nothing is actually executed because of `-###`

```suggestion
!RUN: %flang -### -fdebug-info-for-profiling %s 2>&1 | FileCheck %s --check-prefix=CHECK-DEBUG-INFO
```

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


More information about the Mlir-commits mailing list