llvm-project/flang/test/Driver/debug-level.f90
abidh 087b33bbff
[flang] Default -g to full debug info. (#89418)
Currently, -g defaults to line tables only. This PR changes that to full
debug information. This will allow us to test/use the upcoming debug
info changes.
2024-04-22 11:19:05 +01:00

8 lines
301 B
Fortran

! RUN: %flang %s -g -c -### 2>&1 | FileCheck %s --check-prefix=FULL
! RUN: %flang %s -g1 -c -### 2>&1 | FileCheck %s --check-prefix=LINE
! RUN: %flang %s -gline-tables-only -c -### 2>&1 | FileCheck %s --check-prefix=LINE
! LINE: -debug-info-kind=line-tables-only
! FULL: -debug-info-kind=standalone