Skip to content

Commit 7a00ee9

Browse files
mgabkapawosm-arm
authored andcommitted
Set dwarf version to 4 in test/debug_info/nametable.f90
The LLVM14 uses dwarf version 5 by default, and the .debug_pubnames is replaced there by .debug_names. Just need to modify the tests a bit.
1 parent 2df4fb6 commit 7a00ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/debug_info/nametable.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
!RUN: %flang %s -g -c -o - | llvm-readelf -S - | FileCheck %s --check-prefix=NOPUBNAMESECTION
33

44
!RUN: %flang %s -gdwarf-5 -gpubnames -c -o - | llvm-readelf -S - | FileCheck %s --check-prefix=NAMESECTION
5-
!RUN: %flang %s -g -gpubnames -c -o - | llvm-readelf -S - | FileCheck %s --check-prefix=PUBNAMESECTION
5+
!RUN: %flang %s -gdwarf-4 -gpubnames -c -o - | llvm-readelf -S - | FileCheck %s --check-prefix=PUBNAMESECTION
66

77
!Ensure that `.debug_names` or `.debug_pubnames` are NOT present by default.
88
!NONAMESECTION-NOT: .debug_names

0 commit comments

Comments
 (0)