Skip to content

Commit 7f9bd46

Browse files
author
git apple-llvm automerger
committed
Merge commit '4feb0925b086' from llvm.org/main into next
2 parents a43cae4 + 4feb092 commit 7f9bd46

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

flang/test/Driver/flang-dwarf-version.f90

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
1+
// RUN: %if !target={{.*aix.*}} %{ \
12
// RUN: %flang -### -S %s -g -gdwarf-5 2>&1 \
2-
// RUN: | FileCheck --check-prefix=CHECK-DWARF5 %s
3+
// RUN: | FileCheck --check-prefix=CHECK-DWARF5 %s \
4+
// RUN: %}
5+
6+
// RUN: %if !target={{.*aix.*}} %{ \
37
// RUN: %flang -### -S %s -gdwarf-5 2>&1 \
4-
// RUN: | FileCheck --check-prefix=CHECK-DWARF5 %s
8+
// RUN: | FileCheck --check-prefix=CHECK-DWARF5 %s \
9+
// RUN: %}
10+
11+
// RUN: %if !target={{.*aix.*}} %{ \
512
// RUN: %flang -### -S %s -g1 -gdwarf-5 2>&1 \
6-
// RUN: | FileCheck --check-prefix=CHECK-WITH-G1-DWARF5 %s
13+
// RUN: | FileCheck --check-prefix=CHECK-WITH-G1-DWARF5 %s \
14+
// RUN: %}
15+
716
// RUN: %flang -### -S %s -gdwarf-4 2>&1 \
817
// RUN: | FileCheck --check-prefix=CHECK-DWARF4 %s
918
// RUN: %flang -### -S %s -gdwarf-3 2>&1 \

flang/test/Integration/debug-dwarf-flags.f90

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
! RUN: %if !target={{.*aix.*}} %{ \
12
! RUN: %flang_fc1 -emit-llvm -debug-info-kind=standalone -dwarf-version=5 %s \
2-
! RUN: -o - | FileCheck --check-prefix=CHECK-DWARF5 %s
3+
! RUN: -o - | FileCheck --check-prefix=CHECK-DWARF5 %s \
4+
! RUN: %}
5+
6+
! RUN: %if !target={{.*aix.*}} %{ \
37
! RUN: %flang_fc1 -emit-llvm -debug-info-kind=line-tables-only -dwarf-version=5 \
4-
! RUN: %s -o - | FileCheck --check-prefix=CHECK-DWARF5 %s
8+
! RUN: %s -o - | FileCheck --check-prefix=CHECK-DWARF5 %s \
9+
! RUN: %}
10+
511
! RUN: %flang_fc1 -emit-llvm -debug-info-kind=standalone -dwarf-version=4 %s \
612
! RUN: -o - | FileCheck --check-prefix=CHECK-DWARF4 %s
713
! RUN: %flang_fc1 -emit-llvm -debug-info-kind=standalone -dwarf-version=3 %s \

0 commit comments

Comments
 (0)