brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 3307ef6 Raw
30 lines · plain
1! RUN: %if !target={{.*aix.*}} %{ \2! RUN: %flang_fc1 -emit-llvm -debug-info-kind=standalone -dwarf-version=5 %s  \3! RUN:         -o - | FileCheck --check-prefix=CHECK-DWARF5 %s \4! RUN: %}5 6! RUN: %if !target={{.*aix.*}} %{ \7! RUN: %flang_fc1 -emit-llvm -debug-info-kind=line-tables-only -dwarf-version=5 \8! RUN:         %s -o - | FileCheck --check-prefix=CHECK-DWARF5 %s \9! RUN: %}10 11! RUN: %flang_fc1 -emit-llvm -debug-info-kind=standalone -dwarf-version=4 %s  \12! RUN:         -o - | FileCheck --check-prefix=CHECK-DWARF4 %s13! RUN: %flang_fc1 -emit-llvm -debug-info-kind=standalone -dwarf-version=3 %s  \14! RUN:         -o - | FileCheck --check-prefix=CHECK-DWARF3 %s15! RUN: %flang_fc1 -emit-llvm -debug-info-kind=standalone -dwarf-version=2 %s  \16! RUN:         -o - | FileCheck --check-prefix=CHECK-DWARF2 %s17! RUN: %flang_fc1 -emit-llvm -debug-info-kind=standalone %s  -o -\18! RUN:         | FileCheck --check-prefix=CHECK-WITHOUT-VERSION %s19! RUN: %flang_fc1 -emit-llvm -dwarf-version=5 %s  -o - \20! RUN:         | FileCheck --check-prefix=CHECK-WITHOUT-VERSION %s21 22program test23end program test24 25! CHECK-DWARF5: !{i32 7, !"Dwarf Version", i32 5}26! CHECK-DWARF4: !{i32 7, !"Dwarf Version", i32 4}27! CHECK-DWARF3: !{i32 7, !"Dwarf Version", i32 3}28! CHECK-DWARF2: !{i32 7, !"Dwarf Version", i32 2}29! CHECK-WITHOUT-VERSION-NOT: "Dwarf Version"30