Commit | Line | Data |
---|---|---|
62e6b7b3 AO |
1 | /* Test view numbering continuity at subsection borders. |
2 | ||
250d07de | 3 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
62e6b7b3 AO |
4 | |
5 | This program is free software; you can redistribute it and/or modify | |
6 | it under the terms of the GNU General Public License as published by | |
7 | the Free Software Foundation; either version 3 of the License, or | |
8 | (at your option) any later version. | |
9 | ||
10 | This program is distributed in the hope that it will be useful, | |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | GNU General Public License for more details. | |
14 | ||
15 | You should have received a copy of the GNU General Public License | |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ | |
17 | ||
18 | .file "dwarf2-19.c" | |
19 | .text 0 | |
762172a4 | 20 | .balign 8 |
62e6b7b3 AO |
21 | .globl _start |
22 | _start: | |
23 | .file 1 "dwarf2-19.c" | |
24 | .loc 1 1 view 0 | |
25 | ||
26 | .section .rodata | |
27 | .uleb128 .L1 | |
28 | .uleb128 .L3 | |
29 | .uleb128 .L4 | |
30 | .uleb128 .L2 | |
31 | ||
32 | .text 1 | |
33 | .loc 1 2 view .L1 /* same address as view 0 above -> view 1 */ | |
34 | ||
35 | .text 2 | |
36 | .loc 1 3 view .L2 /* same address as .L4 below -> view 2 */ | |
37 | ||
38 | .text 1 | |
762172a4 | 39 | .quad 0 |
62e6b7b3 AO |
40 | .loc 1 4 view .L3 /* bumped address from .L1's, view 0 */ |
41 | .loc 1 5 view .L4 /* same address, view 1 */ |