[flang-commits] [clang] [flang] [flang][Driver] Preliminary support for -ftime-report (PR #107270)

Fangrui Song via flang-commits flang-commits at lists.llvm.org
Thu Jan 9 22:03:12 PST 2025


================
@@ -0,0 +1,22 @@
+! Check that -ftime-report flag is passed as-is to fc1. The value of the flag
+! is only checked there. This behavior intentionally mirrors that of clang.
+!
+! RUN: %flang -### -c -ftime-report %s 2>&1 | FileCheck %s --check-prefix=CHECK-DRIVER
----------------
MaskRay wrote:

do you need -mllvm -sort-timers=0 to prevent reordering of timers in the TimerGroup?

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


More information about the flang-commits mailing list