Skip to content

Commit 26594e9

Browse files
mgabkapawosm-arm
authored andcommitted
Set dwarf version to 4 in test/debug_info/redundant_inst.f90
The LLVM14 uses dwarf version 5 by default, but this test was only compatible with older dwarf version.
1 parent 7a00ee9 commit 26594e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/debug_info/redundant_inst.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
!RUN: %flang %s -g -S -emit-llvm -o - | FileCheck %s --check-prefix=STORE
2-
!RUN: %flang %s -g -S -emit-llvm -o - | llc -O0 -fast-isel=true -filetype=obj -o %t
2+
!RUN: %flang %s -g -gdwarf-4 -S -emit-llvm -o - | llc -O0 -fast-isel=true -filetype=obj -o %t
33
!RUN: llvm-dwarfdump --debug-line %t | FileCheck %s --check-prefix=LINETABLE
44

55
!Check that `store` instruction is getting emitted for the second assignment.

0 commit comments

Comments
 (0)