================ @@ -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 +!RUN: %flang -### -S -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 -emit-llvm -fdebug-info-for-profiling -g -o - %s | FileCheck %s ---------------- tarunprabhu wrote:
Although there are some `-S -emit-llvm` tests here, it may be better to move these into `flang/test/Integration` since most of the debug info related tests that use `-emit-llvm` are present there. You could also call `%flang_fc1` instead to avoid having to go though the entire driver. https://github.com/llvm/llvm-project/pull/188022 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
