repo_id
stringlengths 5
115
| size
int64 590
5.01M
| file_path
stringlengths 4
212
| content
stringlengths 590
5.01M
|
|---|---|---|---|
stsp/binutils-ia16
| 1,498
|
gdb/testsuite/lib/my-syscalls.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2020-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This file implements simple Linux syscall wrappers, to be used by tests that
need to know exactly where the syscall instructions are. */
#include <asm/unistd.h>
/* int my_execve (const char *file, char *argv[], char *envp[]); */
.global my_execve
my_execve:
#if defined(__x86_64__)
mov $__NR_execve, %rax
/* rdi, rsi and rdx already contain the right arguments. */
my_execve_syscall:
syscall
ret
#elif defined(__i386__)
mov $__NR_execve, %eax
mov 4(%esp), %ebx
mov 8(%esp), %ecx
mov 12(%esp), %edx
my_execve_syscall:
int $0x80
ret
#elif defined(__aarch64__)
mov x8, #__NR_execve
/* x0, x1 and x2 already contain the right arguments. */
my_execve_syscall:
svc #0
#else
# error "Unsupported architecture"
#endif
|
stsp/binutils-ia16
| 7,466
|
gdb/testsuite/gdb.python/amd64-py-framefilter-invalidarg.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2014-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This file is compiled from a single line
int main (int argc, char **argv) { return 0; }
using -g -dA -S -O2 and patched as #if-ed below. */
.file "py-framefilter-invalidarg.c"
.text
.Ltext0:
.globl main
.type main, @function
main:
.LFB0:
.file 1 "py-framefilter-invalidarg.c"
# py-framefilter-invalidarg.c:1
.loc 1 1 0
.cfi_startproc
# BLOCK 2 seq:0
# PRED: ENTRY (FALLTHRU)
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
# py-framefilter-invalidarg.c:2
.loc 1 2 0
movl $0, %eax
# py-framefilter-invalidarg.c:3
.loc 1 3 0
popq %rbp
.cfi_def_cfa 7, 8
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE0:
.size main, .-main
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long .Le - .Ls # Length of Compilation Unit Info
.Ls:
.value 0x4 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF3 # DW_AT_producer: "GNU C 4.9.1 20140813 (Red Hat 4.9.1-7) -mtune=generic -march=x86-64 -g"
.byte 0x1 # DW_AT_language
.long .LASF4 # DW_AT_name: "py-framefilter-invalidarg.c"
.long .LASF5 # DW_AT_comp_dir: ""
.quad .Ltext0 # DW_AT_low_pc
.quad .Letext0-.Ltext0 # DW_AT_high_pc
.long .Ldebug_line0 # DW_AT_stmt_list
die2d:
.uleb128 0x2 # (DIE (0x2d) DW_TAG_subprogram)
# DW_AT_external
.long .LASF6 # DW_AT_name: "main"
.byte 0x1 # DW_AT_decl_file (py-framefilter-invalidarg.c)
.byte 0x1 # DW_AT_decl_line
# DW_AT_prototyped
.long die6b-.Ldebug_info0 # DW_AT_type
.quad .LFB0 # DW_AT_low_pc
.quad .LFE0-.LFB0 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
die4e:
.uleb128 0x3 # (DIE (0x4e) DW_TAG_formal_parameter)
.long .LASF0 # DW_AT_name: "argc"
.byte 0x1 # DW_AT_decl_file (py-framefilter-invalidarg.c)
.byte 0x1 # DW_AT_decl_line
.long die6b-.Ldebug_info0 # DW_AT_type
#if 0
.uleb128 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -20
#endif
#if 0
.uleb128 1f - 2f # DW_AT_location
2:
.byte 0x03 # DW_OP_addr
.quad 0
1:
#endif
#if 1
.uleb128 1f - 2f # DW_AT_location
2:
.byte 0x13 # DW_OP_drop
1:
#endif
die5c:
.uleb128 0x3 # (DIE (0x5c) DW_TAG_formal_parameter)
.long .LASF1 # DW_AT_name: "argv"
.byte 0x1 # DW_AT_decl_file (py-framefilter-invalidarg.c)
.byte 0x1 # DW_AT_decl_line
.long die72-.Ldebug_info0 # DW_AT_type
.uleb128 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -32
.byte 0 # end of children of DIE 0x2d
die6b:
.uleb128 0x4 # (DIE (0x6b) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
die72:
.uleb128 0x5 # (DIE (0x72) DW_TAG_pointer_type)
.byte 0x8 # DW_AT_byte_size
.long die78-.Ldebug_info0 # DW_AT_type
die78:
.uleb128 0x5 # (DIE (0x78) DW_TAG_pointer_type)
.byte 0x8 # DW_AT_byte_size
.long die7e-.Ldebug_info0 # DW_AT_type
die7e:
.uleb128 0x6 # (DIE (0x7e) DW_TAG_base_type)
.byte 0x1 # DW_AT_byte_size
.byte 0x6 # DW_AT_encoding
.long .LASF2 # DW_AT_name: "char"
.byte 0 # end of children of DIE 0xb
.Le:
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x17 # (DW_FORM_sec_offset)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x4 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0
.byte 0
.uleb128 0x5 # (abbrev code)
.uleb128 0xf # (TAG: DW_TAG_pointer_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x6 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.byte 0
.byte 0
.byte 0
.section .debug_aranges,"",@progbits
.long 0x2c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 16 byte boundary
.value 0
.quad .Ltext0 # Address
.quad .Letext0-.Ltext0 # Length
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF1:
.string "argv"
.LASF4:
.string "py-framefilter-invalidarg.c"
.LASF5:
.string ""
.LASF0:
.string "argc"
.LASF3:
.string "GNU C 4.9.1 20140813 (Red Hat 4.9.1-7) -mtune=generic -march=x86-64 -g"
.LASF6:
.string "main"
.LASF2:
.string "char"
.ident "GCC: (GNU) 4.9.1 20140813 (Red Hat 4.9.1-7)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 5,722
|
gdb/testsuite/gdb.python/py-linetable.S
|
/* Copyright (C) 2013-2022 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.file "py-linetable.c"
.text
.Ltext0:
.globl foo
.type foo, @function
foo:
.LFB0:
.file 1 "./py-linetable.c"
.loc 1 20 0
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
.loc 1 21 0
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
jne .L2
.loc 1 22 0
movl $1, %eax
jmp .L3
.L2:
.loc 1 24 0
movl $0, %eax
.L3:
.loc 1 25 0
popq %rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size foo, .-foo
.globl bar
.type bar, @function
bar:
.LFB1:
.loc 1 28 0
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
.loc 1 29 0
cmpl $0, -8(%rbp)
jne .L5
.loc 1 30 0
movl $1, %eax
jmp .L6
.L5:
.loc 1 32 0
movl $0, %eax
.L6:
.loc 1 33 0
popq %rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size bar, .-bar
.globl main
.type main, @function
main:
.LFB2:
.loc 1 37 0
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $16, %rsp
.loc 1 39 0
movl $5, %esi
movl $5, %edi
call foo
testl %eax, %eax
je .L8
.loc 1 39 0 is_stmt 0 discriminator 1
movl $0, %esi
movl $5, %edi
call bar
testl %eax, %eax
je .L8
.loc 1 40 0 is_stmt 1
movl $0, %eax
jmp .L9
.L8:
.loc 1 42 0
movl $0, -4(%rbp)
jmp .L10
.L11:
.loc 1 44 0
addl $1, -4(%rbp)
.L10:
.loc 1 42 0 discriminator 1
cmpl $499, -4(%rbp)
jle .L11
.loc 1 45 0
movl $0, %eax
.L9:
.loc 1 46 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size main, .-main
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0xcf
.value 0x4
.long .Ldebug_abbrev0
.byte 0x8
.uleb128 0x1
.long .LASF0
.byte 0x1
.long .LASF1
.long .LASF2
.quad .Ltext0
.quad .Letext0
.long .Ldebug_line0
.uleb128 0x2
.string "foo"
.byte 0x1
.byte 0x13
.long 0x67
.quad .LFB0
.quad .LFE0
.uleb128 0x1
.byte 0x9c
.long 0x67
.uleb128 0x3
.string "a"
.byte 0x1
.byte 0x13
.long 0x67
.uleb128 0x2
.byte 0x91
.sleb128 -20
.uleb128 0x3
.string "b"
.byte 0x1
.byte 0x13
.long 0x67
.uleb128 0x2
.byte 0x91
.sleb128 -24
.byte 0
.uleb128 0x4
.byte 0x4
.byte 0x5
.string "int"
.uleb128 0x2
.string "bar"
.byte 0x1
.byte 0x1b
.long 0x67
.quad .LFB1
.quad .LFE1
.uleb128 0x1
.byte 0x9c
.long 0xa8
.uleb128 0x3
.string "a"
.byte 0x1
.byte 0x1b
.long 0x67
.uleb128 0x2
.byte 0x91
.sleb128 -20
.uleb128 0x3
.string "b"
.byte 0x1
.byte 0x1b
.long 0x67
.uleb128 0x2
.byte 0x91
.sleb128 -24
.byte 0
.uleb128 0x5
.long .LASF3
.byte 0x1
.byte 0x24
.long 0x67
.quad .LFB2
.quad .LFE2
.uleb128 0x1
.byte 0x9c
.uleb128 0x6
.string "i"
.byte 0x1
.byte 0x26
.long 0x67
.uleb128 0x2
.byte 0x91
.sleb128 -20
.byte 0
.byte 0
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1
.uleb128 0x11
.byte 0x1
.uleb128 0x25
.uleb128 0xe
.uleb128 0x13
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.uleb128 0x1b
.uleb128 0xe
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x10
.uleb128 0x17
.byte 0
.byte 0
.uleb128 0x2
.uleb128 0x2e
.byte 0x1
.uleb128 0x3f
.uleb128 0x19
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x27
.uleb128 0x19
.uleb128 0x49
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0x18
.uleb128 0x2117
.uleb128 0x19
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x3
.uleb128 0x5
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0x18
.byte 0
.byte 0
.uleb128 0x4
.uleb128 0x24
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0x8
.byte 0
.byte 0
.uleb128 0x5
.uleb128 0x2e
.byte 0x1
.uleb128 0x3f
.uleb128 0x19
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x27
.uleb128 0x19
.uleb128 0x49
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0x18
.uleb128 0x2116
.uleb128 0x19
.byte 0
.byte 0
.uleb128 0x6
.uleb128 0x34
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0x18
.byte 0
.byte 0
.byte 0
.section .debug_aranges,"",@progbits
.long 0x2c
.value 0x2
.long .Ldebug_info0
.byte 0x8
.byte 0
.value 0
.value 0
.quad .Ltext0
.quad .Letext0-.Ltext0
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF0:
.string "GNU C 4.7.2 20121109 (Red Hat 4.7.2-8) -mtune=generic -march=x86-64 -g -O0"
.LASF1:
.string "./py-linetable.c"
.LASF3:
.string "main"
.LASF2:
.string "gdb/testsuite/gdb.python"
.ident "GCC: (GNU) 4.7.2 20121109 (Red Hat 4.7.2-8)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 13,844
|
gdb/testsuite/gdb.arch/amd64-entry-value-paramref.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2014-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This file is compiled from gdb.arch/amd64-entry-value-paramref.cc
using -g -dA -S -O2.
Additionally it has been patched. */
.file "amd64-entry-value-paramref.cc"
.text
.Ltext0:
.p2align 4,,15
.type _ZL3barRi.constprop.0, @function
_ZL3barRi.constprop.0:
.LFB2:
.file 1 "gdb.arch/amd64-entry-value-paramref.cc"
# gdb.arch/amd64-entry-value-paramref.cc:21
.loc 1 21 0
.cfi_startproc
.LVL0:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (FALLTHRU)
# gdb.arch/amd64-entry-value-paramref.cc:23
.loc 1 23 0
movl vv(%rip), %eax
# gdb.arch/amd64-entry-value-paramref.cc:24
.loc 1 24 0
movq %rdi, p(%rip)
# gdb.arch/amd64-entry-value-paramref.cc:23
.loc 1 23 0
addl $1, %eax
movl %eax, vv(%rip)
# gdb.arch/amd64-entry-value-paramref.cc:25
.loc 1 25 0
movl (%rdi), %eax
# SUCC: EXIT [100.0%]
# gdb.arch/amd64-entry-value-paramref.cc:26
.loc 1 26 0
ret
.cfi_endproc
.LFE2:
.size _ZL3barRi.constprop.0, .-_ZL3barRi.constprop.0
.section .text.startup,"ax",@progbits
.p2align 4,,15
.globl main
.type main, @function
main:
.LFB1:
# gdb.arch/amd64-entry-value-paramref.cc:30
.loc 1 30 0
.cfi_startproc
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (FALLTHRU)
subq $16, %rsp
.cfi_def_cfa_offset 24
.LBB2:
# gdb.arch/amd64-entry-value-paramref.cc:32
.loc 1 32 0
leaq 12(%rsp), %rdi
# gdb.arch/amd64-entry-value-paramref.cc:31
.loc 1 31 0
movl $10, 12(%rsp)
# gdb.arch/amd64-entry-value-paramref.cc:32
.loc 1 32 0
call _ZL3barRi.constprop.0
.LVL1:
.LBE2:
# gdb.arch/amd64-entry-value-paramref.cc:33
.loc 1 33 0
addq $16, %rsp
.cfi_def_cfa_offset 8
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE1:
.size main, .-main
.globl p
.bss
.align 8
.type p, @object
.size p, 8
p:
.zero 8
.globl vv
.align 4
.type vv, @object
.size vv, 4
vv:
.zero 4
.text
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long .Linfo_end - .Linfo_start # Length of Compilation Unit Info
.Linfo_start:
.value 0x4 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF0 # DW_AT_producer: "GNU C++ 4.8.2 20131212 (Red Hat 4.8.2-7) -mtune=generic -march=x86-64 -g -O2"
.byte 0x4 # DW_AT_language
.long .LASF1 # DW_AT_name: "gdb.arch/amd64-entry-value-paramref.cc"
.long .LASF2 # DW_AT_comp_dir: ""
.long .Ldebug_ranges0+0 # DW_AT_ranges
.quad 0 # DW_AT_low_pc
.long .Ldebug_line0 # DW_AT_stmt_list
DIE29: .uleb128 0x2 # (DIE (0x29) DW_TAG_subprogram)
.ascii "bar\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value-paramref.cc)
.byte 0x15 # DW_AT_decl_line
.long DIE45 - .Ldebug_info0 # DW_AT_type
.byte 0x1 # DW_AT_inline
DIE39: .uleb128 0x3 # (DIE (0x39) DW_TAG_formal_parameter)
.ascii "ref\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value-paramref.cc)
.byte 0x15 # DW_AT_decl_line
.long DIE4c - .Ldebug_info0 # DW_AT_type
.byte 0 # end of children of DIE 0x29
DIE45: .uleb128 0x4 # (DIE (0x45) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
DIE4c: .uleb128 0x5 # (DIE (0x4c) DW_TAG_const_type)
.long DIE51 - .Ldebug_info0 # DW_AT_type
DIE51: .uleb128 0x6 # (DIE (0x51) DW_TAG_reference_type)
.byte 0x8 # DW_AT_byte_size
.long DIE45 - .Ldebug_info0 # DW_AT_type
DIE57: .uleb128 0x7 # (DIE (0x57) DW_TAG_subprogram)
.long DIE29 - .Ldebug_info0 # DW_AT_abstract_origin
.quad .LFB2 # DW_AT_low_pc
.quad .LFE2-.LFB2 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
DIE72: .uleb128 0x8 # (DIE (0x72) DW_TAG_formal_parameter)
.long DIE39 - .Ldebug_info0 # DW_AT_abstract_origin
.uleb128 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0 # end of children of DIE 0x57
DIE7a: .uleb128 0x9 # (DIE (0x7a) DW_TAG_subprogram)
# DW_AT_external
.long .LASF3 # DW_AT_name: "main"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value-paramref.cc)
.byte 0x1d # DW_AT_decl_line
.long DIE45 - .Ldebug_info0 # DW_AT_type
.quad .LFB1 # DW_AT_low_pc
.quad .LFE1-.LFB1 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
DIE9b: .uleb128 0xa # (DIE (0x9b) DW_TAG_lexical_block)
.quad .LBB2 # DW_AT_low_pc
.quad .LBE2-.LBB2 # DW_AT_high_pc
DIEac: .uleb128 0xb # (DIE (0xac) DW_TAG_variable)
.ascii "var\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value-paramref.cc)
.byte 0x1f # DW_AT_decl_line
.long DIE45 - .Ldebug_info0 # DW_AT_type
.uleb128 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -12
DIEba: .uleb128 0xc # (DIE (0xba) DW_TAG_GNU_call_site)
.quad .LVL1 # DW_AT_low_pc
.long DIE57 - .Ldebug_info0 # DW_AT_abstract_origin
DIEc7: .uleb128 0xd # (DIE (0xc7) DW_TAG_GNU_call_site_parameter)
.uleb128 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.uleb128 0x2 # DW_AT_GNU_call_site_value
.byte 0x91 # DW_OP_fbreg
.sleb128 -12
#if 0
.uleb128 0x1 # DW_AT_GNU_call_site_data_value
.byte 0x3a # DW_OP_lit10
#else
.uleb128 1f - 2f # DW_AT_GNU_call_site_data_value
2:
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 1f - 3f
3:
.byte 0x55 # DW_OP_reg5
1:
#endif
.byte 0 # end of children of DIE 0xba
.byte 0 # end of children of DIE 0x9b
.byte 0 # end of children of DIE 0x7a
DIEd2: .uleb128 0xe # (DIE (0xd2) DW_TAG_variable)
.ascii "vv\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value-paramref.cc)
.byte 0x12 # DW_AT_decl_line
.long DIEe6 - .Ldebug_info0 # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad vv
DIEe6: .uleb128 0xf # (DIE (0xe6) DW_TAG_volatile_type)
.long DIE45 - .Ldebug_info0 # DW_AT_type
DIEeb: .uleb128 0xe # (DIE (0xeb) DW_TAG_variable)
.ascii "p\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value-paramref.cc)
.byte 0x12 # DW_AT_decl_line
.long DIEfe - .Ldebug_info0 # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad p
DIEfe: .uleb128 0x10 # (DIE (0xfe) DW_TAG_pointer_type)
.byte 0x8 # DW_AT_byte_size
.long DIEe6 - .Ldebug_info0 # DW_AT_type
.byte 0 # end of children of DIE 0xb
.Linfo_end:
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x55 # (DW_AT_ranges)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x17 # (DW_FORM_sec_offset)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x20 # (DW_AT_inline)
.uleb128 0xb # (DW_FORM_data1)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x4 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0
.byte 0
.uleb128 0x5 # (abbrev code)
.uleb128 0x26 # (TAG: DW_TAG_const_type)
.byte 0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x6 # (abbrev code)
.uleb128 0x10 # (TAG: DW_TAG_reference_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x7 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.byte 0
.byte 0
.uleb128 0x8 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x9 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.byte 0
.byte 0
.uleb128 0xa # (abbrev code)
.uleb128 0xb # (TAG: DW_TAG_lexical_block)
.byte 0x1 # DW_children_yes
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.byte 0
.byte 0
.uleb128 0xb # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0xc # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0x1 # DW_children_yes
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xd # (abbrev code)
.uleb128 0x410a # (TAG: DW_TAG_GNU_call_site_parameter)
.byte 0 # DW_children_no
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2111 # (DW_AT_GNU_call_site_value)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2112 # (DW_AT_GNU_call_site_data_value)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0xe # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0xf # (abbrev code)
.uleb128 0x35 # (TAG: DW_TAG_volatile_type)
.byte 0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x10 # (abbrev code)
.uleb128 0xf # (TAG: DW_TAG_pointer_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.byte 0
.section .debug_aranges,"",@progbits
.long 0x3c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 16 byte boundary
.value 0
.quad .Ltext0 # Address
.quad .Letext0-.Ltext0 # Length
.quad .LFB1 # Address
.quad .LFE1-.LFB1 # Length
.quad 0
.quad 0
.section .debug_ranges,"",@progbits
.Ldebug_ranges0:
.quad .Ltext0 # Offset 0
.quad .Letext0
.quad .LFB1 # Offset 0x10
.quad .LFE1
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF1:
.string "gdb.arch/amd64-entry-value-paramref.cc"
.LASF2:
.string ""
.LASF0:
.string "GNU C++ 4.8.2 20131212 (Red Hat 4.8.2-7) -mtune=generic -march=x86-64 -g -O2"
.LASF3:
.string "main"
.ident "GCC: (GNU) 4.8.2 20131212 (Red Hat 4.8.2-7)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 2,332
|
gdb/testsuite/gdb.arch/s390-vregs.S
|
/* Copyright 2015-2022 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
/* 'check_vx': Yield SIGILL unless vector support is
available. Have a "pit stop" breakpoint here. */
.align 8
.type check_vx, @function
check_vx:
.cfi_startproc
/* vlr %v0,%v0 */
.byte 0xe7,0x00,0x00,0x00,0x00,0x56
br %r14
.cfi_endproc
.size check_vx, .-check_vx
/* 'store_vrs': Store vector registers in save_area. */
.align 8
.type store_vrs, @function
store_vrs:
.cfi_startproc
larl %r1,save_area
/* vstm %v0,%v15,0(%r1) */
.byte 0xe7,0x0f,0x10,0x00,0x00,0x3e
/* vstm %v16,%v31,256(%r1) */
.byte 0xe7,0x0f,0x11,0x00,0x0c,0x3e
br %r14
.cfi_endproc
.size store_vrs, .-store_vrs
/* 'change_vrs': Manipulate vector registers according to a
simple algorithm. */
.align 8
.type change_vrs, @function
change_vrs:
.cfi_startproc
lghi %r1,16
lghi %r3,0xff
1: .insn ril,0xc60000000000,%r3,2f /* exrl */
.insn ril,0xc60000000000,%r3,1f /* exrl */
aghi %r3,-0x11
brctg %r1,1b
br %r14
.cfi_endproc
/* vmlf %v0,%v0,%v0 */
1: .byte 0xe7,0x00,0x00,0x00,0x20,0xa2
/* vmlf %v16,%v16,%v0 */
2: .byte 0xe7,0x00,0x00,0x00,0x2c,0xa2
/* 'main': Perform actions according to test case logic.
Invoke check_vx whenever a pit stop is required. */
.section .text.startup,"ax",@progbits
.align 8
.globl main
.type main, @function
main:
.cfi_startproc
stmg %r14,%r15,112(%r15)
aghi %r15,-160
bras %r14,check_vx
bras %r14,store_vrs
bras %r14,check_vx
bras %r14,change_vrs
bras %r14,check_vx
lmg %r14,%r15,272(%r15)
lghi %r2,0
br %r14
.cfi_endproc
.size main, .-main
.local save_area
.comm save_area,512,16
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 1,268
|
gdb/testsuite/gdb.arch/riscv64-unwind-prologue-with-mv.s
|
/* Copyright 2021-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This testcase contains a function where the 'c.mv' instruction is used in
the prologue.
The following functions are roughly equivalent to the following C code (with
prologue crafted to contain the c.mv instruction):
int bar () { return 0; }
int foo () { return bar (); } */
.option pic
.text
.align 1
.globl bar
.type bar, @function
bar:
li a0,0
jr ra
.size bar, .-bar
.align 1
.globl foo
.type foo, @function
foo:
addi sp,sp,-32
c.mv t3,ra
sd t3,8(sp)
call bar
ld t3,8(sp)
mv ra,t3
addi sp,sp,32
jr ra
.size foo, .-foo
|
stsp/binutils-ia16
| 3,314
|
gdb/testsuite/gdb.arch/amd64-disp-step.S
|
/* Copyright 2009-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
This file is part of the gdb testsuite.
It tests displaced stepping over various insns that require special
handling. */
.text
.global main
main:
nop
/***********************************************/
/* test call/ret */
.global test_call
test_call:
call test_call_subr
nop
.global test_ret_end
test_ret_end:
nop
/***********************************************/
/* test abs-jmp/rep-ret */
test_abs_jmp_setup:
mov $test_abs_jmp_return,%rdx
push %rdx
mov $test_abs_jmp_subr,%rdx
.global test_abs_jmp
test_abs_jmp:
jmp *%rdx
test_abs_jmp_return:
nop
.global test_rep_ret_end
test_rep_ret_end:
nop
/***********************************************/
/* test syscall */
.global test_syscall
mov $0x27,%eax /* getpid */
test_syscall:
syscall
nop
test_syscall_end:
nop
/***********************************************/
/* Test stepping over int3.
The prefixes are pointless, but it's possible, so we exercise it. */
nop
.global test_int3
test_int3:
repz
repz
int3
nop
.global test_int3_end
test_int3_end:
nop
/***********************************************/
/* test rip-relative
GDB picks a spare register to hold the rip-relative address.
Exercise all the possibilities (rax-rdi, sans rsp). */
.global test_rip_rax
test_rip_rax:
add answer(%rip),%rax
.global test_rip_rax_end
test_rip_rax_end:
nop
.global test_rip_rbx
test_rip_rbx:
add answer(%rip),%rbx
.global test_rip_rbx_end
test_rip_rbx_end:
nop
.global test_rip_rcx
test_rip_rcx:
add answer(%rip),%rcx
.global test_rip_rcx_end
test_rip_rcx_end:
nop
.global test_rip_rdx
test_rip_rdx:
add answer(%rip),%rdx
.global test_rip_rdx_end
test_rip_rdx_end:
nop
.global test_rip_rbp
test_rip_rbp:
add answer(%rip),%rbp
.global test_rip_rbp_end
test_rip_rbp_end:
nop
.global test_rip_rsi
test_rip_rsi:
add answer(%rip),%rsi
.global test_rip_rsi_end
test_rip_rsi_end:
nop
.global test_rip_rdi
test_rip_rdi:
add answer(%rip),%rdi
.global test_rip_rdi_end
test_rip_rdi_end:
nop
/* skip over test data */
jmp done
/* test rip-relative data */
answer: .8byte 42
/***********************************************/
/* all done */
done:
mov $0,%rdi
call exit
hlt
/***********************************************/
/* subroutine to help test call/ret */
test_call_subr:
nop
.global test_call_end
test_call_end:
nop
.global test_ret
test_ret:
ret
/***********************************************/
/* subroutine to help test abs-jmp/rep-ret */
test_abs_jmp_subr:
nop
.global test_abs_jmp_end
test_abs_jmp_end:
nop
.global test_rep_ret
test_rep_ret:
repz
ret
|
stsp/binutils-ia16
| 24,436
|
gdb/testsuite/gdb.arch/arc-decode-insn.S
|
; This testcase is part of GDB, the GNU debugger.
; Copyright 2017-2022 Free Software Foundation, Inc.
; This program is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; either version 3 of the License, or
; (at your option) any later version.
;
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with this program. If not, see <http://www.gnu.org/licenses/>.
.section .text
.global main
#define TEST_J
#define TEST_JCC
#define TEST_JL
#define TEST_JLCC
#define TEST_B
#define TEST_BBIT
#define TEST_BCC
#define TEST_BI
#define TEST_BL
#define TEST_BRCC
#define TEST_JLI
#define TEST_LEAVE_S
#define TEST_LPCC
; JLI-specific stuff
#ifdef TEST_JLI
jli_table:
.word 0xdeadbeea
.word 0xdeadbeea
jli_target:
.word 0xdeadbeea
.word 0xdeadbeea
.set jli_offset, 3
#endif
main:
; Each test case requires several symbols to be set, that identify expected
; parameters of this instruction. Required symbols:
; ${test}_start: symbol points to start of the test
; ${test}_end: symbol points to the instruction after the jump/branch
; instruction.
; ${test}_target: branch target address.
; ${test}_has_delay_slot: whether instruction has delay slot.
; ${test}_cc: condition code numeric value.
.set r12_value, 0xdead0000
.set blink_value, 0xdead0004
.set limm_value, 0xdead0008
; Just an integer
.set r4_value, 0xdead000c
; Just an integer
.set r5_value, 0xdead0010
; offset index for BI [c]
.set r7_value, 4
.set u6_value, 0x20
.set s12_target, 0x100
mov r12, @r12_value
mov r4, @r4_value
mov r5, @r5_value
mov r7, @r7_value
mov blink, @blink_value
#ifdef TEST_JLI
; jli_base aux regnum = 0x290
sr jli_table, [0x290]
#endif
start_branch_tests:
#ifdef TEST_J
#define TEST_NAME j_c
; j [c]
.set j_c_target, @r4_value
.set j_c_has_delay_slot, 0
.set j_c_cc, 0
j_c_start:
j [r4]
j_c_end:
; j [blink]
.set j_blink_target, @blink_value
.set j_blink_has_delay_slot, 0
.set j_blink_cc, 0
mov blink, @j_blink_target
j_blink_start:
j [blink]
j_blink_end:
; j limm
.set j_limm_target, @limm_value
.set j_limm_has_delay_slot, 0
.set j_limm_cc, 0
j_limm_start:
j @j_limm_target
j_limm_end:
; j u6
.set j_u6_target, @u6_value
.set j_u6_has_delay_slot, 0
.set j_u6_cc, 0
j_u6_start:
j @j_u6_target
j_u6_end:
; j s12
.set j_s12_target, @s12_target
.set j_s12_has_delay_slot, 0
.set j_s12_cc, 0
j_s12_start:
j @j_s12_target
j_s12_end:
; j.d [c]
.set j_d_c_target, @r4_value
.set j_d_c_has_delay_slot, 1
.set j_d_c_cc, 0
j_d_c_start:
j.d [r4]
j_d_c_end:
nop_s
; j.d [blink]
.set j_d_blink_target, @blink_value
.set j_d_blink_has_delay_slot, 1
.set j_d_blink_cc, 0
j_d_blink_start:
j.d [blink]
j_d_blink_end:
nop_s
; j.d u6
.set j_d_u6_target, @u6_value
.set j_d_u6_has_delay_slot, 1
.set j_d_u6_cc, 0
j_d_u6_start:
j.d @j_d_u6_target
j_d_u6_end:
nop_s
; j.d s12
.set j_d_s12_target, @s12_target
.set j_d_s12_has_delay_slot, 1
.set j_d_s12_cc, 0
j_d_s12_start:
j.d @j_d_s12_target
j_d_s12_end:
nop_s
; j_s [b]
.set j_s_b_target, @r12_value
.set j_s_b_has_delay_slot, 0
.set j_s_b_cc, 0
j_s_b_start:
j_s [r12]
j_s_b_end:
; j_s.d [b]
.set j_s_d_b_target, @r12_value
.set j_s_d_b_has_delay_slot, 1
.set j_s_d_b_cc, 0
j_s_d_b_start:
j_s.d [r12]
j_s_d_b_end:
nop_s
; j_s [blink]
.set j_s_blink_target, @blink_value
.set j_s_blink_has_delay_slot, 0
.set j_s_blink_cc, 0
j_s_blink_start:
j_s [blink]
j_s_blink_end:
; j_s.d [blink]
.set j_s_d_blink_target, @blink_value
.set j_s_d_blink_has_delay_slot, 1
.set j_c_cc, 0
j_s_d_blink_start:
j_s.d [blink]
j_s_d_blink_end:
nop_s
#endif /* TEST_J */
#ifdef TEST_JCC
; jcc [c]
.set jcc_c_target, @r4_value
.set jcc_c_has_delay_slot, 0
.set jcc_c_cc, 1
jcc_c_start:
jeq [r4]
jcc_c_end:
; jcc [blink]
.set jcc_blink_target, @blink_value
.set jcc_blink_has_delay_slot, 0
.set jcc_blink_cc, 2
jcc_blink_start:
jnz [blink]
jcc_blink_end:
; jcc limm
.set jcc_limm_target, @limm_value
.set jcc_limm_has_delay_slot, 0
.set jcc_limm_cc, 9
jcc_limm_start:
jgt @jcc_limm_target
jcc_limm_end:
; jcc u6
.set jcc_u6_target, @u6_value
.set jcc_u6_has_delay_slot, 0
.set jcc_u6_cc, 0xA
jcc_u6_start:
jge @jcc_u6_target
jcc_u6_end:
; jcc.d [c]
.set jcc_d_c_target, @r4_value
.set jcc_d_c_has_delay_slot, 1
.set jcc_d_c_cc, 0xB
jcc_d_c_start:
jlt.d [r4]
jcc_d_c_end:
nop_s
; jcc.d [blink]
.set jcc_d_blink_target, @blink_value
.set jcc_d_blink_has_delay_slot, 1
.set jcc_d_blink_cc, 0xC
jcc_d_blink_start:
jle.d [blink]
jcc_d_blink_end:
nop_s
; jcc.d u6
.set jcc_d_u6_target, @u6_value
.set jcc_d_u6_has_delay_slot, 1
.set jcc_d_u6_cc, 0xE
jcc_d_u6_start:
jls.d @jcc_d_u6_target
jcc_d_u6_end:
nop_s
; jeq_s [blink]
.set jcc_eq_s_blink_target, @blink_value
.set jcc_eq_s_blink_has_delay_slot, 0
.set jcc_eq_s_blink_cc, 1
jcc_eq_s_blink_start:
jeq_s [blink]
jcc_eq_s_blink_end:
; jne_s [blink]
.set jcc_ne_s_blink_target, @blink_value
.set jcc_ne_s_blink_has_delay_slot, 0
.set jcc_ne_s_blink_cc, 2
jcc_ne_s_blink_start:
jne_s [blink]
jcc_ne_s_blink_end:
#endif /* TEST_JCC */
#ifdef TEST_JL
; jl [c]
.set jl_c_target, @r4_value
.set jl_c_has_delay_slot, 0
.set jl_c_cc, 0
jl_c_start:
jl [r4]
jl_c_end:
; jl limm
.set jl_limm_target, @limm_value
.set jl_limm_has_delay_slot, 0
.set jl_limm_cc, 0
jl_limm_start:
jl @jl_limm_target
jl_limm_end:
; jl u6
.set jl_u6_target, @u6_value
.set jl_u6_has_delay_slot, 0
.set jl_u6_cc, 0
jl_u6_start:
jl @jl_u6_target
jl_u6_end:
; jl s12
.set jl_s12_target, @s12_target
.set jl_s12_has_delay_slot, 0
.set jl_s12_cc, 0
jl_s12_start:
jl @jl_s12_target
jl_s12_end:
; jl.d [c]
.set jl_d_c_target, @r4_value
.set jl_d_c_has_delay_slot, 1
.set jl_d_c_cc, 0
jl_d_c_start:
jl.d [r4]
jl_d_c_end:
nop_s
; jl.d u6
.set jl_d_u6_target, @u6_value
.set jl_d_u6_has_delay_slot, 1
.set jl_d_u6_cc, 0
jl_d_u6_start:
jl.d @jl_d_u6_target
jl_d_u6_end:
nop_s
; jl.d s12
.set jl_d_s12_target, @s12_target
.set jl_d_s12_has_delay_slot, 1
.set jl_d_s12_cc, 0
jl_d_s12_start:
jl.d @jl_d_s12_target
jl_d_s12_end:
nop_s
; jl_s [b]
.set jl_s_b_target, @r12_value
.set jl_s_b_has_delay_slot, 0
.set jl_s_b_cc, 0
jl_s_b_start:
jl_s [r12]
jl_s_b_end:
; jl_s.d [b]
.set jl_s_d_b_target, @r12_value
.set jl_s_d_b_has_delay_slot, 1
.set jl_s_d_b_cc, 0
jl_s_d_b_start:
jl_s.d [r12]
jl_s_d_b_end:
nop_s
#endif /* TEST_JL */
#ifdef TEST_JLCC
; jlcc [c]
.set jlcc_c_target, @r4_value
.set jlcc_c_has_delay_slot, 0
.set jlcc_c_cc, 1
jlcc_c_start:
jleq [r4]
jlcc_c_end:
; jlcc limm
.set jlcc_limm_target, @limm_value
.set jlcc_limm_has_delay_slot, 0
.set jlcc_limm_cc, 0x9
jlcc_limm_start:
jlgt @jlcc_limm_target
jlcc_limm_end:
; jlcc u6
.set jlcc_u6_target, @u6_value
.set jlcc_u6_has_delay_slot, 0
.set jlcc_u6_cc, 0xA
jlcc_u6_start:
jlge @jlcc_u6_target
jlcc_u6_end:
; jlcc.d [c]
.set jlcc_d_c_target, @r4_value
.set jlcc_d_c_has_delay_slot, 1
.set jlcc_d_c_cc, 0xB
jlcc_d_c_start:
jllt.d [r4]
jlcc_d_c_end:
nop_s
; jlcc.d u6
.set jlcc_d_u6_target, @u6_value
.set jlcc_d_u6_has_delay_slot, 1
.set jlcc_d_u6_cc, 0xE
jlcc_d_u6_start:
jlls.d @jlcc_d_u6_target
jlcc_d_u6_end:
nop_s
#endif /* TEST_JLCC */
#ifdef TEST_B
.Lb_target:
; Artifical nop, so that first b will not branch to itself.
nop_s
; b s25
.set b_s25_target, @.Lb_target
.set b_s25_has_delay_slot, 0
.set b_s25_cc, 0
b_s25_start:
b @b_s25_target
b_s25_end:
; b.d s25
.set b_d_s25_target, @.Lb_target
.set b_d_s25_has_delay_slot, 1
.set b_d_s25_cc, 0
b_d_s25_start:
b.d @b_d_s25_target
b_d_s25_end:
nop_s
; b_s s10
.set b_s_s10_target, @.Lb_target
.set b_s_s10_has_delay_slot, 0
.set b_s_s10_cc, 0
b_s_s10_start:
b_s @b_s_s10_target
b_s_s10_end:
#endif /* TEST_B */
#ifdef TEST_BBIT
; Due to specifics of bbit implementation in assembler, only local symbols can
; be used as a branch targets for bbit and brcc.
; bbits and brcc don't have condition code set to anything.
.Lbbit_target:
nop_s
; bbit0.nt b,c,s9
.set bbit0_nt_b_c_s9_target, @.Lbbit_target
.set bbit0_nt_b_c_s9_has_delay_slot, 0
.set bbit0_nt_b_c_s9_cc, 0
bbit0_nt_b_c_s9_start:
bbit0.nt r4,r5,@bbit0_nt_b_c_s9_target
bbit0_nt_b_c_s9_end:
; bbit0.d.nt b,c,s9
.set bbit0_d_nt_b_c_s9_target, @.Lbbit_target
.set bbit0_d_nt_b_c_s9_has_delay_slot, 1
.set bbit0_d_nt_b_c_s9_cc, 0
bbit0_d_nt_b_c_s9_start:
bbit0.d.nt r4,r5,@.Lbbit_target
bbit0_d_nt_b_c_s9_end:
nop_s
; bbit0.t b,c,s9
.set bbit0_t_b_c_s9_target, @.Lbbit_target
.set bbit0_t_b_c_s9_has_delay_slot, 0
.set bbit0_t_b_c_s9_cc, 0
bbit0_t_b_c_s9_start:
bbit0.t r4,r5,@.Lbbit_target
bbit0_t_b_c_s9_end:
; bbit0.d.t b,c,s9
.set bbit0_d_t_b_c_s9_target, @.Lbbit_target
.set bbit0_d_t_b_c_s9_has_delay_slot, 1
.set bbit0_d_t_b_c_s9_cc, 0
bbit0_d_t_b_c_s9_start:
bbit0.d.t r4,r5,@.Lbbit_target
bbit0_d_t_b_c_s9_end:
nop_s
; bbit0.nt b,u6,s9
.set bbit0_nt_b_u6_s9_target, @.Lbbit_target
.set bbit0_nt_b_u6_s9_has_delay_slot, 0
.set bbit0_nt_b_u6_s9_cc, 0
bbit0_nt_b_u6_s9_start:
bbit0.nt r4,u6_value,@.Lbbit_target
bbit0_nt_b_u6_s9_end:
; bbit0.d.nt b,u6,s9
.set bbit0_d_nt_b_u6_s9_target, @.Lbbit_target
.set bbit0_d_nt_b_u6_s9_has_delay_slot, 1
.set bbit0_d_nt_b_u6_s9_cc, 0
bbit0_d_nt_b_u6_s9_start:
bbit0.d.nt r4,u6_value,@.Lbbit_target
bbit0_d_nt_b_u6_s9_end:
nop_s
; bbit0.nt b,u6,s9
.set bbit0_t_b_u6_s9_target, @.Lbbit_target
.set bbit0_t_b_u6_s9_has_delay_slot, 0
.set bbit0_t_b_u6_s9_cc, 0
bbit0_t_b_u6_s9_start:
bbit0.t r4,u6_value,@.Lbbit_target
bbit0_t_b_u6_s9_end:
; bbit0.d.nt b,u6,s9
.set bbit0_d_t_b_u6_s9_target, @.Lbbit_target
.set bbit0_d_t_b_u6_s9_has_delay_slot, 1
.set bbit0_d_t_b_u6_s9_cc, 0
bbit0_d_t_b_u6_s9_start:
bbit0.d.t r4,u6_value,@.Lbbit_target
bbit0_d_t_b_u6_s9_end:
nop_s
; bbit0.nt b,limm,s9
.set bbit0_nt_b_limm_s9_target, @.Lbbit_target
.set bbit0_nt_b_limm_s9_has_delay_slot, 0
.set bbit0_nt_b_limm_s9_cc, 0
bbit0_nt_b_limm_s9_start:
bbit0.nt r4,limm_value,@.Lbbit_target
bbit0_nt_b_limm_s9_end:
; bbit0.t b,limm,s9
.set bbit0_t_b_limm_s9_target, @.Lbbit_target
.set bbit0_t_b_limm_s9_has_delay_slot, 0
.set bbit0_t_b_limm_s9_cc, 0
bbit0_t_b_limm_s9_start:
bbit0.t r4,limm_value,@.Lbbit_target
bbit0_t_b_limm_s9_end:
; bbit0.nt limm,c,s9
.set bbit0_nt_limm_c_s9_target, @.Lbbit_target
.set bbit0_nt_limm_c_s9_has_delay_slot, 0
.set bbit0_nt_limm_c_s9_cc, 0
bbit0_nt_limm_c_s9_start:
bbit0.nt limm_value,r4,@.Lbbit_target
bbit0_nt_limm_c_s9_end:
; bbit0.t limm,c,s9
.set bbit0_t_limm_c_s9_target, @.Lbbit_target
.set bbit0_t_limm_c_s9_has_delay_slot, 0
.set bbit0_t_limm_c_s9_cc, 0
bbit0_t_limm_c_s9_start:
bbit0.t limm_value,r4,@.Lbbit_target
bbit0_t_limm_c_s9_end:
; bbit0.nt limm,u6,s9
.set bbit0_nt_limm_u6_s9_target, @.Lbbit_target
.set bbit0_nt_limm_u6_s9_has_delay_slot, 0
.set bbit0_nt_limm_u6_s9_cc, 0
bbit0_nt_limm_u6_s9_start:
bbit0.nt limm_value,u6_value,@.Lbbit_target
bbit0_nt_limm_u6_s9_end:
; bbit0.t limm,u6,s9
.set bbit0_t_limm_u6_s9_target, @.Lbbit_target
.set bbit0_t_limm_u6_s9_has_delay_slot, 0
.set bbit0_t_limm_u6_s9_cc, 0
bbit0_t_limm_u6_s9_start:
bbit0.t limm_value,u6_value,@.Lbbit_target
bbit0_t_limm_u6_s9_end:
; bbit1.nt b,c,s9
.set bbit1_nt_b_c_s9_target, @.Lbbit_target
.set bbit1_nt_b_c_s9_has_delay_slot, 0
.set bbit1_nt_b_c_s9_cc, 0
bbit1_nt_b_c_s9_start:
bbit1.nt r4,r5,@.Lbbit_target
bbit1_nt_b_c_s9_end:
; bbit1.d.nt b,c,s9
.set bbit1_d_nt_b_c_s9_target, @.Lbbit_target
.set bbit1_d_nt_b_c_s9_has_delay_slot, 1
.set bbit1_d_nt_b_c_s9_cc, 0
bbit1_d_nt_b_c_s9_start:
bbit1.d.nt r4,r5,@.Lbbit_target
bbit1_d_nt_b_c_s9_end:
nop_s
; bbit1.t b,c,s9
.set bbit1_t_b_c_s9_target, @.Lbbit_target
.set bbit1_t_b_c_s9_has_delay_slot, 0
.set bbit1_t_b_c_s9_cc, 0
bbit1_t_b_c_s9_start:
bbit1.t r4,r5,@.Lbbit_target
bbit1_t_b_c_s9_end:
; bbit1.d.t b,c,s9
.set bbit1_d_t_b_c_s9_target, @.Lbbit_target
.set bbit1_d_t_b_c_s9_has_delay_slot, 1
.set bbit1_d_t_b_c_s9_cc, 0
bbit1_d_t_b_c_s9_start:
bbit1.d.t r4,r5,@.Lbbit_target
bbit1_d_t_b_c_s9_end:
nop_s
; bbit1.nt b,u6,s9
.set bbit1_nt_b_u6_s9_target, @.Lbbit_target
.set bbit1_nt_b_u6_s9_has_delay_slot, 0
.set bbit1_nt_b_u6_s9_cc, 0
bbit1_nt_b_u6_s9_start:
bbit1.nt r4,u6_value,@.Lbbit_target
bbit1_nt_b_u6_s9_end:
; bbit1.d.nt b,u6,s9
.set bbit1_d_nt_b_u6_s9_target, @.Lbbit_target
.set bbit1_d_nt_b_u6_s9_has_delay_slot, 1
.set bbit1_d_nt_b_u6_s9_cc, 0
bbit1_d_nt_b_u6_s9_start:
bbit1.d.nt r4,u6_value,@.Lbbit_target
bbit1_d_nt_b_u6_s9_end:
nop_s
; bbit1.nt b,u6,s9
.set bbit1_t_b_u6_s9_target, @.Lbbit_target
.set bbit1_t_b_u6_s9_has_delay_slot, 0
.set bbit1_t_b_u6_s9_cc, 0
bbit1_t_b_u6_s9_start:
bbit1.t r4,u6_value,@.Lbbit_target
bbit1_t_b_u6_s9_end:
; bbit1.d.nt b,u6,s9
.set bbit1_d_t_b_u6_s9_target, @.Lbbit_target
.set bbit1_d_t_b_u6_s9_has_delay_slot, 1
.set bbit1_d_t_b_u6_s9_cc, 0
bbit1_d_t_b_u6_s9_start:
bbit1.d.t r4,u6_value,@.Lbbit_target
bbit1_d_t_b_u6_s9_end:
nop_s
; bbit1.nt b,limm,s9
.set bbit1_nt_b_limm_s9_target, @.Lbbit_target
.set bbit1_nt_b_limm_s9_has_delay_slot, 0
.set bbit1_nt_b_limm_s9_cc, 0
bbit1_nt_b_limm_s9_start:
bbit1.nt r4,limm_value,@.Lbbit_target
bbit1_nt_b_limm_s9_end:
; bbit1.t b,limm,s9
.set bbit1_t_b_limm_s9_target, @.Lbbit_target
.set bbit1_t_b_limm_s9_has_delay_slot, 0
.set bbit1_t_b_limm_s9_cc, 0
bbit1_t_b_limm_s9_start:
bbit1.t r4,limm_value,@.Lbbit_target
bbit1_t_b_limm_s9_end:
; bbit1.nt limm,c,s9
.set bbit1_nt_limm_c_s9_target, @.Lbbit_target
.set bbit1_nt_limm_c_s9_has_delay_slot, 0
.set bbit1_nt_limm_c_s9_cc, 0
bbit1_nt_limm_c_s9_start:
bbit1.nt limm_value,r4,@.Lbbit_target
bbit1_nt_limm_c_s9_end:
; bbit1.t limm,c,s9
.set bbit1_t_limm_c_s9_target, @.Lbbit_target
.set bbit1_t_limm_c_s9_has_delay_slot, 0
.set bbit1_t_limm_c_s9_cc, 0
bbit1_t_limm_c_s9_start:
bbit1.t limm_value,r4,@.Lbbit_target
bbit1_t_limm_c_s9_end:
; bbit1.nt limm,u6,s9
.set bbit1_nt_limm_u6_s9_target, @.Lbbit_target
.set bbit1_nt_limm_u6_s9_has_delay_slot, 0
.set bbit1_nt_limm_u6_s9_cc, 0
bbit1_nt_limm_u6_s9_start:
bbit1.nt limm_value,u6_value,@.Lbbit_target
bbit1_nt_limm_u6_s9_end:
; bbit1.t limm,u6,s9
.set bbit1_t_limm_u6_s9_target, @.Lbbit_target
.set bbit1_t_limm_u6_s9_has_delay_slot, 0
.set bbit1_t_limm_u6_s9_cc, 0
bbit1_t_limm_u6_s9_start:
bbit1.t limm_value,u6_value,@.Lbbit_target
bbit1_t_limm_u6_s9_end:
#endif /* TEST_BBIT */
#ifdef TEST_BCC
.Lbcc_target:
; bcc s21
.set bcc_s21_target, @.Lbcc_target
.set bcc_s21_has_delay_slot, 0
.set bcc_s21_cc, 1
bcc_s21_start:
; beq @bcc_s21_target
beq @.Lbcc_target
bcc_s21_end:
; bcc.d s21
.set bcc_d_s21_target, @.Lbcc_target
.set bcc_d_s21_has_delay_slot, 1
.set bcc_d_s21_cc, 1
bcc_d_s21_start:
beq.d @bcc_d_s21_target
bcc_d_s21_end:
nop_s
.Lbcc_s_target:
; beq_s s10
.set beq_s_s10_target, @.Lbcc_s_target
.set beq_s_s10_has_delay_slot, 0
.set beq_s_s10_cc, 1
beq_s_s10_start:
# beq_s.d @beq_s_s10_target
beq_s @.Lbcc_s_target
beq_s_s10_end:
; bne_s s10
.set bne_s_s10_target, @.Lbcc_s_target
.set bne_s_s10_has_delay_slot, 0
.set bne_s_s10_cc, 2
bne_s_s10_start:
bne_s @bne_s_s10_target
bne_s_s10_end:
; bgt_s s7
.set bgt_s_s7_target, @.Lbcc_s_target
.set bgt_s_s7_has_delay_slot, 0
.set bgt_s_s7_cc, 0x9
bgt_s_s7_start:
bgt_s @bgt_s_s7_target
bgt_s_s7_end:
; bge_s s7
.set bge_s_s7_target, @.Lbcc_s_target
.set bge_s_s7_has_delay_slot, 0
.set bge_s_s7_cc, 0xA
bge_s_s7_start:
bge_s @bge_s_s7_target
bge_s_s7_end:
; blt_s s7
.set blt_s_s7_target, @.Lbcc_s_target
.set blt_s_s7_has_delay_slot, 0
.set blt_s_s7_cc, 0xB
blt_s_s7_start:
blt_s @blt_s_s7_target
blt_s_s7_end:
; ble_s s7
.set ble_s_s7_target, @.Lbcc_s_target
.set ble_s_s7_has_delay_slot, 0
.set ble_s_s7_cc, 0xC
ble_s_s7_start:
ble_s @ble_s_s7_target
ble_s_s7_end:
; bhi_s s7
.set bhi_s_s7_target, @.Lbcc_s_target
.set bhi_s_s7_has_delay_slot, 0
.set bhi_s_s7_cc, 0xD
bhi_s_s7_start:
bhi_s @bhi_s_s7_target
bhi_s_s7_end:
; bhs_s s7
.set bhs_s_s7_target, @.Lbcc_s_target
.set bhs_s_s7_has_delay_slot, 0
.set bhs_s_s7_cc, 0x6
bhs_s_s7_start:
bhs_s @bhs_s_s7_target
bhs_s_s7_end:
; blo_s s7
.set blo_s_s7_target, @.Lbcc_s_target
.set blo_s_s7_has_delay_slot, 0
.set blo_s_s7_cc, 0x5
blo_s_s7_start:
blo_s @blo_s_s7_target
blo_s_s7_end:
; bls_s s7
.set bls_s_s7_target, @.Lbcc_s_target
.set bls_s_s7_has_delay_slot, 0
.set bls_s_s7_cc, 0xE
bls_s_s7_start:
bls_s @bls_s_s7_target
bls_s_s7_end:
#endif /* TEST_BCC */
#ifdef TEST_BI
; bi [c]
.set bi_c_target, @bi_c_end + (@r7_value << 2)
.set bi_c_has_delay_slot, 0
.set bi_c_cc, 0
bi_c_start:
bi [r7]
bi_c_end:
; bih [c]
.set bih_c_target, @bih_c_end + (@r7_value << 1)
.set bih_c_has_delay_slot, 0
.set bih_c_cc, 0
bih_c_start:
bih [r7]
bih_c_end:
#endif /* TEST_BI */
#ifdef TEST_BL
.Lbl_target:
; bl s25
.set bl_s25_target, @.Lbl_target
.set bl_s25_has_delay_slot, 0
.set bl_s25_cc, 0
bl_s25_start:
bl @bl_s25_target
bl_s25_end:
; bl.d s25
.set bl_d_s25_target, @.Lbl_target
.set bl_d_s25_has_delay_slot, 1
.set bl_d_s25_cc, 0
bl_d_s25_start:
bl.d @bl_d_s25_target
bl_d_s25_end:
nop_s
; bl_s s13
.set bl_s_s13_target, @.Lbl_target
.set bl_s_s13_has_delay_slot, 0
.set bl_s_s13_cc, 0
bl_s_s13_start:
bl_s @bl_s_s13_target
bl_s_s13_end:
; blcc s21
.set blcc_s21_target, @.Lbl_target
.set blcc_s21_has_delay_slot, 0
.set blcc_s21_cc, 1
blcc_s21_start:
bleq @blcc_s21_target
blcc_s21_end:
; blcc.d s21
.set blcc_d_s21_target, @.Lbl_target
.set blcc_d_s21_has_delay_slot, 1
.set blcc_d_s21_cc, 2
blcc_d_s21_start:
blnz.d @blcc_d_s21_target
blcc_d_s21_end:
nop_s
#endif /* TEST_BL */
#ifdef TEST_BRCC
.Lbrcc_target:
; breq.nt b,c,s9
.set breq_nt_b_c_s9_target, @.Lbrcc_target
.set breq_nt_b_c_s9_has_delay_slot, 0
.set breq_nt_b_c_s9_cc, 1
breq_nt_b_c_s9_start:
breq.nt r4,r5,@.Lbrcc_target
breq_nt_b_c_s9_end:
; breq.d.nt b,c,s9
.set breq_d_nt_b_c_s9_target, @.Lbrcc_target
.set breq_d_nt_b_c_s9_has_delay_slot, 1
.set breq_d_nt_b_c_s9_cc, 1
breq_d_nt_b_c_s9_start:
breq.d.nt r4,r5,@.Lbrcc_target
breq_d_nt_b_c_s9_end:
nop_s
; breq.t b,c,s9
.set breq_t_b_c_s9_target, @.Lbrcc_target
.set breq_t_b_c_s9_has_delay_slot, 0
.set breq_t_b_c_s9_cc, 1
breq_t_b_c_s9_start:
breq.t r4,r5,@.Lbrcc_target
breq_t_b_c_s9_end:
; breq.d.t b,c,s9
.set breq_d_t_b_c_s9_target, @.Lbrcc_target
.set breq_d_t_b_c_s9_has_delay_slot, 1
.set breq_d_t_b_c_s9_cc, 1
breq_d_t_b_c_s9_start:
breq.d.t r4,r5,@.Lbrcc_target
breq_d_t_b_c_s9_end:
nop_s
; breq.nt b,u6,s9
.set breq_nt_b_u6_s9_target, @.Lbrcc_target
.set breq_nt_b_u6_s9_has_delay_slot, 0
.set breq_nt_b_u6_s9_cc, 1
breq_nt_b_u6_s9_start:
breq.nt r4,u6_value,@.Lbrcc_target
breq_nt_b_u6_s9_end:
; breq.d.nt b,u6,s9
.set breq_d_nt_b_u6_s9_target, @.Lbrcc_target
.set breq_d_nt_b_u6_s9_has_delay_slot, 1
.set breq_d_nt_b_u6_s9_cc, 1
breq_d_nt_b_u6_s9_start:
breq.d.nt r4,u6_value,@.Lbrcc_target
breq_d_nt_b_u6_s9_end:
nop_s
; breq.nt b,u6,s9
.set breq_t_b_u6_s9_target, @.Lbrcc_target
.set breq_t_b_u6_s9_has_delay_slot, 0
.set breq_t_b_u6_s9_cc, 1
breq_t_b_u6_s9_start:
breq.t r4,u6_value,@.Lbrcc_target
breq_t_b_u6_s9_end:
; breq.d.nt b,u6,s9
.set breq_d_t_b_u6_s9_target, @.Lbrcc_target
.set breq_d_t_b_u6_s9_has_delay_slot, 1
.set breq_d_t_b_u6_s9_cc, 1
breq_d_t_b_u6_s9_start:
breq.d.t r4,u6_value,@.Lbrcc_target
breq_d_t_b_u6_s9_end:
nop_s
; breq.nt b,limm,s9
.set breq_nt_b_limm_s9_target, @.Lbrcc_target
.set breq_nt_b_limm_s9_has_delay_slot, 0
.set breq_nt_b_limm_s9_cc, 1
breq_nt_b_limm_s9_start:
breq.nt r4,limm_value,@.Lbrcc_target
breq_nt_b_limm_s9_end:
; breq.t b,limm,s9
.set breq_t_b_limm_s9_target, @.Lbrcc_target
.set breq_t_b_limm_s9_has_delay_slot, 0
.set breq_t_b_limm_s9_cc, 1
breq_t_b_limm_s9_start:
breq.t r4,limm_value,@.Lbrcc_target
breq_t_b_limm_s9_end:
; breq.nt limm,c,s9
.set breq_nt_limm_c_s9_target, @.Lbrcc_target
.set breq_nt_limm_c_s9_has_delay_slot, 0
.set breq_nt_limm_c_s9_cc, 1
breq_nt_limm_c_s9_start:
breq.nt limm_value,r4,@.Lbrcc_target
breq_nt_limm_c_s9_end:
; breq.t limm,c,s9
.set breq_t_limm_c_s9_target, @.Lbrcc_target
.set breq_t_limm_c_s9_has_delay_slot, 0
.set breq_t_limm_c_s9_cc, 1
breq_t_limm_c_s9_start:
breq.t limm_value,r4,@.Lbrcc_target
breq_t_limm_c_s9_end:
; breq.nt limm,u6,s9
.set breq_nt_limm_u6_s9_target, @.Lbrcc_target
.set breq_nt_limm_u6_s9_has_delay_slot, 0
.set breq_nt_limm_u6_s9_cc, 1
breq_nt_limm_u6_s9_start:
breq.nt limm_value,u6_value,@.Lbrcc_target
breq_nt_limm_u6_s9_end:
; breq.t limm,u6,s9
.set breq_t_limm_u6_s9_target, @.Lbrcc_target
.set breq_t_limm_u6_s9_has_delay_slot, 0
.set breq_t_limm_u6_s9_cc, 1
breq_t_limm_u6_s9_start:
breq.t limm_value,u6_value,@.Lbrcc_target
breq_t_limm_u6_s9_end:
; brne_s b,0,s8
.set brne_s_b_0_s8_target, @.Lbrcc_target
.set brne_s_b_0_s8_has_delay_slot, 0
.set brne_s_b_0_s8_cc, 1
brne_s_b_0_s8_start:
brne r12,0,@.Lbrcc_target
brne_s_b_0_s8_end:
; breq_s b,0,s8
.set breq_s_b_0_s8_target, @.Lbrcc_target
.set breq_s_b_0_s8_has_delay_slot, 0
.set breq_s_b_0_s8_cc, 1
breq_s_b_0_s8_start:
breq r12,0,@.Lbrcc_target
breq_s_b_0_s8_end:
#endif /* TEST_BRCC */
#ifdef TEST_JLI
; jli_s u10
.set jli_s_u10_target, @jli_target
.set jli_s_u10_has_delay_slot, 0
.set jli_s_u10_cc, 0
jli_s_u10_start:
jli_s jli_offset
jli_s_u10_end:
#endif
#ifdef TEST_LEAVE_S
; leave_s
.set leave_s_target, @blink_value
.set leave_s_has_delay_slot, 0
.set leave_s_cc, 0
leave_s_start:
; leave_s [r13-gp,fp,blink,pcl]
leave_s (14 + 16 + 32 + 64)
leave_s_end:
#endif
#ifdef TEST_LPCC
; lpcc
.set lpcc_u7_target, @.Llpcc_end
.set lpcc_u7_has_delay_slot, 0
.set lpcc_u7_cc, 1
lpcc_u7_start:
lpeq @lpcc_u7_target
lpcc_u7_end:
nop
nop
.Llpcc_end:
#endif
.Lend:
|
stsp/binutils-ia16
| 1,447
|
gdb/testsuite/gdb.arch/amd64-stap-optional-prefix.S
|
/* Copyright (C) 2014-2022 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <sys/sdt.h>
.file "amd64-stap-optional-prefix.S"
.text
.globl main
main:
mov %rsp,%rbp
pushq $42
STAP_PROBE1(probe, foo, (%rsp))
STAP_PROBE1(probe, bar, -8(%rbp))
STAP_PROBE1(probe, foo_prefix, 8@(%rsp))
STAP_PROBE1(probe, bar_prefix, 8@-8(%rbp))
mov %rbp,%rsp
STAP_PROBE1(probe, uint8_probe, 1@$8)
STAP_PROBE1(probe, int8_probe, -1@$-8)
STAP_PROBE1(probe, uint16_probe, 2@$16)
STAP_PROBE1(probe, int16_probe, -2@$-16)
STAP_PROBE1(probe, uint32_probe, 4@$32)
STAP_PROBE1(probe, int32_probe, -4@$-32)
STAP_PROBE1(probe, uint64_probe, 8@$64)
STAP_PROBE1(probe, int64_probe, -8@$-64)
STAP_PROBE1(probe, fail_probe, -7@$16)
STAP_PROBE1(probe, fail2_probe, 23-@$16)
xor %rax,%rax
ret
|
stsp/binutils-ia16
| 3,906
|
gdb/testsuite/gdb.arch/i386-sse-stack-align.S
|
/* Copyright 2012-2022 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/*
gcc -S -o gdb.arch/i386-sse-stack-align.{S,c} -Wall -m32 -msse
*/
.file "i386-sse-stack-align.c"
.text
.type foo, @function
foo:
.LFB0:
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
subl $40, %esp
movaps %xmm0, -24(%ebp)
movaps %xmm1, -40(%ebp)
movaps -24(%ebp), %xmm0
movaps -40(%ebp), %xmm1
mulps %xmm1, %xmm0
addps -24(%ebp), %xmm0
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE0:
.size foo, .-foo
.type f, @function
f:
.LFB1:
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
subl $40, %esp
movaps .LC0, %xmm0
movaps %xmm0, -24(%ebp)
movaps -24(%ebp), %xmm1
movaps -24(%ebp), %xmm0
call foo
movaps %xmm0, -40(%ebp)
leal -40(%ebp), %eax
movss (%eax), %xmm0
cvttss2si %xmm0, %eax
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE1:
.size f, .-f
.type test_g0, @function
test_g0:
.LFB2:
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
subl $8, %esp
call f
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE2:
.size test_g0, .-test_g0
.type test_g1, @function
test_g1:
.LFB3:
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
subl $8, %esp
call f
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE3:
.size test_g1, .-test_g1
.type test_g2, @function
test_g2:
.LFB4:
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
subl $8, %esp
call f
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE4:
.size test_g2, .-test_g2
.type test_g3, @function
test_g3:
.LFB5:
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
subl $8, %esp
call f
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE5:
.size test_g3, .-test_g3
.type test_g4, @function
test_g4:
.LFB6:
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
subl $8, %esp
call f
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE6:
.size test_g4, .-test_g4
.globl main
.type main, @function
main:
.LFB7:
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
pushl %ebx
andl $-16, %esp
subl $16, %esp
.cfi_offset 3, -12
call test_g0
movl %eax, %ebx
movl $1, (%esp)
call test_g1
addl %eax, %ebx
movl $2, 4(%esp)
movl $1, (%esp)
call test_g2
addl %eax, %ebx
movl $3, 8(%esp)
movl $2, 4(%esp)
movl $1, (%esp)
call test_g3
addl %eax, %ebx
movl $4, 12(%esp)
movl $3, 8(%esp)
movl $2, 4(%esp)
movl $1, (%esp)
call test_g4
addl %ebx, %eax
movl -4(%ebp), %ebx
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
.cfi_restore 3
ret
.cfi_endproc
.LFE7:
.size main, .-main
.section .rodata
.align 16
.LC0:
.long 1065353216
.long 1073741824
.long 1077936128
.long 1082130432
.ident "GCC: (GNU) 4.6.4 20120612 (prerelease)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 20,910
|
gdb/testsuite/gdb.arch/powerpc-power9.s
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2014-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
.globl func
func:
.long 0x7da30474 /* cnttzd r3,r13 */
.long 0x7dc40475 /* cnttzd. r4,r14 */
.long 0x7de50434 /* cnttzw r5,r15 */
.long 0x7e060435 /* cnttzw. r6,r16 */
.long 0x7d54ae12 /* modsd r10,r20,r21 */
.long 0x7d75b616 /* modsw r11,r21,r22 */
.long 0x7d96ba12 /* modud r12,r22,r23 */
.long 0x7db7c216 /* moduw r13,r23,r24 */
.long 0x10672581 /* bcdcfn. v3,v4,0 */
.long 0x10672781 /* bcdcfn. v3,v4,1 */
.long 0x10822d81 /* bcdcfsq. v4,v5,0 */
.long 0x10822f81 /* bcdcfsq. v4,v5,1 */
.long 0x10a63581 /* bcdcfz. v5,v6,0 */
.long 0x10a63781 /* bcdcfz. v5,v6,1 */
.long 0x10c74341 /* bcdcpsgn. v6,v7,v8 */
.long 0x10e54581 /* bcdctn. v7,v8 */
.long 0x11004d81 /* bcdctsq. v8,v9 */
.long 0x11245581 /* bcdctz. v9,v10,0 */
.long 0x11245781 /* bcdctz. v9,v10,1 */
.long 0x115f5d81 /* bcdsetsgn. v10,v11,0 */
.long 0x115f5f81 /* bcdsetsgn. v10,v11,1 */
.long 0x116c6dc1 /* bcdsr. v11,v12,v13,0 */
.long 0x116c6fc1 /* bcdsr. v11,v12,v13,1 */
.long 0x118d74c1 /* bcds. v12,v13,v14,0 */
.long 0x118d76c1 /* bcds. v12,v13,v14,1 */
.long 0x11ae7d01 /* bcdtrunc. v13,v14,v15,0 */
.long 0x11ae7f01 /* bcdtrunc. v13,v14,v15,1 */
.long 0x11cf8481 /* bcdus. v14,v15,v16 */
.long 0x11f08d41 /* bcdutrunc. v15,v16,v17 */
.long 0x7e80aa5a /* lxvll vs20,0,r21 */
.long 0x7e8aaa5a /* lxvll vs20,r10,r21 */
.long 0x7ea05b5a /* stxvll vs21,0,r11 */
.long 0x7eaa5b5a /* stxvll vs21,r10,r11 */
.long 0x12d70001 /* vmul10cuq v22,v23 */
.long 0x12f8c841 /* vmul10ecuq v23,v24,v25 */
.long 0x1319d241 /* vmul10euq v24,v25,v26 */
.long 0x133a0201 /* vmul10uq v25,v26 */
.long 0xfd4b6008 /* xsaddqp v10,v11,v12 */
.long 0xfd6c6009 /* xsaddqpo v11,v12,v12 */
.long 0xfe80f00a /* xsrqpi 0,v20,v30,0 */
.long 0xfe81f00a /* xsrqpi 1,v20,v30,0 */
.long 0xfe80f60a /* xsrqpi 0,v20,v30,3 */
.long 0xfe81f60a /* xsrqpi 1,v20,v30,3 */
.long 0xfea0f80b /* xsrqpix 0,v21,v31,0 */
.long 0xfea1f80b /* xsrqpix 1,v21,v31,0 */
.long 0xfea0fe0b /* xsrqpix 0,v21,v31,3 */
.long 0xfea1fe0b /* xsrqpix 1,v21,v31,3 */
.long 0xfd8d7048 /* xsmulqp v12,v13,v14 */
.long 0xfdae7849 /* xsmulqpo v13,v14,v15 */
.long 0xfec0b84a /* xsrqpxp 0,v22,v23,0 */
.long 0xfec1b84a /* xsrqpxp 1,v22,v23,0 */
.long 0xfec0be4a /* xsrqpxp 0,v22,v23,3 */
.long 0xfec1be4a /* xsrqpxp 1,v22,v23,3 */
.long 0xfdcf80c8 /* xscpsgnqp v14,v15,v16 */
.long 0xfc0f8108 /* xscmpoqp cr0,v15,v16 */
.long 0xff8f8108 /* xscmpoqp cr7,v15,v16 */
.long 0xfc108948 /* xscmpexpqp cr0,v16,v17 */
.long 0xff908948 /* xscmpexpqp cr7,v16,v17 */
.long 0xfe329b08 /* xsmaddqp v17,v18,v19 */
.long 0xfe53a309 /* xsmaddqpo v18,v19,v20 */
.long 0xfe74ab48 /* xsmsubqp v19,v20,v21 */
.long 0xfe95b349 /* xsmsubqpo v20,v21,v22 */
.long 0xfeb6bb88 /* xsnmaddqp v21,v22,v23 */
.long 0xfed7c389 /* xsnmaddqpo v22,v23,v24 */
.long 0xfef8cbc8 /* xsnmsubqp v23,v24,v25 */
.long 0xff19d3c9 /* xsnmsubqpo v24,v25,v26 */
.long 0xff3adc08 /* xssubqp v25,v26,v27 */
.long 0xff5be409 /* xssubqpo v26,v27,v28 */
.long 0xff7cec48 /* xsdivqp v27,v28,v29 */
.long 0xff9df449 /* xsdivqpo v28,v29,v30 */
.long 0xfc1df508 /* xscmpuqp cr0,v29,v30 */
.long 0xff9df508 /* xscmpuqp cr7,v29,v30 */
.long 0xfc00f588 /* xststdcqp cr0,v30,0 */
.long 0xff80f588 /* xststdcqp cr7,v30,0 */
.long 0xfc7ffd88 /* xststdcqp cr0,v31,127 */
.long 0xfffffd88 /* xststdcqp cr7,v31,127 */
.long 0xfd405e48 /* xsabsqp v10,v11 */
.long 0xfd626648 /* xsxexpqp v11,v12 */
.long 0xfd886e48 /* xsnabsqp v12,v13 */
.long 0xfdb07648 /* xsnegqp v13,v14 */
.long 0xfdd27e48 /* xsxsigqp v14,v15 */
.long 0xfdfb8648 /* xssqrtqp v15,v16 */
.long 0xfe1b8e49 /* xssqrtqpo v16,v17 */
.long 0xfe219688 /* xscvqpuwz v17,v18 */
.long 0xfe429e88 /* xscvudqp v18,v19 */
.long 0xfe69a688 /* xscvqpswz v19,v20 */
.long 0xfe8aae88 /* xscvsdqp v20,v21 */
.long 0xfeb1b688 /* xscvqpudz v21,v22 */
.long 0xfed4be88 /* xscvqpdp v22,v23 */
.long 0xfef4c689 /* xscvqpdpo v23,v24 */
.long 0xff16ce88 /* xscvdpqp v24,v25 */
.long 0xff39d688 /* xscvqpsdz v25,v26 */
.long 0xff5be6c8 /* xsiexpqp v26,v27,v28 */
.long 0x108531fb /* vpermr v4,v5,v6,v7 */
.long 0x10a0320d /* vextractub v5,v6,0 */
.long 0x10af320d /* vextractub v5,v6,15 */
.long 0x10c03a4d /* vextractuh v6,v7,0 */
.long 0x10cf3a4d /* vextractuh v6,v7,15 */
.long 0x10e0428d /* vextractuw v7,v8,0 */
.long 0x10ef428d /* vextractuw v7,v8,15 */
.long 0x11004acd /* vextractd v8,v9,0 */
.long 0x110f4acd /* vextractd v8,v9,15 */
.long 0x1120530d /* vinsertb v9,v10,0 */
.long 0x112f530d /* vinsertb v9,v10,15 */
.long 0x11405b4d /* vinserth v10,v11,0 */
.long 0x114f5b4d /* vinserth v10,v11,15 */
.long 0x1160638d /* vinsertw v11,v12,0 */
.long 0x116f638d /* vinsertw v11,v12,15 */
.long 0x11806bcd /* vinsertd v12,v13,0 */
.long 0x118f6bcd /* vinsertd v12,v13,15 */
.long 0x7db40267 /* mfvsrld r20,vs45 */
.long 0x7dd50327 /* mtvsrws vs46,r21 */
.long 0x7de0bb67 /* mtvsrdd vs47,0,r23 */
.long 0x7df6bb67 /* mtvsrdd vs47,r22,r23 */
.long 0x7e405a19 /* lxvx vs50,0,r11 */
.long 0x7c0a5a18 /* lxvx vs0,r10,r11 */
.long 0x7e6062d9 /* lxvwsx vs51,0,r12 */
.long 0x7c2a62d8 /* lxvwsx vs1,r10,r12 */
.long 0x7e806e59 /* lxvh8x vs52,0,r13 */
.long 0x7c4a6e58 /* lxvh8x vs2,r10,r13 */
.long 0x7ea076d9 /* lxvb16x vs53,0,r14 */
.long 0x7c6a76d8 /* lxvb16x vs3,r10,r14 */
.long 0x7ec07b19 /* stxvx vs54,0,r15 */
.long 0x7c947b18 /* stxvx vs4,r20,r15 */
.long 0x7ee08759 /* stxvh8x vs55,0,r16 */
.long 0x7cb48758 /* stxvh8x vs5,r20,r16 */
.long 0x7f008fd9 /* stxvb16x vs56,0,r17 */
.long 0x7cd48fd8 /* stxvb16x vs6,r20,r17 */
.long 0xf0802a94 /* xxextractuw vs4,vs5,0 */
.long 0xf10f9297 /* xxextractuw vs40,vs50,15 */
.long 0xf08002d0 /* xxspltib vs4,0 */
.long 0xf08402d0 /* xxspltib vs4,128 */
.long 0xf127fad1 /* xxspltib vs41,255 */
.long 0xf0a032d4 /* xxinsertw vs5,vs6,0 */
.long 0xf24fe2d7 /* xxinsertw vs50,vs60,15 */
.long 0xf0c73f6c /* xxbrh vs6,vs7 */
.long 0xf307cf6f /* xxbrh vs56,vs57 */
.long 0xf0ef476c /* xxbrw vs7,vs8 */
.long 0xf32fd76f /* xxbrw vs57,vs58 */
.long 0xf1174f6c /* xxbrd vs8,vs9 */
.long 0xf357df6f /* xxbrd vs58,vs59 */
.long 0xf13f576c /* xxbrq vs9,vs10 */
.long 0xf37fe76f /* xxbrq vs59,vs60 */
.long 0xe6800002 /* lxsd v20,0(0) */
.long 0xe68a0002 /* lxsd v20,0(r10) */
.long 0xe680000a /* lxsd v20,8(0) */
.long 0xe68a000a /* lxsd v20,8(r10) */
.long 0xe680fffa /* lxsd v20,-8(0) */
.long 0xe68afffa /* lxsd v20,-8(r10) */
.long 0xe6807ffe /* lxsd v20,32764(0) */
.long 0xe68a7ffe /* lxsd v20,32764(r10) */
.long 0xe6808002 /* lxsd v20,-32768(0) */
.long 0xe68a8002 /* lxsd v20,-32768(r10) */
.long 0xe7c00003 /* lxssp v30,0(0) */
.long 0xe7cb0003 /* lxssp v30,0(r11) */
.long 0xe7c0000b /* lxssp v30,8(0) */
.long 0xe7cb000b /* lxssp v30,8(r11) */
.long 0xe7c0fffb /* lxssp v30,-8(0) */
.long 0xe7cbfffb /* lxssp v30,-8(r11) */
.long 0xe7c07fff /* lxssp v30,32764(0) */
.long 0xe7cb7fff /* lxssp v30,32764(r11) */
.long 0xe7c08003 /* lxssp v30,-32768(0) */
.long 0xe7cb8003 /* lxssp v30,-32768(r11) */
.long 0xf5000009 /* lxv vs40,0(0) */
.long 0xf50c0009 /* lxv vs40,0(r12) */
.long 0xf5000019 /* lxv vs40,16(0) */
.long 0xf50c0019 /* lxv vs40,16(r12) */
.long 0xf500fff9 /* lxv vs40,-16(0) */
.long 0xf54cfff1 /* lxv vs10,-16(r12) */
.long 0xf5407ff1 /* lxv vs10,32752(0) */
.long 0xf54c7ff1 /* lxv vs10,32752(r12) */
.long 0xf5408001 /* lxv vs10,-32768(0) */
.long 0xf54c8001 /* lxv vs10,-32768(r12) */
.long 0xf6a00002 /* stxsd v21,0(0) */
.long 0xf6aa0002 /* stxsd v21,0(r10) */
.long 0xf6a0000a /* stxsd v21,8(0) */
.long 0xf6aa000a /* stxsd v21,8(r10) */
.long 0xf6a0fffa /* stxsd v21,-8(0) */
.long 0xf6aafffa /* stxsd v21,-8(r10) */
.long 0xf6a07ffe /* stxsd v21,32764(0) */
.long 0xf6aa7ffe /* stxsd v21,32764(r10) */
.long 0xf6a08002 /* stxsd v21,-32768(0) */
.long 0xf6aa8002 /* stxsd v21,-32768(r10) */
.long 0xf7e00003 /* stxssp v31,0(0) */
.long 0xf7eb0003 /* stxssp v31,0(r11) */
.long 0xf7e0000b /* stxssp v31,8(0) */
.long 0xf7eb000b /* stxssp v31,8(r11) */
.long 0xf7e0fffb /* stxssp v31,-8(0) */
.long 0xf7ebfffb /* stxssp v31,-8(r11) */
.long 0xf7e07fff /* stxssp v31,32764(0) */
.long 0xf7eb7fff /* stxssp v31,32764(r11) */
.long 0xf7e08003 /* stxssp v31,-32768(0) */
.long 0xf7eb8003 /* stxssp v31,-32768(r11) */
.long 0xf520000d /* stxv vs41,0(0) */
.long 0xf52c000d /* stxv vs41,0(r12) */
.long 0xf520001d /* stxv vs41,16(0) */
.long 0xf52c001d /* stxv vs41,16(r12) */
.long 0xf520fffd /* stxv vs41,-16(0) */
.long 0xf56cfff5 /* stxv vs11,-16(r12) */
.long 0xf5607ff5 /* stxv vs11,32752(0) */
.long 0xf56c7ff5 /* stxv vs11,32752(r12) */
.long 0xf5608005 /* stxv vs11,-32768(0) */
.long 0xf56c8005 /* stxv vs11,-32768(r12) */
.long 0xf296c0d0 /* xxperm vs20,vs22,vs24 */
.long 0xf10a60d7 /* xxperm vs40,vs42,vs44 */
.long 0xf2b7c9d0 /* xxpermr vs21,vs23,vs25 */
.long 0xf12b69d7 /* xxpermr vs41,vs43,vs45 */
.long 0x7e8c06f4 /* extswsli r12,r20,0 */
.long 0x7e8c0ef4 /* extswsli r12,r20,1 */
.long 0x7e8cfef6 /* extswsli r12,r20,63 */
.long 0x7ead06f5 /* extswsli. r13,r21,0 */
.long 0x7ead0ef5 /* extswsli. r13,r21,1 */
.long 0x7eadfef7 /* extswsli. r13,r21,63 */
.long 0x11d6b885 /* vrlwmi v14,v22,v23 */
.long 0x11f7c0c5 /* vrldmi v15,v23,v24 */
.long 0x1218c985 /* vrlwnm v16,v24,v25 */
.long 0x1239d1c5 /* vrldnm v17,v25,v26 */
.long 0x125addcc /* vbpermd v18,v26,v27 */
.long 0x1266a602 /* vnegw v19,v20 */
.long 0x1287ae02 /* vnegd v20,v21 */
.long 0x12a8b602 /* vprtybw v21,v22 */
.long 0x12c9be02 /* vprtybd v22,v23 */
.long 0x12eac602 /* vprtybq v23,v24 */
.long 0x1310ce02 /* vextsb2w v24,v25 */
.long 0x1331d602 /* vextsh2w v25,v26 */
.long 0x1358de02 /* vextsb2d v26,v27 */
.long 0x1379e602 /* vextsh2d v27,v28 */
.long 0x139aee02 /* vextsw2d v28,v29 */
.long 0x13bcf602 /* vctzb v29,v30 */
.long 0x13ddfe02 /* vctzh v30,v31 */
.long 0x13fef602 /* vctzw v31,v30 */
.long 0x13dfee02 /* vctzd v30,v29 */
.long 0x7d40a61a /* lxsibzx vs10,0,r20 */
.long 0x7e4aa61b /* lxsibzx vs50,r10,r20 */
.long 0x7d60ae5a /* lxsihzx vs11,0,r21 */
.long 0x7e6bae5b /* lxsihzx vs51,r11,r21 */
.long 0x7d80b71a /* stxsibx vs12,0,r22 */
.long 0x7e8cb71b /* stxsibx vs52,r12,r22 */
.long 0x7da0bf5a /* stxsihx vs13,0,r23 */
.long 0x7eadbf5b /* stxsihx vs53,r13,r23 */
.long 0x114b6370 /* maddhd r10,r11,r12,r13 */
.long 0x1295b5f1 /* maddhdu r20,r21,r22,r23 */
.long 0x10432173 /* maddld r2,r3,r4,r5 */
.long 0xf00aa1d8 /* xscmpexpdp cr0,vs10,vs20 */
.long 0xf38891de /* xscmpexpdp cr7,vs40,vs50 */
.long 0xf12baf2d /* xsiexpdp vs41,r11,r21 */
.long 0xf07f5da8 /* xststdcdp cr0,vs11,127 */
.long 0xf3ff4daa /* xststdcdp cr7,vs41,127 */
.long 0xf07f5ca8 /* xststdcsp cr0,vs11,127 */
.long 0xf3ff4caa /* xststdcsp cr7,vs41,127 */
.long 0xf1a05d6e /* xsxexpdp r13,vs43 */
.long 0xf1c1656e /* xsxsigdp r14,vs44 */
.long 0xf1ae7fc7 /* xviexpdp vs45,vs46,vs47 */
.long 0xf1cf86c7 /* xviexpsp vs46,vs47,vs48 */
.long 0xf2c0bfab /* xvtstdcdp vs54,vs55,0 */
.long 0xf2dfbfef /* xvtstdcdp vs54,vs55,127 */
.long 0xf2e0c6ab /* xvtstdcsp vs55,vs56,0 */
.long 0xf2ffc6ef /* xvtstdcsp vs55,vs56,127 */
.long 0xf320d76f /* xvxexpdp vs57,vs58 */
.long 0xf348df6f /* xvxexpsp vs58,vs59 */
.long 0xf361e76f /* xvxsigdp vs59,vs60 */
.long 0xf389ef6f /* xvxsigsp vs60,vs61 */
.long 0x7c0639c0 /* cmpeqb cr0,r6,r7 */
.long 0x7f8639c0 /* cmpeqb cr7,r6,r7 */
.long 0x7c084980 /* cmprb cr0,0,r8,r9 */
.long 0x7f884980 /* cmprb cr7,0,r8,r9 */
.long 0x7c284980 /* cmprb cr0,1,r8,r9 */
.long 0x7fa84980 /* cmprb cr7,1,r8,r9 */
.long 0x7de00100 /* setb r15,cr0 */
.long 0x7dfc0100 /* setb r15,cr7 */
.long 0x7f40521a /* lxvl vs26,0,r10 */
.long 0x7f14521b /* lxvl vs56,r20,r10 */
.long 0x7f605b1a /* stxvl vs27,0,r11 */
.long 0x7f355b1b /* stxvl vs57,r21,r11 */
.long 0x1280f602 /* vclzlsbb r20,v30 */
.long 0x12a1fe02 /* vctzlsbb r21,v31 */
.long 0x114b6007 /* vcmpneb v10,v11,v12 */
.long 0x1295b407 /* vcmpneb. v20,v21,v22 */
.long 0x116c6847 /* vcmpneh v11,v12,v13 */
.long 0x12b6bc47 /* vcmpneh. v21,v22,v23 */
.long 0x118d7087 /* vcmpnew v12,v13,v14 */
.long 0x12d7c487 /* vcmpnew. v22,v23,v24 */
.long 0x11ae7907 /* vcmpnezb v13,v14,v15 */
.long 0x12f8cd07 /* vcmpnezb. v23,v24,v25 */
.long 0x11cf8147 /* vcmpnezh v14,v15,v16 */
.long 0x1319d547 /* vcmpnezh. v24,v25,v26 */
.long 0x11f08987 /* vcmpnezw v15,v16,v17 */
.long 0x133add87 /* vcmpnezw. v25,v26,v27 */
.long 0x1211560d /* vextublx r16,r17,v10 */
.long 0x12325f0d /* vextubrx r17,r18,v11 */
.long 0x1253664d /* vextuhlx r18,r19,v12 */
.long 0x12746f4d /* vextuhrx r19,r20,v13 */
.long 0x1295768d /* vextuwlx r20,r21,v14 */
.long 0x12b67f8d /* vextuwrx r21,r22,v15 */
.long 0xec001d46 /* dtstsfi cr0,0,f3 */
.long 0xefbf1d46 /* dtstsfi cr7,63,f3 */
.long 0xfc002546 /* dtstsfiq cr0,0,f4 */
.long 0xffbf2546 /* dtstsfiq cr7,63,f4 */
.long 0xf110956f /* xscvhpdp vs40,vs50 */
.long 0xf1319d6f /* xscvdphp vs41,vs51 */
.long 0xf158a76f /* xvcvhpsp vs42,vs52 */
.long 0xf179af6f /* xvcvsphp vs43,vs53 */
.long 0x4c600004 /* lnia r3 */
.long 0x4c600004 /* addpcis r3,0 */
.long 0x4c800005 /* addpcis r4,1 */
.long 0x4cbfffc4 /* addpcis r5,-2 */
.long 0x4cdf7fc5 /* addpcis r6,32767 */
.long 0x4ce08004 /* addpcis r7,-32768 */
.long 0x7c0002a4 /* slbsync */
.long 0x7d4006a4 /* slbiag r10 */
.long 0x7d405ba4 /* slbieg r10,r11 */
.long 0x7c602726 /* slbmfee r3,r4 */
.long 0x7c612726 /* slbmfee r3,r4,1 */
.long 0x7c802ea6 /* slbmfev r4,r5 */
.long 0x7c812ea6 /* slbmfev r4,r5,1 */
.long 0x7c801a64 /* tlbie r3,r4 */
.long 0x7c8f1a64 /* tlbie r3,r4,3,1,1 */
.long 0x7c001a24 /* tlbiel r3 */
.long 0x7c8f1a24 /* tlbiel r3,r4,3,1,1 */
.long 0x7c2c6e0c /* copy r12,r13 */
.long 0x7c2a5f0d /* paste. r10,r11 */
.long 0x7c00068c /* cpabort */
.long 0x7c0004ac /* hwsync */
.long 0x7c2004ac /* lwsync */
.long 0x7c4004ac /* ptesync */
.long 0x7e8004cc /* ldat r20,0,0 */
.long 0x7e8ae4cc /* ldat r20,r10,28 */
.long 0x7ea0048c /* lwat r21,0,0 */
.long 0x7eabe48c /* lwat r21,r11,28 */
.long 0x7ec005cc /* stdat r22,0,0 */
.long 0x7ecce5cc /* stdat r22,r12,28 */
.long 0x7ee0058c /* stwat r23,0,0 */
.long 0x7eede58c /* stwat r23,r13,28 */
.long 0x4c000264 /* urfid */
.long 0x7c00f6e4 /* rmieg r30 */
.long 0x4c0002e4 /* stop */
.long 0x7c00003c /* wait */
.long 0x7c6005e6 /* darn r3,0 */
.long 0x7c6105e6 /* darn r3,1 */
.long 0x7c6205e6 /* darn r3,2 */
.long 0x7c000480 /* mcrxrx cr0 */
.long 0x7f800480 /* mcrxrx cr7 */
.long 0x1295b744 /* vslv v20,v21,v22 */
.long 0x12f8cf04 /* vsrv v23,v24,v25 */
.long 0x7c0006ec /* msgsync */
.long 0xf3c8901e /* xscmpeqdp vs30,vs40,vs50 */
.long 0xf3e9985e /* xscmpgtdp vs31,vs41,vs51 */
.long 0xf00aa09f /* xscmpgedp vs32,vs42,vs52 */
.long 0xf04cb447 /* xsmincdp vs34,vs44,vs54 */
.long 0xf06dbc07 /* xsmaxcdp vs35,vs45,vs55 */
.long 0xf08ec4c7 /* xsminjdp vs36,vs46,vs56 */
.long 0xf0afcc87 /* xsmaxjdp vs37,vs47,vs57 */
.long 0x1295b5e3 /* vmsumudm v20,v21,v22,v23 */
.long 0x7d6c6954 /* addex r11,r12,r13,0 */
.long 0x7d6c6b54 /* addex r11,r12,r13,1 */
.long 0x7d6c6d54 /* addex r11,r12,r13,2 */
.long 0xff20048e /* mffs f25 */
.long 0xff20048f /* mffs. f25 */
.long 0xff41048e /* mffsce f26 */
.long 0xff74a48e /* mffscdrn f27,f20 */
.long 0xff95048e /* mffscdrni f28,0 */
.long 0xff953c8e /* mffscdrni f28,7 */
.long 0xffb6ac8e /* mffscrn f29,f21 */
.long 0xffd7048e /* mffscrni f30,0 */
.long 0xffd71c8e /* mffscrni f30,3 */
.long 0xfff8048e /* mffsl f31 */
|
stsp/binutils-ia16
| 9,141
|
gdb/testsuite/gdb.arch/powerpc-vsx.s
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2014-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
.globl func
func:
.long 0x7d0aa499 /* lxsdx vs40,r10,r20 */
.long 0x7d0aa699 /* lxvd2x vs40,r10,r20 */
.long 0x7d0aa299 /* lxvdsx vs40,r10,r20 */
.long 0x7d0aa619 /* lxvw4x vs40,r10,r20 */
.long 0x7d0aa599 /* stxsdx vs40,r10,r20 */
.long 0x7d0aa799 /* stxvd2x vs40,r10,r20 */
.long 0x7d0aa719 /* stxvw4x vs40,r10,r20 */
.long 0xf100e567 /* xsabsdp vs40,vs60 */
.long 0xf112e107 /* xsadddp vs40,vs50,vs60 */
.long 0xf092e15e /* xscmpodp cr1,vs50,vs60 */
.long 0xf092e11e /* xscmpudp cr1,vs50,vs60 */
.long 0xf112e587 /* xscpsgndp vs40,vs50,vs60 */
.long 0xf100e427 /* xscvdpsp vs40,vs60 */
.long 0xf100e563 /* xscvdpsxds vs40,vs60 */
.long 0xf100e163 /* xscvdpsxws vs40,vs60 */
.long 0xf100e523 /* xscvdpuxds vs40,vs60 */
.long 0xf100e123 /* xscvdpuxws vs40,vs60 */
.long 0xf100e527 /* xscvspdp vs40,vs60 */
.long 0xf100e5e3 /* xscvsxddp vs40,vs60 */
.long 0xf100e5a3 /* xscvuxddp vs40,vs60 */
.long 0xf112e1c7 /* xsdivdp vs40,vs50,vs60 */
.long 0xf112e10f /* xsmaddadp vs40,vs50,vs60 */
.long 0xf112e14f /* xsmaddmdp vs40,vs50,vs60 */
.long 0xf112e507 /* xsmaxdp vs40,vs50,vs60 */
.long 0xf112e547 /* xsmindp vs40,vs50,vs60 */
.long 0xf112e18f /* xsmsubadp vs40,vs50,vs60 */
.long 0xf112e1cf /* xsmsubmdp vs40,vs50,vs60 */
.long 0xf112e187 /* xsmuldp vs40,vs50,vs60 */
.long 0xf100e5a7 /* xsnabsdp vs40,vs60 */
.long 0xf100e5e7 /* xsnegdp vs40,vs60 */
.long 0xf112e50f /* xsnmaddadp vs40,vs50,vs60 */
.long 0xf112e54f /* xsnmaddmdp vs40,vs50,vs60 */
.long 0xf112e58f /* xsnmsubadp vs40,vs50,vs60 */
.long 0xf112e5cf /* xsnmsubmdp vs40,vs50,vs60 */
.long 0xf100e127 /* xsrdpi vs40,vs60 */
.long 0xf100e1af /* xsrdpic vs40,vs60 */
.long 0xf100e1e7 /* xsrdpim vs40,vs60 */
.long 0xf100e1a7 /* xsrdpip vs40,vs60 */
.long 0xf100e167 /* xsrdpiz vs40,vs60 */
.long 0xf100e16b /* xsredp vs40,vs60 */
.long 0xf100e12b /* xsrsqrtedp vs40,vs60 */
.long 0xf100e12f /* xssqrtdp vs40,vs60 */
.long 0xf112e147 /* xssubdp vs40,vs50,vs60 */
.long 0xf092e1ee /* xstdivdp cr1,vs50,vs60 */
.long 0xf080e1aa /* xstsqrtdp cr1,vs60 */
.long 0xf100e767 /* xvabsdp vs40,vs60 */
.long 0xf100e667 /* xvabssp vs40,vs60 */
.long 0xf112e307 /* xvadddp vs40,vs50,vs60 */
.long 0xf112e207 /* xvaddsp vs40,vs50,vs60 */
.long 0xf112e31f /* xvcmpeqdp vs40,vs50,vs60 */
.long 0xf112e71f /* xvcmpeqdp. vs40,vs50,vs60 */
.long 0xf112e21f /* xvcmpeqsp vs40,vs50,vs60 */
.long 0xf112e61f /* xvcmpeqsp. vs40,vs50,vs60 */
.long 0xf112e39f /* xvcmpgedp vs40,vs50,vs60 */
.long 0xf112e79f /* xvcmpgedp. vs40,vs50,vs60 */
.long 0xf112e29f /* xvcmpgesp vs40,vs50,vs60 */
.long 0xf112e69f /* xvcmpgesp. vs40,vs50,vs60 */
.long 0xf112e35f /* xvcmpgtdp vs40,vs50,vs60 */
.long 0xf112e75f /* xvcmpgtdp. vs40,vs50,vs60 */
.long 0xf112e25f /* xvcmpgtsp vs40,vs50,vs60 */
.long 0xf112e65f /* xvcmpgtsp. vs40,vs50,vs60 */
.long 0xf112e787 /* xvcpsgndp vs40,vs50,vs60 */
.long 0xf11ce787 /* xvmovdp vs40,vs60 */
.long 0xf112e687 /* xvcpsgnsp vs40,vs50,vs60 */
.long 0xf11ce687 /* xvmovsp vs40,vs60 */
.long 0xf100e627 /* xvcvdpsp vs40,vs60 */
.long 0xf100e763 /* xvcvdpsxds vs40,vs60 */
.long 0xf100e363 /* xvcvdpsxws vs40,vs60 */
.long 0xf100e723 /* xvcvdpuxds vs40,vs60 */
.long 0xf100e323 /* xvcvdpuxws vs40,vs60 */
.long 0xf100e727 /* xvcvspdp vs40,vs60 */
.long 0xf100e663 /* xvcvspsxds vs40,vs60 */
.long 0xf100e263 /* xvcvspsxws vs40,vs60 */
.long 0xf100e623 /* xvcvspuxds vs40,vs60 */
.long 0xf100e223 /* xvcvspuxws vs40,vs60 */
.long 0xf100e7e3 /* xvcvsxddp vs40,vs60 */
.long 0xf100e6e3 /* xvcvsxdsp vs40,vs60 */
.long 0xf100e3e3 /* xvcvsxwdp vs40,vs60 */
.long 0xf100e2e3 /* xvcvsxwsp vs40,vs60 */
.long 0xf100e7a3 /* xvcvuxddp vs40,vs60 */
.long 0xf100e6a3 /* xvcvuxdsp vs40,vs60 */
.long 0xf100e3a3 /* xvcvuxwdp vs40,vs60 */
.long 0xf100e2a3 /* xvcvuxwsp vs40,vs60 */
.long 0xf112e3c7 /* xvdivdp vs40,vs50,vs60 */
.long 0xf112e2c7 /* xvdivsp vs40,vs50,vs60 */
.long 0xf112e30f /* xvmaddadp vs40,vs50,vs60 */
.long 0xf112e34f /* xvmaddmdp vs40,vs50,vs60 */
.long 0xf112e20f /* xvmaddasp vs40,vs50,vs60 */
.long 0xf112e24f /* xvmaddmsp vs40,vs50,vs60 */
.long 0xf112e707 /* xvmaxdp vs40,vs50,vs60 */
.long 0xf112e607 /* xvmaxsp vs40,vs50,vs60 */
.long 0xf112e747 /* xvmindp vs40,vs50,vs60 */
.long 0xf112e647 /* xvminsp vs40,vs50,vs60 */
.long 0xf112e38f /* xvmsubadp vs40,vs50,vs60 */
.long 0xf112e3cf /* xvmsubmdp vs40,vs50,vs60 */
.long 0xf112e28f /* xvmsubasp vs40,vs50,vs60 */
.long 0xf112e2cf /* xvmsubmsp vs40,vs50,vs60 */
.long 0xf112e387 /* xvmuldp vs40,vs50,vs60 */
.long 0xf112e287 /* xvmulsp vs40,vs50,vs60 */
.long 0xf100e7a7 /* xvnabsdp vs40,vs60 */
.long 0xf100e6a7 /* xvnabssp vs40,vs60 */
.long 0xf100e7e7 /* xvnegdp vs40,vs60 */
.long 0xf100e6e7 /* xvnegsp vs40,vs60 */
.long 0xf112e70f /* xvnmaddadp vs40,vs50,vs60 */
.long 0xf112e74f /* xvnmaddmdp vs40,vs50,vs60 */
.long 0xf112e60f /* xvnmaddasp vs40,vs50,vs60 */
.long 0xf112e64f /* xvnmaddmsp vs40,vs50,vs60 */
.long 0xf112e78f /* xvnmsubadp vs40,vs50,vs60 */
.long 0xf112e7cf /* xvnmsubmdp vs40,vs50,vs60 */
.long 0xf112e68f /* xvnmsubasp vs40,vs50,vs60 */
.long 0xf112e6cf /* xvnmsubmsp vs40,vs50,vs60 */
.long 0xf100e327 /* xvrdpi vs40,vs60 */
.long 0xf100e3af /* xvrdpic vs40,vs60 */
.long 0xf100e3e7 /* xvrdpim vs40,vs60 */
.long 0xf100e3a7 /* xvrdpip vs40,vs60 */
.long 0xf100e367 /* xvrdpiz vs40,vs60 */
.long 0xf100e36b /* xvredp vs40,vs60 */
.long 0xf100e26b /* xvresp vs40,vs60 */
.long 0xf100e227 /* xvrspi vs40,vs60 */
.long 0xf100e2af /* xvrspic vs40,vs60 */
.long 0xf100e2e7 /* xvrspim vs40,vs60 */
.long 0xf100e2a7 /* xvrspip vs40,vs60 */
.long 0xf100e267 /* xvrspiz vs40,vs60 */
.long 0xf100e32b /* xvrsqrtedp vs40,vs60 */
.long 0xf100e22b /* xvrsqrtesp vs40,vs60 */
.long 0xf100e32f /* xvsqrtdp vs40,vs60 */
.long 0xf100e22f /* xvsqrtsp vs40,vs60 */
.long 0xf112e347 /* xvsubdp vs40,vs50,vs60 */
.long 0xf112e247 /* xvsubsp vs40,vs50,vs60 */
.long 0xf092e3ee /* xvtdivdp cr1,vs50,vs60 */
.long 0xf092e2ee /* xvtdivsp cr1,vs50,vs60 */
.long 0xf080e3aa /* xvtsqrtdp cr1,vs60 */
.long 0xf080e2aa /* xvtsqrtsp cr1,vs60 */
.long 0xf112e417 /* xxland vs40,vs50,vs60 */
.long 0xf112e457 /* xxlandc vs40,vs50,vs60 */
.long 0xf112e517 /* xxlnor vs40,vs50,vs60 */
.long 0xf112e497 /* xxlor vs40,vs50,vs60 */
.long 0xf112e4d7 /* xxlxor vs40,vs50,vs60 */
.long 0xf112e097 /* xxmrghw vs40,vs50,vs60 */
.long 0xf112e197 /* xxmrglw vs40,vs50,vs60 */
.long 0xf112e057 /* xxmrghd vs40,vs50,vs60 */
.long 0xf112e157 /* xxpermdi vs40,vs50,vs60,1 */
.long 0xf112e257 /* xxpermdi vs40,vs50,vs60,2 */
.long 0xf112e357 /* xxmrgld vs40,vs50,vs60 */
.long 0xf1129057 /* xxspltd vs40,vs50,0 */
.long 0xf1129357 /* xxspltd vs40,vs50,1 */
.long 0xf1129257 /* xxswapd vs40,vs50 */
.long 0xf112e7bf /* xxsel vs40,vs50,vs60,vs62 */
.long 0xf112e217 /* xxsldwi vs40,vs50,vs60,2 */
.long 0xf102e293 /* xxspltw vs40,vs60,2 */
.long 0x7d00a699 /* lxvd2x vs40,0,r20 */
.long 0x7d00a799 /* stxvd2x vs40,0,r20 */
|
stsp/binutils-ia16
| 2,251
|
gdb/testsuite/gdb.arch/amd64-stap-triplet.S
|
/* Copyright (C) 2013-2022 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
This file was generated from the equivalent .c file using the
following command:
#> gcc -S amd64-stap-triplet.c -o amd64-stap-triplet.S
Then, the SystemTap SDT probe definition below was tweaked. See below
for more details. */
.file "amd64-stap-triplet.c"
.text
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
# BLOCK 2 seq:0
# PRED: ENTRY (fallthru)
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
movl %edi, -20(%rbp)
movq %rsi, -32(%rbp)
movl $10, -4(%rbp)
#APP
# 8 "amd64-stap-triplet.c" 1
990: nop
.pushsection .note.stapsdt,"?","note"
.balign 4
.4byte 992f-991f,994f-993f,3
991: .asciz "stapsdt"
992: .balign 4
993: .8byte 990b
.8byte _.stapsdt.base
.8byte 0
.asciz "test"
.asciz "triplet"
/* The probe's argument definition below was tweaked in order to mimic a
triplet displacement in x86 asm. The original probe argument was:
-4@-4(%rbp)
The argument below is equivalent to that. */
.asciz "-4@-4+16-16(%rbp)"
994: .balign 4
.popsection
# 0 "" 2
# 8 "amd64-stap-triplet.c" 1
.ifndef _.stapsdt.base
.pushsection .stapsdt.base,"aG","progbits",.stapsdt.base,comdat
.weak _.stapsdt.base
.hidden _.stapsdt.base
_.stapsdt.base: .space 1
.size _.stapsdt.base,1
.popsection
.endif
# 0 "" 2
#NO_APP
movl $0, %eax
popq %rbp
.cfi_def_cfa 7, 8
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE0:
.size main, .-main
.ident "GCC: (GNU) 4.7.2 20120921 (Red Hat 4.7.2-2)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 1,423
|
gdb/testsuite/gdb.arch/amd64-stap-expressions.S
|
/* Copyright (C) 2021-2022 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <sys/sdt.h>
.file "amd64-stap-expressions.S"
.text
.globl main
main:
/* We use a nop here because we don't want the first probe to
be placed at the same location as the main label. */
nop
/* Single operands. */
STAP_PROBE1(probe, log_neg, 8@!($0+$1))
STAP_PROBE1(probe, minus, -8@-($3+$4))
STAP_PROBE1(probe, bit_neg, -8@~$22)
/* Arithmetic expressions. */
STAP_PROBE1(probe, plus1, 8@$3+($10-$8)-$1)
STAP_PROBE1(probe, plus2, 8@$100-( ($8+$10) -$50)+$3)
STAP_PROBE1(probe, plus3, 8@$100-(($8+$10)-$50)+((($8 - $9) + $40) - $4)+$4)
/* Bitwise expressions. */
STAP_PROBE1(probe, and, 8@$128&$128)
STAP_PROBE1(probe, or, 8@$8|$4)
xor %rax,%rax
ret
|
stsp/binutils-ia16
| 5,721
|
gdb/testsuite/gdb.arch/i386-gnu-cfi-asm.S
|
/* Copyright 2007-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Please email any bugs, comments, and/or additions to this file to:
bug-gdb@gnu.org
This file is part of the gdb testsuite.
It was generated using
"gcc -g -O9 -S -o gate.s gate.c -fasynchronous-unwind-tables",
using the following source file:
void *gate (void *(*gate) (void *data), void *data)
{
return 1 + (*gate) (data);
}
Changes are marked as `CHANGE' below. */
.file "gate.c"
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.section .debug_line,"",@progbits
.Ldebug_line0:
.text
.Ltext0:
.p2align 4,,15
.globl gate
.type gate, @function
gate:
.LFB2:
.file 1 "gate.c"
.loc 1 2 0
.LVL0:
pushl %ebp
.LCFI0:
movl %esp, %ebp
.LCFI1:
subl $8, %esp
.LCFI2:
.loc 1 3 0
movl 12(%ebp), %eax
movl %eax, (%esp)
call *8(%ebp)
.loc 1 4 0
leave
.loc 1 3 0
addl $1, %eax
.loc 1 4 0
ret
.LFE2:
.size gate, .-gate
.section .debug_frame,"",@progbits
.Lframe0:
.long .LECIE0-.LSCIE0
.LSCIE0:
.long 0xffffffff
.byte 0x1
.string ""
.uleb128 0x1
.sleb128 -4
.byte 0x8
.byte 0xc
.uleb128 0x4
.uleb128 0x4
.byte 0x88
.uleb128 0x1
.align 4
.LECIE0:
.LSFDE0:
.long .LEFDE0-.LASFDE0
.LASFDE0:
.long .Lframe0
.long .LFB2
.long .LFE2-.LFB2
.byte 0x4
.long .LCFI0-.LFB2
.byte 0xe
.uleb128 0x8
.byte 0x85
.uleb128 0x2
/* CHANGE */
.byte 0x2f
.uleb128 0x1
.uleb128 0x0
/* CHANGE */
.byte 0x4
.long .LCFI1-.LCFI0
.byte 0xd
.uleb128 0x5
.align 4
.LEFDE0:
.section .eh_frame,"a",@progbits
.Lframe1:
.long .LECIE1-.LSCIE1
.LSCIE1:
.long 0x0
.byte 0x1
.string ""
.uleb128 0x1
.sleb128 -4
.byte 0x8
.byte 0xc
.uleb128 0x4
.uleb128 0x4
.byte 0x88
.uleb128 0x1
.align 4
.LECIE1:
.LSFDE1:
.long .LEFDE1-.LASFDE1
.LASFDE1:
.long .LASFDE1-.Lframe1
.long .LFB2
.long .LFE2-.LFB2
.byte 0x4
.long .LCFI0-.LFB2
.byte 0xe
.uleb128 0x8
.byte 0x85
.uleb128 0x2
/* CHANGE */
.byte 0x2f
.uleb128 0x1
.uleb128 0x0
/* CHANGE */
.byte 0x4
.long .LCFI1-.LCFI0
.byte 0xd
.uleb128 0x5
.align 4
.LEFDE1:
.text
.Letext0:
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.long .LFB2-.Ltext0
.long .LCFI0-.Ltext0
.value 0x2
.byte 0x74
.sleb128 4
.long .LCFI0-.Ltext0
.long .LCFI1-.Ltext0
.value 0x2
.byte 0x74
.sleb128 8
.long .LCFI1-.Ltext0
.long .LFE2-.Ltext0
.value 0x2
.byte 0x75
.sleb128 8
.long 0x0
.long 0x0
.section .debug_info
.long 0x74
.value 0x2
.long .Ldebug_abbrev0
.byte 0x4
.uleb128 0x1
.long .Ldebug_line0
.long .Letext0
.long .Ltext0
.long .LASF2
.byte 0x1
.long .LASF3
.long .LASF4
.uleb128 0x2
.long 0x5f
.byte 0x1
.long .LASF0
.byte 0x1
.byte 0x2
.byte 0x1
.long 0x5f
.long .LFB2
.long .LFE2
.long .LLST0
.uleb128 0x3
.long .LASF0
.byte 0x1
.byte 0x1
.long 0x71
.byte 0x2
.byte 0x91
.sleb128 0
.uleb128 0x3
.long .LASF1
.byte 0x1
.byte 0x1
.long 0x5f
.byte 0x2
.byte 0x91
.sleb128 4
.byte 0x0
.uleb128 0x4
.byte 0x4
.uleb128 0x5
.long 0x71
.byte 0x1
.long 0x5f
.uleb128 0x6
.long 0x5f
.byte 0x0
.uleb128 0x7
.byte 0x4
.long 0x61
.byte 0x0
.section .debug_abbrev
.uleb128 0x1
.uleb128 0x11
.byte 0x1
.uleb128 0x10
.uleb128 0x6
.uleb128 0x12
.uleb128 0x1
.uleb128 0x11
.uleb128 0x1
.uleb128 0x25
.uleb128 0xe
.uleb128 0x13
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.uleb128 0x1b
.uleb128 0xe
.byte 0x0
.byte 0x0
.uleb128 0x2
.uleb128 0x2e
.byte 0x1
.uleb128 0x1
.uleb128 0x13
.uleb128 0x3f
.uleb128 0xc
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x27
.uleb128 0xc
.uleb128 0x49
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0x6
.byte 0x0
.byte 0x0
.uleb128 0x3
.uleb128 0x5
.byte 0x0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0xa
.byte 0x0
.byte 0x0
.uleb128 0x4
.uleb128 0xf
.byte 0x0
.uleb128 0xb
.uleb128 0xb
.byte 0x0
.byte 0x0
.uleb128 0x5
.uleb128 0x15
.byte 0x1
.uleb128 0x1
.uleb128 0x13
.uleb128 0x27
.uleb128 0xc
.uleb128 0x49
.uleb128 0x13
.byte 0x0
.byte 0x0
.uleb128 0x6
.uleb128 0x5
.byte 0x0
.uleb128 0x49
.uleb128 0x13
.byte 0x0
.byte 0x0
.uleb128 0x7
.uleb128 0xf
.byte 0x0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.byte 0x0
.byte 0x0
.byte 0x0
.section .debug_pubnames,"",@progbits
.long 0x17
.value 0x2
.long .Ldebug_info0
.long 0x78
.long 0x25
.string "gate"
.long 0x0
.section .debug_aranges,"",@progbits
.long 0x1c
.value 0x2
.long .Ldebug_info0
.byte 0x4
.byte 0x0
.value 0x0
.value 0x0
.long .Ltext0
.long .Letext0-.Ltext0
.long 0x0
.long 0x0
.section .debug_str,"MS",@progbits,1
.LASF1:
.string "data"
.LASF0:
.string "gate"
.LASF3:
.string "gate.c"
.LASF4:
.string "/home/jkratoch/redhat/bz165025"
.LASF2:
.string "GNU C 4.1.1 20061213 (Red Hat 4.1.1-46)"
.ident "GCC: (GNU) 4.1.1 20061213 (Red Hat 4.1.1-46)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 1,370
|
gdb/testsuite/gdb.arch/riscv-unwind-long-insn-6.s
|
/* Copyright 2019-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.option nopic
.text
.align 1
.globl bar
.type bar, @function
bar:
tail 1f
.size bar, .-func
.align 1
.globl func
.type func, @function
func:
/* A fake 6 byte instruction. This is never executed, but the
prologue scanner will try to decode it. These long
instructions are ISA extensions, use .byte rather than an
actual instruction mnemonic so that the test can be compiled
with a toolchain that doesn't include any long instruction
extensions. */
.byte 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00
1:
addi sp,sp,-16
sw s0,12(sp)
addi s0,sp,16
nop
lw s0,12(sp)
addi sp,sp,16
jr ra
.size func, .-func
|
stsp/binutils-ia16
| 2,184
|
gdb/testsuite/gdb.arch/ppc64-break-on-_exit.s
|
/* This file is part of GDB, the GNU debugger.
Copyright 2021-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This file was generated from ppc64-break-on-_exit.c. */
.file "ppc64-break-on-_exit.c"
.abiversion 2
.section ".text"
.align 2
.p2align 4,,15
.globl _exit
.type _exit, @function
_exit:
.LCF0:
0: addis 2,12,.TOC.-.LCF0@ha
addi 2,2,.TOC.-.LCF0@l
.localentry _exit,.-_exit
addis 9,2,__libc_errno@got@tprel@ha
std 31,-8(1)
mr 31,3
std 30,-16(1)
li 0,234
ld 9,__libc_errno@got@tprel@l(9)
mr 3,31
add 30,9,__libc_errno@tls
#APP
# 28 "src/gdb/testsuite/gdb.arch/ppc64-break-on-_exit.c" 1
sc
mfcr 0
0:
# 0 "" 2
#NO_APP
andis. 9,0,0x1000
mr 9,3
li 0,1
mr 3,31
bne 0,.L13
.p2align 4,,15
.L2:
#APP
# 67 "src/gdb/testsuite/gdb.arch/ppc64-break-on-_exit.c" 1
sc
mfcr 0
0:
# 0 "" 2
#NO_APP
andis. 9,0,0x1000
bne 0,.L14
.L3:
#APP
# 87 "src/gdb/testsuite/gdb.arch/ppc64-break-on-_exit.c" 1
.long 0
# 0 "" 2
#NO_APP
.L15:
li 0,234
mr 3,31
#APP
# 28 "src/gdb/testsuite/gdb.arch/ppc64-break-on-_exit.c" 1
sc
mfcr 0
0:
# 0 "" 2
#NO_APP
andis. 9,0,0x1000
mr 9,3
li 0,1
mr 3,31
beq 0,.L2
.L13:
stw 9,0(30)
#APP
# 67 "src/gdb/testsuite/gdb.arch/ppc64-break-on-_exit.c" 1
sc
mfcr 0
0:
# 0 "" 2
#NO_APP
andis. 9,0,0x1000
beq 0,.L3
.p2align 4,,15
.L14:
stw 3,0(30)
#APP
# 87 "src/gdb/testsuite/gdb.arch/ppc64-break-on-_exit.c" 1
.long 0
# 0 "" 2
#NO_APP
b .L15
.long 0
.byte 0,0,0,0,0,2,0,0
.size _exit,.-_exit
.ident "GCC: (SUSE Linux) 7.5.0"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 39,257
|
gdb/testsuite/gdb.arch/amd64-invalid-stack-middle.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2014-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This file is compiled from gdb.arch/amd64-invalid-stack-middle.c
using: 'gcc -g -O0 -S -dA' and gcc version '4.7.2'.
Changes were then made to the CFI entry for func2. */
.file "amd64-invalid-stack-middle.c"
.text
.Ltext0:
.globl breakpt
.type breakpt, @function
breakpt:
.LFB0:
.file 1 "amd64-invalid-stack-middle.c"
# amd64-invalid-stack-middle.c:25
.loc 1 25 0
# BLOCK 2 seq:0
# PRED: ENTRY (fallthru)
pushq %rbp
.LCFI0:
movq %rsp, %rbp
.LCFI1:
# amd64-invalid-stack-middle.c:27
.loc 1 27 0
popq %rbp
.LCFI2:
# SUCC: EXIT [100.0%]
ret
.LFE0:
.size breakpt, .-breakpt
.globl func5
.type func5, @function
func5:
.LFB1:
# amd64-invalid-stack-middle.c:31
.loc 1 31 0
# BLOCK 2 seq:0
# PRED: ENTRY (fallthru)
pushq %rbp
.LCFI3:
movq %rsp, %rbp
.LCFI4:
# amd64-invalid-stack-middle.c:32
.loc 1 32 0
movl $0, %eax
call breakpt
# amd64-invalid-stack-middle.c:33
.loc 1 33 0
popq %rbp
.LCFI5:
# SUCC: EXIT [100.0%]
ret
.LFE1:
.size func5, .-func5
.globl func4
.type func4, @function
func4:
.LFB2:
# amd64-invalid-stack-middle.c:37
.loc 1 37 0
# BLOCK 2 seq:0
# PRED: ENTRY (fallthru)
pushq %rbp
.LCFI6:
movq %rsp, %rbp
.LCFI7:
# amd64-invalid-stack-middle.c:38
.loc 1 38 0
movl $0, %eax
call func5
# amd64-invalid-stack-middle.c:39
.loc 1 39 0
popq %rbp
.LCFI8:
# SUCC: EXIT [100.0%]
ret
.LFE2:
.size func4, .-func4
.globl func3
.type func3, @function
func3:
.LFB3:
# amd64-invalid-stack-middle.c:43
.loc 1 43 0
# BLOCK 2 seq:0
# PRED: ENTRY (fallthru)
pushq %rbp
.LCFI9:
movq %rsp, %rbp
.LCFI10:
# amd64-invalid-stack-middle.c:44
.loc 1 44 0
movl $0, %eax
call func4
# amd64-invalid-stack-middle.c:45
.loc 1 45 0
popq %rbp
.LCFI11:
# SUCC: EXIT [100.0%]
ret
.LFE3:
.size func3, .-func3
.globl func2
.type func2, @function
func2:
.LFB4:
# amd64-invalid-stack-middle.c:49
.loc 1 49 0
# BLOCK 2 seq:0
# PRED: ENTRY (fallthru)
pushq %rbp
.LCFI12:
movq %rsp, %rbp
.LCFI13:
subq $8, %rsp
movq %rdi, -8(%rbp)
# amd64-invalid-stack-middle.c:50
.loc 1 50 0
movl $0, %eax
call func3
# amd64-invalid-stack-middle.c:51
.loc 1 51 0
leave
.LCFI14:
# SUCC: EXIT [100.0%]
ret
.LFE4:
.size func2, .-func2
.globl func1
.type func1, @function
func1:
.LFB5:
# amd64-invalid-stack-middle.c:55
.loc 1 55 0
# BLOCK 2 seq:0
# PRED: ENTRY (fallthru)
pushq %rbp
.LCFI15:
movq %rsp, %rbp
.LCFI16:
subq $8, %rsp
movq %rdi, -8(%rbp)
# amd64-invalid-stack-middle.c:56
.loc 1 56 0
movq -8(%rbp), %rax
movq %rax, %rdi
call func2
# amd64-invalid-stack-middle.c:57
.loc 1 57 0
leave
.LCFI17:
# SUCC: EXIT [100.0%]
ret
.LFE5:
.size func1, .-func1
.section .rodata
.LC0:
.string "amd64-invalid-stack-middle.c"
.LC1:
.string "ptr != ((void *) -1)"
.LC2:
.string "ans == 0"
.text
.type make_invalid_ptr, @function
make_invalid_ptr:
.LFB6:
# amd64-invalid-stack-middle.c:65
.loc 1 65 0
# BLOCK 2 seq:0
# PRED: ENTRY (fallthru)
pushq %rbp
.LCFI18:
movq %rsp, %rbp
.LCFI19:
subq $32, %rsp
# amd64-invalid-stack-middle.c:69
.loc 1 69 0
call getpagesize
movl %eax, -4(%rbp)
# amd64-invalid-stack-middle.c:70
.loc 1 70 0
movl -4(%rbp), %eax
cltq
movl $0, %r9d
movl $-1, %r8d
movl $34, %ecx
movl $0, %edx
movq %rax, %rsi
movl $0, %edi
call mmap
movq %rax, -16(%rbp)
# amd64-invalid-stack-middle.c:73
.loc 1 73 0
cmpq $-1, -16(%rbp)
# SUCC: 3 (fallthru) 4
jne .L8
# BLOCK 3 seq:1
# PRED: 2 (fallthru)
movl $__PRETTY_FUNCTION__.2362, %ecx
movl $73, %edx
movl $.LC0, %esi
movl $.LC1, %edi
# SUCC:
call __assert_fail
# BLOCK 4 seq:2
# PRED: 2
.L8:
# amd64-invalid-stack-middle.c:74
.loc 1 74 0
movl -4(%rbp), %eax
movslq %eax, %rdx
movq -16(%rbp), %rax
movq %rdx, %rsi
movq %rax, %rdi
call munmap
movl %eax, -20(%rbp)
# amd64-invalid-stack-middle.c:75
.loc 1 75 0
cmpl $0, -20(%rbp)
# SUCC: 5 (fallthru) 6
je .L9
# BLOCK 5 seq:3
# PRED: 4 (fallthru)
movl $__PRETTY_FUNCTION__.2362, %ecx
movl $75, %edx
movl $.LC0, %esi
movl $.LC2, %edi
# SUCC:
call __assert_fail
# BLOCK 6 seq:4
# PRED: 4
.L9:
# amd64-invalid-stack-middle.c:77
.loc 1 77 0
movq -16(%rbp), %rax
# amd64-invalid-stack-middle.c:78
.loc 1 78 0
leave
.LCFI20:
# SUCC: EXIT [100.0%]
ret
.LFE6:
.size make_invalid_ptr, .-make_invalid_ptr
.globl main
.type main, @function
main:
.LFB7:
# amd64-invalid-stack-middle.c:82
.loc 1 82 0
# BLOCK 2 seq:0
# PRED: ENTRY (fallthru)
pushq %rbp
.LCFI21:
movq %rsp, %rbp
.LCFI22:
subq $16, %rsp
# amd64-invalid-stack-middle.c:85
.loc 1 85 0
call make_invalid_ptr
movq %rax, -8(%rbp)
# amd64-invalid-stack-middle.c:86
.loc 1 86 0
movq -8(%rbp), %rax
movq %rax, %rdi
call func1
# amd64-invalid-stack-middle.c:88
.loc 1 88 0
movl $0, %eax
# amd64-invalid-stack-middle.c:89
.loc 1 89 0
leave
.LCFI23:
# SUCC: EXIT [100.0%]
ret
.LFE7:
.size main, .-main
.section .rodata
.align 16
.type __PRETTY_FUNCTION__.2362, @object
.size __PRETTY_FUNCTION__.2362, 17
__PRETTY_FUNCTION__.2362:
.string "make_invalid_ptr"
#APP
.section .debug_frame,"",@progbits
.Lframe0:
.long .LECIE0-.LSCIE0 # Length of Common Information Entry
.LSCIE0:
.long 0xffffffff # CIE Identifier Tag
.byte 0x1 # CIE Version
.ascii "\0" # CIE Augmentation
.uleb128 0x1 # CIE Code Alignment Factor
.sleb128 -8 # CIE Data Alignment Factor
.byte 0x10 # CIE RA Column
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x7
.uleb128 0x8
.byte 0x90 # DW_CFA_offset, column 0x10
.uleb128 0x1
.align 8
.LECIE0:
.LSFDE0:
.long .LEFDE0-.LASFDE0 # FDE Length
.LASFDE0:
.long .Lframe0 # FDE CIE offset
.quad .LFB0 # FDE initial location
.quad .LFE0-.LFB0 # FDE address range
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI0-.LFB0
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x10
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI1-.LCFI0
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x6
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI2-.LCFI1
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE0:
.LSFDE2:
.long .LEFDE2-.LASFDE2 # FDE Length
.LASFDE2:
.long .Lframe0 # FDE CIE offset
.quad .LFB1 # FDE initial location
.quad .LFE1-.LFB1 # FDE address range
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI3-.LFB1
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x10
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI4-.LCFI3
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x6
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI5-.LCFI4
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE2:
.LSFDE4:
.long .LEFDE4-.LASFDE4 # FDE Length
.LASFDE4:
.long .Lframe0 # FDE CIE offset
.quad .LFB2 # FDE initial location
.quad .LFE2-.LFB2 # FDE address range
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI6-.LFB2
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x10
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI7-.LCFI6
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x6
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI8-.LCFI7
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE4:
.LSFDE6:
.long .LEFDE6-.LASFDE6 # FDE Length
.LASFDE6:
.long .Lframe0 # FDE CIE offset
.quad .LFB3 # FDE initial location
.quad .LFE3-.LFB3 # FDE address range
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI9-.LFB3
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x10
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI10-.LCFI9
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x6
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI11-.LCFI10
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE6:
.LSFDE8:
.long .LEFDE8-.LASFDE8 # FDE Length
.LASFDE8:
.long .Lframe0 # FDE CIE offset
.quad .LFB4 # FDE initial location
.quad .LFE4-.LFB4 # FDE address range
.byte 0xf # DW_CFA_def_cfa_expression
.uleb128 .LEDWBLK1 - .LSDWBLK1
.LSDWBLK1:
.byte 0x75 # DW_OP_breg5
.sleb128 0x0 # offset
.byte 0x94 # DW_OP_dref_size
.byte 0x8 # size
.LEDWBLK1:
.align 8 # Padding.
.LEFDE8:
.LSFDE10:
.long .LEFDE10-.LASFDE10 # FDE Length
.LASFDE10:
.long .Lframe0 # FDE CIE offset
.quad .LFB5 # FDE initial location
.quad .LFE5-.LFB5 # FDE address range
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI15-.LFB5
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x10
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI16-.LCFI15
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x6
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI17-.LCFI16
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE10:
.LSFDE12:
.long .LEFDE12-.LASFDE12 # FDE Length
.LASFDE12:
.long .Lframe0 # FDE CIE offset
.quad .LFB6 # FDE initial location
.quad .LFE6-.LFB6 # FDE address range
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI18-.LFB6
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x10
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI19-.LCFI18
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x6
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI20-.LCFI19
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE12:
.LSFDE14:
.long .LEFDE14-.LASFDE14 # FDE Length
.LASFDE14:
.long .Lframe0 # FDE CIE offset
.quad .LFB7 # FDE initial location
.quad .LFE7-.LFB7 # FDE address range
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI21-.LFB7
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x10
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI22-.LCFI21
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x6
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI23-.LCFI22
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE14:
#NO_APP
#APP
.section .eh_frame,"a",@progbits
.Lframe1:
.long .LECIE1-.LSCIE1 # Length of Common Information Entry
.LSCIE1:
.long 0 # CIE Identifier Tag
.byte 0x1 # CIE Version
.ascii "zR\0" # CIE Augmentation
.uleb128 0x1 # CIE Code Alignment Factor
.sleb128 -8 # CIE Data Alignment Factor
.byte 0x10 # CIE RA Column
.uleb128 0x1 # Augmentation size
.byte 0x3 # FDE Encoding (udata4)
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x7
.uleb128 0x8
.byte 0x90 # DW_CFA_offset, column 0x10
.uleb128 0x1
.align 8
.LECIE1:
.LSFDE17:
.long .LEFDE17-.LASFDE17 # FDE Length
.LASFDE17:
.long .LASFDE17-.Lframe1 # FDE CIE offset
.long .LFB0 # FDE initial location
.long .LFE0-.LFB0 # FDE address range
.uleb128 0 # Augmentation size
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI0-.LFB0
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x10
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI1-.LCFI0
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x6
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI2-.LCFI1
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE17:
.LSFDE19:
.long .LEFDE19-.LASFDE19 # FDE Length
.LASFDE19:
.long .LASFDE19-.Lframe1 # FDE CIE offset
.long .LFB1 # FDE initial location
.long .LFE1-.LFB1 # FDE address range
.uleb128 0 # Augmentation size
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI3-.LFB1
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x10
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI4-.LCFI3
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x6
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI5-.LCFI4
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE19:
.LSFDE21:
.long .LEFDE21-.LASFDE21 # FDE Length
.LASFDE21:
.long .LASFDE21-.Lframe1 # FDE CIE offset
.long .LFB2 # FDE initial location
.long .LFE2-.LFB2 # FDE address range
.uleb128 0 # Augmentation size
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI6-.LFB2
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x10
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI7-.LCFI6
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x6
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI8-.LCFI7
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE21:
.LSFDE23:
.long .LEFDE23-.LASFDE23 # FDE Length
.LASFDE23:
.long .LASFDE23-.Lframe1 # FDE CIE offset
.long .LFB3 # FDE initial location
.long .LFE3-.LFB3 # FDE address range
.uleb128 0 # Augmentation size
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI9-.LFB3
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x10
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI10-.LCFI9
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x6
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI11-.LCFI10
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE23:
.LSFDE25:
.long .LEFDE25-.LASFDE25 # FDE Length
.LASFDE25:
.long .LASFDE25-.Lframe1 # FDE CIE offset
.long .LFB4 # FDE initial location
.long .LFE4-.LFB4 # FDE address range
.uleb128 0 # Augmentation size
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI12-.LFB4
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x10
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI13-.LCFI12
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x6
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI14-.LCFI13
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE25:
.LSFDE27:
.long .LEFDE27-.LASFDE27 # FDE Length
.LASFDE27:
.long .LASFDE27-.Lframe1 # FDE CIE offset
.long .LFB5 # FDE initial location
.long .LFE5-.LFB5 # FDE address range
.uleb128 0 # Augmentation size
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI15-.LFB5
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x10
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI16-.LCFI15
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x6
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI17-.LCFI16
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE27:
.LSFDE29:
.long .LEFDE29-.LASFDE29 # FDE Length
.LASFDE29:
.long .LASFDE29-.Lframe1 # FDE CIE offset
.long .LFB6 # FDE initial location
.long .LFE6-.LFB6 # FDE address range
.uleb128 0 # Augmentation size
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI18-.LFB6
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x10
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI19-.LCFI18
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x6
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI20-.LCFI19
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE29:
.LSFDE31:
.long .LEFDE31-.LASFDE31 # FDE Length
.LASFDE31:
.long .LASFDE31-.Lframe1 # FDE CIE offset
.long .LFB7 # FDE initial location
.long .LFE7-.LFB7 # FDE address range
.uleb128 0 # Augmentation size
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI21-.LFB7
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x10
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI22-.LCFI21
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x6
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI23-.LCFI22
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE31:
#NO_APP
.text
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0x1f1 # Length of Compilation Unit Info
.value 0x2 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF17 # DW_AT_producer: "GNU C 4.7.2"
.byte 0x1 # DW_AT_language
.long .LASF18 # DW_AT_name: "amd64-invalid-stack-middle.c"
.long .LASF19 # DW_AT_comp_dir: "/home/gdb/binutils-gdb/gdb/testsuite/gdb.arch"
.quad .Ltext0 # DW_AT_low_pc
.quad .Letext0 # DW_AT_high_pc
.long .Ldebug_line0 # DW_AT_stmt_list
.uleb128 0x2 # (DIE (0x2d) DW_TAG_base_type)
.byte 0x8 # DW_AT_byte_size
.byte 0x7 # DW_AT_encoding
.long .LASF0 # DW_AT_name: "long unsigned int"
.uleb128 0x2 # (DIE (0x34) DW_TAG_base_type)
.byte 0x1 # DW_AT_byte_size
.byte 0x8 # DW_AT_encoding
.long .LASF1 # DW_AT_name: "unsigned char"
.uleb128 0x2 # (DIE (0x3b) DW_TAG_base_type)
.byte 0x2 # DW_AT_byte_size
.byte 0x7 # DW_AT_encoding
.long .LASF2 # DW_AT_name: "short unsigned int"
.uleb128 0x2 # (DIE (0x42) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x7 # DW_AT_encoding
.long .LASF3 # DW_AT_name: "unsigned int"
.uleb128 0x2 # (DIE (0x49) DW_TAG_base_type)
.byte 0x1 # DW_AT_byte_size
.byte 0x6 # DW_AT_encoding
.long .LASF4 # DW_AT_name: "signed char"
.uleb128 0x2 # (DIE (0x50) DW_TAG_base_type)
.byte 0x2 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.long .LASF5 # DW_AT_name: "short int"
.uleb128 0x3 # (DIE (0x57) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
.uleb128 0x2 # (DIE (0x5e) DW_TAG_base_type)
.byte 0x8 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.long .LASF6 # DW_AT_name: "long int"
.uleb128 0x2 # (DIE (0x65) DW_TAG_base_type)
.byte 0x8 # DW_AT_byte_size
.byte 0x7 # DW_AT_encoding
.long .LASF7 # DW_AT_name: "sizetype"
.uleb128 0x4 # (DIE (0x6c) DW_TAG_pointer_type)
.byte 0x8 # DW_AT_byte_size
.uleb128 0x2 # (DIE (0x6e) DW_TAG_base_type)
.byte 0x1 # DW_AT_byte_size
.byte 0x6 # DW_AT_encoding
.long .LASF8 # DW_AT_name: "char"
.uleb128 0x5 # (DIE (0x75) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF9 # DW_AT_name: "breakpt"
.byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c)
.byte 0x18 # DW_AT_decl_line
.quad .LFB0 # DW_AT_low_pc
.quad .LFE0 # DW_AT_high_pc
.long .LLST0 # DW_AT_frame_base
.byte 0x1 # DW_AT_GNU_all_call_sites
.uleb128 0x6 # (DIE (0x92) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF10 # DW_AT_name: "func5"
.byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c)
.byte 0x1e # DW_AT_decl_line
.quad .LFB1 # DW_AT_low_pc
.quad .LFE1 # DW_AT_high_pc
.long .LLST1 # DW_AT_frame_base
.byte 0x1 # DW_AT_GNU_all_tail_call_sites
.uleb128 0x6 # (DIE (0xaf) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF11 # DW_AT_name: "func4"
.byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c)
.byte 0x24 # DW_AT_decl_line
.quad .LFB2 # DW_AT_low_pc
.quad .LFE2 # DW_AT_high_pc
.long .LLST2 # DW_AT_frame_base
.byte 0x1 # DW_AT_GNU_all_tail_call_sites
.uleb128 0x6 # (DIE (0xcc) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF12 # DW_AT_name: "func3"
.byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c)
.byte 0x2a # DW_AT_decl_line
.quad .LFB3 # DW_AT_low_pc
.quad .LFE3 # DW_AT_high_pc
.long .LLST3 # DW_AT_frame_base
.byte 0x1 # DW_AT_GNU_all_tail_call_sites
.uleb128 0x7 # (DIE (0xe9) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF13 # DW_AT_name: "func2"
.byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c)
.byte 0x30 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.quad .LFB4 # DW_AT_low_pc
.quad .LFE4 # DW_AT_high_pc
.long .LLST4 # DW_AT_frame_base
.byte 0x1 # DW_AT_GNU_all_tail_call_sites
.long 0x11a # DW_AT_sibling
.uleb128 0x8 # (DIE (0x10b) DW_TAG_formal_parameter)
.ascii "ptr\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c)
.byte 0x30 # DW_AT_decl_line
.long 0x6c # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -24
.byte 0 # end of children of DIE 0xe9
.uleb128 0x7 # (DIE (0x11a) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF14 # DW_AT_name: "func1"
.byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c)
.byte 0x36 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.quad .LFB5 # DW_AT_low_pc
.quad .LFE5 # DW_AT_high_pc
.long .LLST5 # DW_AT_frame_base
.byte 0x1 # DW_AT_GNU_all_tail_call_sites
.long 0x14b # DW_AT_sibling
.uleb128 0x8 # (DIE (0x13c) DW_TAG_formal_parameter)
.ascii "ptr\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c)
.byte 0x36 # DW_AT_decl_line
.long 0x6c # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -24
.byte 0 # end of children of DIE 0x11a
.uleb128 0x9 # (DIE (0x14b) DW_TAG_subprogram)
.long .LASF20 # DW_AT_name: "make_invalid_ptr"
.byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c)
.byte 0x40 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x6c # DW_AT_type
.quad .LFB6 # DW_AT_low_pc
.quad .LFE6 # DW_AT_high_pc
.long .LLST6 # DW_AT_frame_base
.byte 0x1 # DW_AT_GNU_all_tail_call_sites
.long 0x1af # DW_AT_sibling
.uleb128 0xa # (DIE (0x170) DW_TAG_variable)
.long .LASF15 # DW_AT_name: "page_size"
.byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c)
.byte 0x42 # DW_AT_decl_line
.long 0x57 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -20
.uleb128 0xb # (DIE (0x17e) DW_TAG_variable)
.ascii "ans\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c)
.byte 0x42 # DW_AT_decl_line
.long 0x57 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -36
.uleb128 0xb # (DIE (0x18c) DW_TAG_variable)
.ascii "ptr\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c)
.byte 0x43 # DW_AT_decl_line
.long 0x6c # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -32
.uleb128 0xc # (DIE (0x19a) DW_TAG_variable)
.long .LASF21 # DW_AT_name: "__PRETTY_FUNCTION__"
.long 0x1bf # DW_AT_type
.byte 0x1 # DW_AT_artificial
.byte 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad __PRETTY_FUNCTION__.2362
.byte 0 # end of children of DIE 0x14b
.uleb128 0xd # (DIE (0x1af) DW_TAG_array_type)
.long 0x6e # DW_AT_type
.long 0x1bf # DW_AT_sibling
.uleb128 0xe # (DIE (0x1b8) DW_TAG_subrange_type)
.long 0x65 # DW_AT_type
.byte 0x10 # DW_AT_upper_bound
.byte 0 # end of children of DIE 0x1af
.uleb128 0xf # (DIE (0x1bf) DW_TAG_const_type)
.long 0x1af # DW_AT_type
.uleb128 0x10 # (DIE (0x1c4) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF22 # DW_AT_name: "main"
.byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c)
.byte 0x51 # DW_AT_decl_line
.long 0x57 # DW_AT_type
.quad .LFB7 # DW_AT_low_pc
.quad .LFE7 # DW_AT_high_pc
.long .LLST7 # DW_AT_frame_base
.byte 0x1 # DW_AT_GNU_all_tail_call_sites
.uleb128 0xa # (DIE (0x1e5) DW_TAG_variable)
.long .LASF16 # DW_AT_name: "invalid_ptr"
.byte 0x1 # DW_AT_decl_file (amd64-invalid-stack-middle.c)
.byte 0x53 # DW_AT_decl_line
.long 0x6c # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -24
.byte 0 # end of children of DIE 0x1c4
.byte 0 # end of children of DIE 0xb
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x6 # (DW_FORM_data4)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0
.byte 0
.uleb128 0x4 # (abbrev code)
.uleb128 0xf # (TAG: DW_TAG_pointer_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.byte 0
.byte 0
.uleb128 0x5 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0 # DW_children_no
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.byte 0
.byte 0
.uleb128 0x6 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0 # DW_children_no
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x2116 # (DW_AT_GNU_all_tail_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.byte 0
.byte 0
.uleb128 0x7 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x2116 # (DW_AT_GNU_all_tail_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x8 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0x9 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x2116 # (DW_AT_GNU_all_tail_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xa # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0xb # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0xc # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x34 # (DW_AT_artificial)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0xd # (abbrev code)
.uleb128 0x1 # (TAG: DW_TAG_array_type)
.byte 0x1 # DW_children_yes
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xe # (abbrev code)
.uleb128 0x21 # (TAG: DW_TAG_subrange_type)
.byte 0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2f # (DW_AT_upper_bound)
.uleb128 0xb # (DW_FORM_data1)
.byte 0
.byte 0
.uleb128 0xf # (abbrev code)
.uleb128 0x26 # (TAG: DW_TAG_const_type)
.byte 0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x10 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x2116 # (DW_AT_GNU_all_tail_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.byte 0
.byte 0
.byte 0
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.quad .LFB0-.Ltext0 # Location list begin address (*.LLST0)
.quad .LCFI0-.Ltext0 # Location list end address (*.LLST0)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad .LCFI0-.Ltext0 # Location list begin address (*.LLST0)
.quad .LCFI1-.Ltext0 # Location list end address (*.LLST0)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 16
.quad .LCFI1-.Ltext0 # Location list begin address (*.LLST0)
.quad .LCFI2-.Ltext0 # Location list end address (*.LLST0)
.value 0x2 # Location expression size
.byte 0x76 # DW_OP_breg6
.sleb128 16
.quad .LCFI2-.Ltext0 # Location list begin address (*.LLST0)
.quad .LFE0-.Ltext0 # Location list end address (*.LLST0)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad 0 # Location list terminator begin (*.LLST0)
.quad 0 # Location list terminator end (*.LLST0)
.LLST1:
.quad .LFB1-.Ltext0 # Location list begin address (*.LLST1)
.quad .LCFI3-.Ltext0 # Location list end address (*.LLST1)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad .LCFI3-.Ltext0 # Location list begin address (*.LLST1)
.quad .LCFI4-.Ltext0 # Location list end address (*.LLST1)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 16
.quad .LCFI4-.Ltext0 # Location list begin address (*.LLST1)
.quad .LCFI5-.Ltext0 # Location list end address (*.LLST1)
.value 0x2 # Location expression size
.byte 0x76 # DW_OP_breg6
.sleb128 16
.quad .LCFI5-.Ltext0 # Location list begin address (*.LLST1)
.quad .LFE1-.Ltext0 # Location list end address (*.LLST1)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad 0 # Location list terminator begin (*.LLST1)
.quad 0 # Location list terminator end (*.LLST1)
.LLST2:
.quad .LFB2-.Ltext0 # Location list begin address (*.LLST2)
.quad .LCFI6-.Ltext0 # Location list end address (*.LLST2)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad .LCFI6-.Ltext0 # Location list begin address (*.LLST2)
.quad .LCFI7-.Ltext0 # Location list end address (*.LLST2)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 16
.quad .LCFI7-.Ltext0 # Location list begin address (*.LLST2)
.quad .LCFI8-.Ltext0 # Location list end address (*.LLST2)
.value 0x2 # Location expression size
.byte 0x76 # DW_OP_breg6
.sleb128 16
.quad .LCFI8-.Ltext0 # Location list begin address (*.LLST2)
.quad .LFE2-.Ltext0 # Location list end address (*.LLST2)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad 0 # Location list terminator begin (*.LLST2)
.quad 0 # Location list terminator end (*.LLST2)
.LLST3:
.quad .LFB3-.Ltext0 # Location list begin address (*.LLST3)
.quad .LCFI9-.Ltext0 # Location list end address (*.LLST3)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad .LCFI9-.Ltext0 # Location list begin address (*.LLST3)
.quad .LCFI10-.Ltext0 # Location list end address (*.LLST3)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 16
.quad .LCFI10-.Ltext0 # Location list begin address (*.LLST3)
.quad .LCFI11-.Ltext0 # Location list end address (*.LLST3)
.value 0x2 # Location expression size
.byte 0x76 # DW_OP_breg6
.sleb128 16
.quad .LCFI11-.Ltext0 # Location list begin address (*.LLST3)
.quad .LFE3-.Ltext0 # Location list end address (*.LLST3)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad 0 # Location list terminator begin (*.LLST3)
.quad 0 # Location list terminator end (*.LLST3)
.LLST4:
.quad .LFB4-.Ltext0 # Location list begin address (*.LLST4)
.quad .LCFI12-.Ltext0 # Location list end address (*.LLST4)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad .LCFI12-.Ltext0 # Location list begin address (*.LLST4)
.quad .LCFI13-.Ltext0 # Location list end address (*.LLST4)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 16
.quad .LCFI13-.Ltext0 # Location list begin address (*.LLST4)
.quad .LCFI14-.Ltext0 # Location list end address (*.LLST4)
.value 0x2 # Location expression size
.byte 0x76 # DW_OP_breg6
.sleb128 16
.quad .LCFI14-.Ltext0 # Location list begin address (*.LLST4)
.quad .LFE4-.Ltext0 # Location list end address (*.LLST4)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad 0 # Location list terminator begin (*.LLST4)
.quad 0 # Location list terminator end (*.LLST4)
.LLST5:
.quad .LFB5-.Ltext0 # Location list begin address (*.LLST5)
.quad .LCFI15-.Ltext0 # Location list end address (*.LLST5)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad .LCFI15-.Ltext0 # Location list begin address (*.LLST5)
.quad .LCFI16-.Ltext0 # Location list end address (*.LLST5)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 16
.quad .LCFI16-.Ltext0 # Location list begin address (*.LLST5)
.quad .LCFI17-.Ltext0 # Location list end address (*.LLST5)
.value 0x2 # Location expression size
.byte 0x76 # DW_OP_breg6
.sleb128 16
.quad .LCFI17-.Ltext0 # Location list begin address (*.LLST5)
.quad .LFE5-.Ltext0 # Location list end address (*.LLST5)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad 0 # Location list terminator begin (*.LLST5)
.quad 0 # Location list terminator end (*.LLST5)
.LLST6:
.quad .LFB6-.Ltext0 # Location list begin address (*.LLST6)
.quad .LCFI18-.Ltext0 # Location list end address (*.LLST6)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad .LCFI18-.Ltext0 # Location list begin address (*.LLST6)
.quad .LCFI19-.Ltext0 # Location list end address (*.LLST6)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 16
.quad .LCFI19-.Ltext0 # Location list begin address (*.LLST6)
.quad .LCFI20-.Ltext0 # Location list end address (*.LLST6)
.value 0x2 # Location expression size
.byte 0x76 # DW_OP_breg6
.sleb128 16
.quad .LCFI20-.Ltext0 # Location list begin address (*.LLST6)
.quad .LFE6-.Ltext0 # Location list end address (*.LLST6)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad 0 # Location list terminator begin (*.LLST6)
.quad 0 # Location list terminator end (*.LLST6)
.LLST7:
.quad .LFB7-.Ltext0 # Location list begin address (*.LLST7)
.quad .LCFI21-.Ltext0 # Location list end address (*.LLST7)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad .LCFI21-.Ltext0 # Location list begin address (*.LLST7)
.quad .LCFI22-.Ltext0 # Location list end address (*.LLST7)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 16
.quad .LCFI22-.Ltext0 # Location list begin address (*.LLST7)
.quad .LCFI23-.Ltext0 # Location list end address (*.LLST7)
.value 0x2 # Location expression size
.byte 0x76 # DW_OP_breg6
.sleb128 16
.quad .LCFI23-.Ltext0 # Location list begin address (*.LLST7)
.quad .LFE7-.Ltext0 # Location list end address (*.LLST7)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad 0 # Location list terminator begin (*.LLST7)
.quad 0 # Location list terminator end (*.LLST7)
.section .debug_aranges,"",@progbits
.long 0x2c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 16 byte boundary
.value 0
.quad .Ltext0 # Address
.quad .Letext0-.Ltext0 # Length
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF10:
.string "func5"
.LASF20:
.string "make_invalid_ptr"
.LASF21:
.string "__PRETTY_FUNCTION__"
.LASF18:
.string "amd64-invalid-stack-middle.c"
.LASF22:
.string "main"
.LASF14:
.string "func1"
.LASF17:
.string "GNU C 4.7.2"
.LASF11:
.string "func4"
.LASF0:
.string "long unsigned int"
.LASF1:
.string "unsigned char"
.LASF8:
.string "char"
.LASF6:
.string "long int"
.LASF15:
.string "page_size"
.LASF13:
.string "func2"
.LASF16:
.string "invalid_ptr"
.LASF2:
.string "short unsigned int"
.LASF4:
.string "signed char"
.LASF9:
.string "breakpt"
.LASF19:
.string "/home/gdb/binutils-gdb/gdb/testsuite/gdb.arch"
.LASF5:
.string "short int"
.LASF3:
.string "unsigned int"
.LASF12:
.string "func3"
.LASF7:
.string "sizetype"
.ident "GCC: (GNU) 4.7.2"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 1,541
|
gdb/testsuite/gdb.arch/aarch64-unwind-pc.S
|
/* Copyright 2022 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
.globl main
.type main,#function
main:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa sp, 16
.cfi_offset x29, 0
.cfi_offset x30, 8
bl test_func
ldp x29, x30, [sp], 16
.cfi_restore x29
.cfi_restore x30
.cfi_def_cfa sp, 0
mov x0, 0
ret
.cfi_endproc
.globl test_func
test_func:
.cfi_startproc
// Unwind x30 to a different value
// CFA_val_expression x30 const2u 0x1234
.cfi_escape 0x16, 30, 0x03, 0x0a, 0x34, 0x12
// CFA_val_expression pc breg30 0
.cfi_escape 0x16, 32, 0x02, 0x8e, 0x00
mov x0, x30
.cfi_register 32, x0
mov x30, 0x1234
ret x0
.cfi_endproc
|
stsp/binutils-ia16
| 16,014
|
gdb/testsuite/gdb.arch/arc-analyze-prologue.S
|
; This testcase is part of GDB, the GNU debugger.
; Copyright 2017-2022 Free Software Foundation, Inc.
; This program is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; either version 3 of the License, or
; (at your option) any later version.
;
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with this program. If not, see <http://www.gnu.org/licenses/>.
.section .data
some_variable:
.long 0xdeadbeef
.section .text
.global main
.type main, @function
; Standard prologue.
.align 4
standard_prologue:
push blink
sub sp,sp,12
st r13, [sp, 0]
st r14, [sp, 4]
st r18, [sp, 8]
add r0, r1, r2
ld r18, [sp, 8]
ld r14, [sp, 4]
ld r13, [sp, 0]
add sp,sp,12
pop blink
j [blink]
; Standard prologue using short instructions.
.align 4
mini_prologue:
push_s blink
sub_s sp,sp,12
; ST_S can store only some of the core registers.
st_s r13, [sp, 0]
st_s r15, [sp, 4]
st_s r14, [sp, 8]
add r0, r1, r2
add sp,sp,16
j [blink]
; Standard prologue without `sub sp,sp,INTEGER`.
.align 4
no_subsp_prologue:
push blink
push r13
push r20
push r25
add r0, r1, r2
pop r25
pop r20
pop r13
pop blink
j [blink]
; Standard prologue of leaf function.
.align 4
leaf_prologue:
sub sp,sp,8
st r13, [sp, 0]
st r15, [sp, 4]
add r0, r1, r2
ld r13, [sp, 0]
ld r15, [sp, 4]
j.d [blink]
add sp,sp,8
; Prologue with `push fp`.
.align 4
pushfp_prologue:
push r13
push r14
push fp
; mov fp,sp is part of prologue, but this test will not verify that.
; It will be checked later in the "arg_regs_fp" test.
mov fp, sp
add r0, r1, r2
pop fp
pop r14
pop r13
j [blink]
; Prologue with frame pointer and store relative to FP.
.align 4
fp_prologue_with_store:
push r13
push r14
push fp
mov fp, sp
sub_s sp,sp,4
st r15,[fp,-4]
add r0, r1, r2
pop r15
pop fp
pop r14
pop r13
j [blink]
; Verify that store of the non-callee saved registers is not part of prologue.
; Repeat this test for multiple registers, to check boundaries. Also check
; with both ST and PUSH (aka ST.AW). We have to use multiple functions for
; this, because GDB would stop analisys at the first instruction that is not
; part of prologue.
.align 4
noncallee_saved_regs_r12_st:
sub sp,sp,8
st r13, [sp, 4]
st r12, [sp, 0]
add r0, r1, r2
j.d [blink]
add sp,sp,8
.align 4
noncallee_saved_regs_r12_push:
push r13
push r12
add r0, r1, r2
j.d [blink]
add sp,sp,8
.align 4
noncallee_saved_regs_r2_push:
push r13
push r2
add r0, r1, r2
j.d [blink]
add sp,sp,8
.align 4
noncallee_saved_regs_gp_push:
push r25
push gp
add r0, r1, r2
j.d [blink]
add sp,sp,8
; LP_COUNT is treated like a normal register.
.align 4
noncallee_saved_regs_lp_count:
push r25
push lp_count
add r0, r1, r2
j.d [blink]
add sp,sp,8
; BLINK is saved, but after an instruction that is not part of prologue.
; Currently arc_analyze_prologue stops analisys at the first intstruction
; that is not a part of prologue. This might be not the best way, but it is
; what it is right now, so this test confirms this.
.align 4
noncallee_saved_regs_blink_out_of_prologue:
push r25
push gp
push blink
add r0, r1, r2
j.d [blink]
add sp,sp,12
; Saving arguments register via FP.
.align 4
arg_regs_fp:
push fp
mov fp, sp
sub sp, sp, 16
st r0, [fp, -4]
st r1, [fp, -8]
st r7, [fp, -12]
st r8, [fp, -16]
add r0, r1, r2
add sp,sp,16
pop fp
j [blink]
; Like the previous, but with mov_s.
.align 4
arg_regs_fp_mov_s:
push fp
mov_s fp, sp
sub sp, sp, 8
st r0, [fp, -4]
; Not part of the prologue.
st r8, [fp, -8]
add r0, r1, r2
add sp,sp,8
pop fp
j [blink]
; Saving arguments register without FP.
.align 4
arg_regs_sp:
sub sp, sp, 24
st r0, [sp, 0]
st r1, [sp, 4]
st r7, [sp, 8]
; Normally that would be done before saving args, but it is used as a
; marker that saving arguments relatively to SP is considered part of
; prologue.
st r13, [sp, 16]
; Not part of the prologue.
st r8, [sp, 12]
st r14, [sp, 20]
add r0, r1, r2
j.d [blink]
add sp,sp,24
; ENTER_S that does nothing.
.align 4
enter_s_nop:
; Effectively a nop.
enter_s 0
add r0,r1,r2
j [blink]
; ENTER_S that stores BLINK.
.align 4
enter_s_blink:
enter_s 32
add r0,r1,r2
j.d [blink]
add sp,sp,4
; ENTER_S that stores FP.
.align 4
enter_s_fp:
enter_s 16
add r0,r1,r2
j.d [blink]
add sp,sp,4
; ENTER_S that stores R13, FP and BLINK.
.align 4
enter_s_r13:
enter_s (32 + 16 + 1)
add r0,r1,r2
j.d [blink]
add sp,sp,12
; ENTER_S that stores R13-R15
.align 4
enter_s_r15:
enter_s 3
add r0,r1,r2
j.d [blink]
add sp,sp,12
; ENTER_S that stores everything it could.
.align 4
enter_s_all:
enter_s (32 + 16 + 14)
add r0,r1,r2
j.d [blink]
add sp,sp,64
; Deeper nesting.
.align 4
nested_prologue_inner:
sub sp,sp,8
st r18, [sp, 4]
st r13, [sp, 0]
add r0, r1, r2
ld r18, [sp, 4]
ld r13, [sp, 0]
j.d [blink]
add sp,sp,8
.align 4
nested_prologue_outer:
push blink
sub sp,sp,8
st r14, [sp, 0]
st r15, [sp, 4]
bl @nested_prologue_inner
add r0, r1, r2
ld r14, [sp, 0]
ld r15, [sp, 4]
add sp,sp,8
pop blink
j [blink]
; Prologue with maximum length.
; Expressions like (0xFFFFFFFF + 25) force assembler to use long immediate
; even for values that don't need it, thus letting us test maksimum prologue
; length without having huge frames.
.align 4
max_length_prologue:
; Variadic args
sub sp,sp,(0xFFFFFFFF + 25) ; 24 bytes
push blink
; Allocate space for 13 callee-saved and 8 arg regs.
sub sp,sp,(0xFFFFFFFF + 1 + 21 * 4)
st r13, [sp, 0]
st r14, [sp, 4]
st r15, [sp, 8]
st r16, [sp, 12]
st r17, [sp, 16]
st r18, [sp, 20]
st r19, [sp, 24]
st r20, [sp, 28]
st r21, [sp, 32]
st r22, [sp, 36]
st r23, [sp, 40]
st r24, [sp, 44]
st r25, [sp, 48]
st r0, [sp, 52]
st r1, [sp, 56]
st r2, [sp, 60]
st r3, [sp, 64]
st r4, [sp, 68]
st r5, [sp, 72]
st r6, [sp, 76]
st r7, [sp, 80]
push fp
mov fp,sp
sub sp,sp,(0xFFFFFFFF + 1 + 16) ; Space for local variables.
; End of prologue.
add sp,sp,24 + 21 * 4 + 16
j [blink]
; Few tests that test that prologue analysis stops at branch. There are four
; types of "branches": conditional and non-conditional, relative branches and
; absolute jumps.
.align 4
branch_in_prologue:
push r13
b @.L1
; This store on stack is not a prologue.
push r14
.L1:
add r0,r1,r2
j.d [blink]
add sp,sp,4
.align 4
cond_branch_in_prologue:
sub_s sp,sp,8
st_s r13,[sp,4]
; Doesn't matter if branch is taken or not.
breq r0,r1,@.L2
; This store on stack is not a prologue.
st_s r14,[sp,0]
.L2:
add r0,r1,r2
pop fp
j.d [blink]
add sp,sp,8
.align 4
jump_in_prologue:
push r13
j @.L3
; This store on stack is not a prologue.
push r14
.L3:
add r0,r1,r2
j.d [blink]
add sp,sp,4
.align 4
cond_jump_in_prologue:
sub_s sp,sp,8
st_s r13,[sp,4]
; It doesn't matter if jump is taken or not - prologue analysis has to
; stop before `jeq` in any case.
jeq @.L4
; This store on stack is not a prologue.
st_s r14,[sp,0]
.L4:
add r0,r1,r2
j.d [blink]
add sp,sp,8
.align 4
predicated_insn:
sub_s sp,sp,12
st_s r13,[sp,8]
st_s r15,[sp,0]
; Use SUB SP,SP,0 because it is otherwise a valid instruction for
; prologue, so it will halt analysis purely because of its predicate.
sub.eq sp,sp,0 ; This is not a prologue anymore.
st_s r14,[sp,4]
add sp,sp,12
j [blink]
; Loops should halt prologue analysis.
.align 4
loop_in_prologue:
push r25
push lp_count
mov lp_count, 4
lp @.Lloop_end1
push r26 ; Not part of prologue.
add r0, r1, r2
.Lloop_end1:
add r1, r1, r2
pop r26
add sp,sp,8
pop r25
j [blink]
; Store of a constant value (not a register).
.align 4
store_constant:
sub_s sp,sp,12
st_s r13,[sp,8]
st 0xdeadbeef,[sp,0]
st_s r14,[sp,4]
add sp,sp,12
j [blink]
; Test that store to immediate address halts prologue analysis.
.align 4
st_c_limm:
push r15
st r14,[@some_variable]
push r13
add sp,sp,8
j [blink]
; Store with AB writeback mode.
.align 4
st_ab_writeback:
sub sp,sp,8
st r13,[sp,4]
st.ab r14,[sp,-4]
st r15,[sp,0]
add sp,sp,12
j [blink]
; Store of a word with AS writeback mode.
.align 4
st_as_writeback:
sub sp,sp,12
st r13,[sp,8]
st.as r14,[sp,1] ; ST.AS, hence address is (offset << 2).
st r15,[sp,0]
add sp,sp,12
j [blink]
; Store of a halfword with AS writeback mode.
.align 4
sth_as_writeback:
sub sp,sp,12
st r13,[sp,8]
sth.as r14,[sp,2] ; STH.AS, hence address is (offset << 1).
st r15,[sp,0]
add sp,sp,12
j [blink]
; Store of a double word with AS writeback mode. Shift is still 2, like ST!
.align 4
std_as_writeback:
sub sp,sp,16
st r13,[sp,12]
#ifdef __ARC_LL64__
std.as r14,[sp,1] ; STD.AS, hence address is (offset << 2).
#else
st.as r14,[sp,1] ; STD.AS, hence address is (offset << 2).
st.as r15,[sp,2] ; STD.AS, hence address is (offset << 2).
#endif
st r16,[sp,0]
add sp,sp,12
j [blink]
; Store of the halfword. R14 will not be reported as "saved".
.align 4
st_halfword:
sub sp,sp,12
st r13,[sp,8]
sth r14,[sp,4]
st r15,[sp,0]
add sp,sp,12
j [blink]
; Store of the halfword. R14 will not be reported as "saved".
.align 4
sts_halfword:
sub sp,sp,12
st r13,[sp,8]
mov r13,sp
sth_s r14,[r13,4]
st r15,[sp,0]
add sp,sp,12
j [blink]
; Store of the byte. R14 will not be reported as "saved".
.align 4
st_byte:
sub sp,sp,12
st r13,[sp,8]
stb r14,[sp,4]
st r15,[sp,0]
add sp,sp,12
j [blink]
; Store of the byte. R14 will not be reported as "saved".
.align 4
sts_byte:
sub sp,sp,12
st r13,[sp,8]
mov r13,sp
stb_s r14,[r13,4]
st r15,[sp,0]
add sp,sp,12
j [blink]
; Store of the byte. R14 will not be reported as "saved".
.align 4
sts_byte_sp:
sub sp,sp,12
st r13,[sp,8]
stb_s r14,[sp,4]
st r15,[sp,0]
add sp,sp,12
j [blink]
; Double word store, optionally available for ARC HS.
.align 4
st_double:
sub sp,sp,8
#ifdef __ARC_LL64__
std r14,[sp,0]
std.aw r18,[sp,-8]
std.aw 0xdeadbeef,[sp,-8]
#else
st r14,[sp,0]
st r15,[sp,4]
st.aw r19,[sp,-4]
st.aw r18,[sp,-4]
sub sp,sp,8
#endif
add sp,sp,24
j [blink]
; Store relative to some register with a known value.
.align 4
r_relative_store:
sub_s sp,sp,12
st_s r13,[sp,8]
mov r13,sp
; Check for both mov and mov_s in one testcase.
mov_s r12,r13
st r15,[r12,0]
st_s r14,[sp,4]
add sp,sp,12
j [blink]
; Store relative to some register with a known value using sub.
; Like a previous test, but register is assigned via sub, instead of mov.
.align 4
r_relative_sub_store:
; Following is a complicated way to construct frame like this:
; sub_s sp,sp,12
; st_s r13,[sp,8]
; st_s r14,[sp,4]
; st_s r15,[sp,0]
sub_s sp,sp,12
st_s r13,[sp,8]
sub r13,sp,4
st r14,[r13,8]
st_s r15,[sp,0]
add sp,sp,12
j [blink]
; Like r_relative_store, but using st_s c,[b,u7] which has different opcode.
.align 4
r_relative_store_st_s:
sub_s sp,sp,12
st_s r13,[sp,8]
mov r13,sp
st_s r15,[r13,4]
st_s r14,[sp,0]
add sp,sp,12
j [blink]
; Store relative to some register with a unknown value.
.align 4
r_relative_store_unknown:
sub_s sp,sp,12
st_s r13,[sp,8]
st r15,[gp,0] ; GP value is not relative to SP.
st_s r14,[sp,4]
add sp,sp,12
j [blink]
; Store relative to some register with a unknown value, using st_s r0,[gp,s11].
.align 4
st_s_r0gp:
sub_s sp,sp,12
st_s r13,[sp,8]
st_s r0,[gp,0] ; GP value is not relative to SP.
st_s r14,[sp,4]
add sp,sp,12
j [blink]
; Check prologue that uses `push_s RR` instructions. `push_s b` and `push_s
; blink` use slightly different subopcodes.
.align 4
push_s_prologue:
push_s r12
push_s r0
push_s r3
push_s r13
push_s r1
push_s r14
push_s r15
push_s r2
push_s blink ; Also tested in mini_prologue ().
add sp,sp,(4 * 9)
j [blink]
; Check for SUB_S c,b,u3 presence - it doesn't affect prologue.
.align 4
sub_s_cbu3:
push_s r13
sub_s r0,r1,3
push_s r14
add sp,sp,8
j [blink]
; Check for SUB_S b,b,c presence - it doesn't affect prologue.
.align 4
sub_s_bbc:
push_s r13
sub_s r0,r0,r1
push_s r0
push_s r1
push_s r14
add sp,sp,16
j [blink]
; Check for SUB_S b,b,u5.
.align 4
sub_s_bbu5:
push_s r13
sub_s r2,r2,14
push_s r2
push_s r14
add sp,sp,12
j [blink]
; Check for SUB 0,b,c, which is effectively a noop (but it can set status
; flags). It shouldn't stop prologue analysis.
.align 4
sub_0bc:
push_s r13
sub 0,r1,r2
sub.f 0,r3,r4
push_s r14
add sp,sp,8
j [blink]
; Check for SUB a,limm,c.
.align 4
sub_alimmb:
push_s r13
sub r13,0xdeadbeef,r14
push_s r14
add sp,sp,8
j [blink]
; Check for sub_s.ne b,b,b. Has a condition code, hence should halt prologue.
.align 4
sub_s_ne_bbb:
push_s r13
sub_s.ne r13,r13,r13
push_s r14
add sp,sp,8
j [blink]
; Check MOV that uses LIMM values.
.align 4
mov_limm:
push_s r13
mov r13,0xdeadbeef
push_s r14
add sp,sp,4
pop_s r13
j [blink]
; Check MOV 0,c.
.align 4
mov0c_limm:
push_s r13
mov 0,r13
push_s r14
add sp,sp,4
pop_s r13
j [blink]
; Check that MOV_S h,s3 doesn't prevent prologue analysis.
.align 4
mov_s_hs3:
push_s r13
mov_s r5,1
push_s r14
add sp,sp,8
j [blink]
; Check that MOV_S b,u8 doesn't prevent prologue analysis.
.align 4
mov_s_bu8:
push_s r13
mov_s r12,250
push_s r14
add sp,sp,8
j [blink]
; Check that `mov_s.ne b,h` halts prologue analysis.
.align 4
mov_s_ne_bh:
push_s r13
mov_s.ne r13,r5
push_s r14
add sp,sp,8
j [blink]
; Check that register R12 which original value is not stored will not pop-up in
; the "Saved registers" list.
.align 4
unstored_reg:
sub_s sp,sp,12
st_s r13,[sp,0]
st_s r14,[sp,4]
mov r12,0x42
st_s r12,[sp,8]
add sp,sp,12
j [blink]
; Two stores at the same adddress. GDB should report only the R14.
.align 4
double_store:
sub_s sp,sp,4
st_s r13,[sp,0]
st_s r14,[sp,0]
add sp,sp,4
j [blink]
; Test for a case where callee has an alloca or anything else that might
; modify stack dynamically in the function body - after the prologue.
; This assumes that FP is set properly, so that GDB can use it - this holds
; true for frames generated by GCC.
.align 4
alloca_outer:
sub sp,sp,8
st blink,[sp,4]
st fp,[sp,0]
mov fp,sp
add r0,r1,r2 ; Not a prologue anymore.
sub sp,sp,8
bl @alloca_inner
add sp,sp,8
ld fp,[sp,0]
ld blink,[sp,4]
j.d [blink]
add sp,sp,8
.align 4
alloca_inner:
push r13
push r14
add sp,sp,8
j [blink]
.align 4
main:
push blink
# Create small section for GP-relative accesses.
push gp
sub sp,sp,16
add gp,sp,8
bl @standard_prologue
bl @mini_prologue
bl @no_subsp_prologue
bl @leaf_prologue
bl @pushfp_prologue
bl @fp_prologue_with_store
bl @noncallee_saved_regs_r12_st
bl @noncallee_saved_regs_r12_push
bl @noncallee_saved_regs_r2_push
bl @noncallee_saved_regs_gp_push
bl @noncallee_saved_regs_lp_count
bl @noncallee_saved_regs_blink_out_of_prologue
bl @arg_regs_fp
bl @arg_regs_fp_mov_s
bl @arg_regs_sp
bl @enter_s_nop
bl @enter_s_blink
bl @enter_s_fp
bl @enter_s_r13
bl @enter_s_r15
bl @enter_s_all
bl @nested_prologue_outer
bl @max_length_prologue
bl @branch_in_prologue
bl @cond_branch_in_prologue
bl @jump_in_prologue
bl @cond_jump_in_prologue
bl @predicated_insn
bl @loop_in_prologue
bl @store_constant
bl @st_c_limm
bl @st_ab_writeback
bl @st_as_writeback
bl @sth_as_writeback
bl @std_as_writeback
bl @st_halfword
bl @sts_halfword
bl @st_byte
bl @sts_byte
bl @sts_byte_sp
bl @st_double
bl @r_relative_store
bl @r_relative_sub_store
bl @r_relative_store_st_s
bl @r_relative_store_unknown
bl @st_s_r0gp
bl @push_s_prologue
bl @sub_s_cbu3
bl @sub_s_bbc
bl @sub_s_bbu5
bl @sub_0bc
bl @sub_alimmb
bl @sub_s_ne_bbb
bl @mov_limm
bl @mov0c_limm
bl @mov_s_hs3
bl @mov_s_bu8
bl @mov_s_ne_bh
bl @unstored_reg
bl @double_store
bl @alloca_outer
add sp,sp,16
pop gp
pop blink
j_s [blink]
.align 4
|
stsp/binutils-ia16
| 9,965
|
gdb/testsuite/gdb.arch/powerpc-power8.s
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2014-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
.globl func
func:
.long 0x7c05071d /* tabort. r5 */
.long 0x7ce8861d /* tabortwc. 7,r8,r16 */
.long 0x7e8b565d /* tabortdc. 20,r11,r10 */
.long 0x7e2a9e9d /* tabortwci. 17,r10,-13 */
.long 0x7fa3dedd /* tabortdci. 29,r3,-5 */
.long 0x7c00051d /* tbegin. */
.long 0x7f80059c /* tcheck cr7 */
.long 0x7c00055d /* tend. */
.long 0x7e00055d /* tendall. */
.long 0x7c18075d /* treclaim. r24 */
.long 0x7c0007dd /* trechkpt. */
.long 0x7c0005dd /* tsuspend. */
.long 0x7c2005dd /* tresume. */
.long 0x60420000 /* ori r2,r2,0 */
.long 0x60000000 /* nop */
.long 0x4c000124 /* rfebb 0 */
.long 0x4c000924 /* rfebb */
.long 0x4d950460 /* bgttar cr5 */
.long 0x4c870461 /* bnstarl cr1 */
.long 0x4dec0460 /* blttar+ cr3 */
.long 0x4ce20461 /* bnetarl+ */
.long 0x4c880c60 /* bgetar cr2,1 */
.long 0x4c871461 /* bnstarl cr1,2 */
.long 0x7c00003c /* waitasec */
.long 0x7c00411c /* msgsndp r8 */
.long 0x7c200126 /* mtsle 1 */
.long 0x7c00d95c /* msgclrp r27 */
.long 0x7d4a616d /* stqcx. r10,r10,r12 */
.long 0x7f80396d /* stqcx. r28,0,r7 */
.long 0x7f135a28 /* lqarx r24,r19,r11 */
.long 0x7ec05a28 /* lqarx r22,0,r11 */
.long 0x7e80325c /* mfbhrbe r20,6 */
.long 0x7fb18329 /* pbt. r29,r17,r16 */
.long 0x7dc03b29 /* pbt. r14,0,r7 */
.long 0x7c00035c /* clrbhrb */
.long 0x116a05ed /* vpermxor v11,v10,v0,v23 */
.long 0x1302393c /* vaddeuqm v24,v2,v7,v4 */
.long 0x114a40bd /* vaddecuq v10,v10,v8,v2 */
.long 0x10af44fe /* vsubeuqm v5,v15,v8,v19 */
.long 0x119f877f /* vsubecuq v12,v31,v16,v29 */
.long 0x129d6888 /* vmulouw v20,v29,v13 */
.long 0x13a0d089 /* vmuluwm v29,v0,v26 */
.long 0x1115e0c0 /* vaddudm v8,v21,v28 */
.long 0x103a08c2 /* vmaxud v1,v26,v1 */
.long 0x128308c4 /* vrld v20,v3,v1 */
.long 0x109358c7 /* vcmpequd v4,v19,v11 */
.long 0x12eef100 /* vadduqm v23,v14,v30 */
.long 0x11086940 /* vaddcuq v8,v8,v13 */
.long 0x139b2188 /* vmulosw v28,v27,v4 */
.long 0x106421c2 /* vmaxsd v3,v4,v4 */
.long 0x1013aa88 /* vmuleuw v0,v19,v21 */
.long 0x13149ac2 /* vminud v24,v20,v19 */
.long 0x101c7ac7 /* vcmpgtud v0,v28,v15 */
.long 0x12a01388 /* vmulesw v21,v0,v2 */
.long 0x113a4bc2 /* vminsd v9,v26,v9 */
.long 0x133d5bc4 /* vsrad v25,v29,v11 */
.long 0x117c5bc7 /* vcmpgtsd v11,v28,v11 */
.long 0x10a8d601 /* bcdadd. v5,v8,v26,1 */
.long 0x10836408 /* vpmsumb v4,v3,v12 */
.long 0x135fae41 /* bcdsub. v26,v31,v21,1 */
.long 0x10b18448 /* vpmsumh v5,v17,v16 */
.long 0x12f1a44e /* vpkudum v23,v17,v20 */
.long 0x1315ec88 /* vpmsumw v24,v21,v29 */
.long 0x11366cc8 /* vpmsumd v9,v22,v13 */
.long 0x125394ce /* vpkudus v18,v19,v18 */
.long 0x13d0b500 /* vsubuqm v30,v16,v22 */
.long 0x11cb3d08 /* vcipher v14,v11,v7 */
.long 0x1142b509 /* vcipherlast v10,v2,v22 */
.long 0x12e06d0c /* vgbbd v23,v13 */
.long 0x12198540 /* vsubcuq v16,v25,v16 */
.long 0x13e12d44 /* vorc v31,v1,v5 */
.long 0x1091fd48 /* vncipher v4,v17,v31 */
.long 0x1302dd49 /* vncipherlast v24,v2,v27 */
.long 0x12f5bd4c /* vbpermq v23,v21,v23 */
.long 0x13724d4e /* vpksdus v27,v18,v9 */
.long 0x137ddd84 /* vnand v27,v29,v27 */
.long 0x1273c5c4 /* vsld v19,v19,v24 */
.long 0x10ad05c8 /* vsbox v5,v13 */
.long 0x13233dce /* vpksdss v25,v3,v7 */
.long 0x138804c7 /* vcmpequd. v28,v8,v0 */
.long 0x1340d64e /* vupkhsw v26,v26 */
.long 0x10a73682 /* vshasigmaw v5,v7,0,6 */
.long 0x13957684 /* veqv v28,v21,v14 */
.long 0x10289e8c /* vmrgow v1,v8,v19 */
.long 0x100a56c2 /* vshasigmad v0,v10,0,10 */
.long 0x10bb76c4 /* vsrd v5,v27,v14 */
.long 0x11606ece /* vupklsw v11,v13 */
.long 0x11c08702 /* vclzb v14,v16 */
.long 0x1280df03 /* vpopcntb v20,v27 */
.long 0x13805f42 /* vclzh v28,v11 */
.long 0x13004f43 /* vpopcnth v24,v9 */
.long 0x1360ff82 /* vclzw v27,v31 */
.long 0x12209f83 /* vpopcntw v17,v19 */
.long 0x1180efc2 /* vclzd v12,v29 */
.long 0x12e0b7c3 /* vpopcntd v23,v22 */
.long 0x1314eec7 /* vcmpgtud. v24,v20,v29 */
.long 0x1126dfc7 /* vcmpgtsd. v9,v6,v27 */
.long 0x7fced019 /* lxsiwzx vs62,r14,r26 */
.long 0x7d00c819 /* lxsiwzx vs40,0,r25 */
.long 0x7f20d098 /* lxsiwax vs25,0,r26 */
.long 0x7c601898 /* lxsiwax vs3,0,r3 */
.long 0x7fcc0067 /* mfvsrd r12,vs62 */
.long 0x7d9400e6 /* mffprwz r20,f12 */
.long 0x7dc97118 /* stxsiwx vs14,r9,r14 */
.long 0x7ea04118 /* stxsiwx vs21,0,r8 */
.long 0x7e0b0167 /* mtvsrd vs48,r11 */
.long 0x7ff701a7 /* mtvrwa v31,r23 */
.long 0x7e1a01e6 /* mtfprwz f16,r26 */
.long 0x7db36c18 /* lxsspx vs13,r19,r13 */
.long 0x7e406c18 /* lxsspx vs18,0,r13 */
.long 0x7d622519 /* stxsspx vs43,r2,r4 */
.long 0x7ee05d19 /* stxsspx vs55,0,r11 */
.long 0xf2d0c805 /* xsaddsp vs54,vs48,vs25 */
.long 0xf1d2080c /* xsmaddasp vs14,vs50,vs1 */
.long 0xf3565042 /* xssubsp vs26,vs22,vs42 */
.long 0xf375a04e /* xsmaddmsp vs27,vs53,vs52 */
.long 0xf100d82a /* xsrsqrtesp vs8,vs59 */
.long 0xf180482e /* xssqrtsp vs12,vs41 */
.long 0xf32b0083 /* xsmulsp vs57,vs11,vs32 */
.long 0xf0d4d089 /* xsmsubasp vs38,vs20,vs26 */
.long 0xf35330c0 /* xsdivsp vs26,vs19,vs6 */
.long 0xf065b8cf /* xsmsubmsp vs35,vs37,vs55 */
.long 0xf3604069 /* xsresp vs59,vs8 */
.long 0xf1810c0f /* xsnmaddasp vs44,vs33,vs33 */
.long 0xf23ef44c /* xsnmaddmsp vs17,vs62,vs30 */
.long 0xf2d4fc8d /* xsnmsubasp vs54,vs52,vs31 */
.long 0xf0a5d4cb /* xsnmsubmsp vs37,vs5,vs58 */
.long 0xf3d66556 /* xxlorc vs30,vs54,vs44 */
.long 0xf22eed91 /* xxlnand vs49,vs14,vs29 */
.long 0xf3d6f5d1 /* xxleqv vs62,vs22,vs30 */
.long 0xf380b42f /* xscvdpspn vs60,vs54 */
.long 0xf2c06c66 /* xsrsp vs22,vs45 */
.long 0xf340dca2 /* xscvuxdsp vs26,vs59 */
.long 0xf0c08ce3 /* xscvsxdsp vs38,vs49 */
.long 0xf360d52d /* xscvspdpn vs59,vs26 */
.long 0xff0e168c /* fmrgow f24,f14,f2 */
.long 0xfec72f8c /* fmrgew f22,f7,f5 */
.long 0x7c00719c /* msgsnd r14 */
.long 0x7c00b9dc /* msgclr r23 */
.long 0x7d002e99 /* lxvd2x vs40,0,r5 */
.long 0x7d543698 /* lxvd2x vs10,r20,r6 */
.long 0x7d203f99 /* stxvd2x vs41,0,r7 */
.long 0x7d754798 /* stxvd2x vs11,r21,r8 */
.long 0x7e803868 /* lbarx r20,0,r7 */
.long 0x7e803869 /* lbarx r20,0,r7,1 */
.long 0x7e813868 /* lbarx r20,r1,r7 */
.long 0x7e813869 /* lbarx r20,r1,r7,1 */
.long 0x7ea040a8 /* ldarx r21,0,r8 */
.long 0x7ea040a9 /* ldarx r21,0,r8,1 */
.long 0x7ea140a8 /* ldarx r21,r1,r8 */
.long 0x7ea140a9 /* ldarx r21,r1,r8,1 */
.long 0x7ec048e8 /* lharx r22,0,r9 */
.long 0x7ec048e9 /* lharx r22,0,r9,1 */
.long 0x7ec148e8 /* lharx r22,r1,r9 */
.long 0x7ec148e9 /* lharx r22,r1,r9,1 */
.long 0x7ee05028 /* lwarx r23,0,r10 */
.long 0x7ee05029 /* lwarx r23,0,r10,1 */
.long 0x7ee15028 /* lwarx r23,r1,r10 */
.long 0x7ee15029 /* lwarx r23,r1,r10,1 */
.long 0x7d403d6d /* stbcx. r10,0,r7 */
.long 0x7d413d6d /* stbcx. r10,r1,r7 */
.long 0x7d6045ad /* sthcx. r11,0,r8 */
.long 0x7d6145ad /* sthcx. r11,r1,r8 */
.long 0x7d80492d /* stwcx. r12,0,r9 */
.long 0x7d81492d /* stwcx. r12,r1,r9 */
.long 0x7da051ad /* stdcx. r13,0,r10 */
.long 0x7da151ad /* stdcx. r13,r1,r10 */
|
stsp/binutils-ia16
| 5,730
|
gdb/testsuite/gdb.arch/powerpc-power7.s
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2014-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
.globl func
func:
.long 0x7c642e98 /* lxvd2x vs3,r4,r5 */
.long 0x7d642e99 /* lxvd2x vs43,r4,r5 */
.long 0x7c642f98 /* stxvd2x vs3,r4,r5 */
.long 0x7d642f99 /* stxvd2x vs43,r4,r5 */
.long 0xf0642850 /* xxmrghd vs3,vs4,vs5 */
.long 0xf16c6857 /* xxmrghd vs43,vs44,vs45 */
.long 0xf0642b50 /* xxmrgld vs3,vs4,vs5 */
.long 0xf16c6b57 /* xxmrgld vs43,vs44,vs45 */
.long 0xf0642950 /* xxpermdi vs3,vs4,vs5,1 */
.long 0xf16c6957 /* xxpermdi vs43,vs44,vs45,1 */
.long 0xf0642a50 /* xxpermdi vs3,vs4,vs5,2 */
.long 0xf16c6a57 /* xxpermdi vs43,vs44,vs45,2 */
.long 0xf0642780 /* xvmovdp vs3,vs4 */
.long 0xf16c6787 /* xvmovdp vs43,vs44 */
.long 0xf0642f80 /* xvcpsgndp vs3,vs4,vs5 */
.long 0xf16c6f87 /* xvcpsgndp vs43,vs44,vs45 */
.long 0x4c000324 /* doze */
.long 0x4c000364 /* nap */
.long 0x4c0003a4 /* sleep */
.long 0x4c0003e4 /* rvwinkle */
.long 0x7c830134 /* prtyw r3,r4 */
.long 0x7dcd0174 /* prtyd r13,r14 */
.long 0x7d5c02a6 /* mfcfar r10 */
.long 0x7d7c03a6 /* mtcfar r11 */
.long 0x7c832bf8 /* cmpb r3,r4,r5 */
.long 0x7d4b662a /* lwzcix r10,r11,r12 */
.long 0xee119004 /* dadd f16,f17,f18 */
.long 0xfe96c004 /* daddq f20,f22,f24 */
.long 0x7c60066c /* dss 3 */
.long 0x7e00066c /* dssall */
.long 0x7c2522ac /* dst r5,r4,1 */
.long 0x7e083aac /* dstt r8,r7,0 */
.long 0x7c6532ec /* dstst r5,r6,3 */
.long 0x7e442aec /* dststt r4,r5,2 */
.long 0x7d4b6356 /* divwe r10,r11,r12 */
.long 0x7d6c6b57 /* divwe. r11,r12,r13 */
.long 0x7d8d7756 /* divweo r12,r13,r14 */
.long 0x7dae7f57 /* divweo. r13,r14,r15 */
.long 0x7d4b6316 /* divweu r10,r11,r12 */
.long 0x7d6c6b17 /* divweu. r11,r12,r13 */
.long 0x7d8d7716 /* divweuo r12,r13,r14 */
.long 0x7dae7f17 /* divweuo. r13,r14,r15 */
.long 0x7e27d9f8 /* bpermd r7,r17,r27 */
.long 0x7e8a02f4 /* popcntw r10,r20 */
.long 0x7e8a03f4 /* popcntd r10,r20 */
.long 0x7e95b428 /* ldbrx r20,r21,r22 */
.long 0x7e95b528 /* stdbrx r20,r21,r22 */
.long 0x7d4056ee /* lfiwzx f10,0,r10 */
.long 0x7d4956ee /* lfiwzx f10,r9,r10 */
.long 0xec802e9c /* fcfids f4,f5 */
.long 0xec802e9d /* fcfids. f4,f5 */
.long 0xec802f9c /* fcfidus f4,f5 */
.long 0xec802f9d /* fcfidus. f4,f5 */
.long 0xfc80291c /* fctiwu f4,f5 */
.long 0xfc80291d /* fctiwu. f4,f5 */
.long 0xfc80291e /* fctiwuz f4,f5 */
.long 0xfc80291f /* fctiwuz. f4,f5 */
.long 0xfc802f5c /* fctidu f4,f5 */
.long 0xfc802f5d /* fctidu. f4,f5 */
.long 0xfc802f5e /* fctiduz f4,f5 */
.long 0xfc802f5f /* fctiduz. f4,f5 */
.long 0xfc802f9c /* fcfidu f4,f5 */
.long 0xfc802f9d /* fcfidu. f4,f5 */
.long 0xfc0a5900 /* ftdiv cr0,f10,f11 */
.long 0xff8a5900 /* ftdiv cr7,f10,f11 */
.long 0xfc005140 /* ftsqrt cr0,f10 */
.long 0xff805140 /* ftsqrt cr7,f10 */
.long 0x7e084a2c /* dcbtt r8,r9 */
.long 0x7e0849ec /* dcbtstt r8,r9 */
.long 0xed406644 /* dcffix f10,f12 */
.long 0xee80b645 /* dcffix. f20,f22 */
.long 0xfdc07830 /* fre f14,f15 */
.long 0xfdc07831 /* fre. f14,f15 */
.long 0xedc07830 /* fres f14,f15 */
.long 0xedc07831 /* fres. f14,f15 */
.long 0xfdc07834 /* frsqrte f14,f15 */
.long 0xfdc07835 /* frsqrte. f14,f15 */
.long 0xedc07834 /* frsqrtes f14,f15 */
.long 0xedc07835 /* frsqrtes. f14,f15 */
.long 0x7c43271e /* isel r2,r3,r4,28 */
.long 0x7f7bdb78 /* yield */
.long 0x60420000 /* ori r2,r2,0 */
.long 0x60000000 /* nop */
.long 0x7fbdeb78 /* mdoio */
.long 0x7fdef378 /* mdoom */
.long 0x7d40e2a6 /* mfppr r10 */
.long 0x7d62e2a6 /* mfppr32 r11 */
.long 0x7d80e3a6 /* mtppr r12 */
.long 0x7da2e3a6 /* mtppr32 r13 */
.long 0x7d605264 /* tlbie r10,r11 */
|
stsp/binutils-ia16
| 11,269
|
gdb/testsuite/gdb.arch/amd64-prologue-xmm.s
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2011-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This file is compiled from gdb.arch/amd64-prologue-xmm.c
using -g -dA -S. */
.file "amd64-prologue-xmm.c"
.text
.Ltext0:
.local v
.comm v,4,4
.local fail
.comm fail,4,4
.type func, @function
func:
.LFB0:
.file 1 "gdb.arch/amd64-prologue-xmm.c"
# gdb.arch/amd64-prologue-xmm.c:22
.loc 1 22 0
.cfi_startproc
# basic block 2
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $72, %rsp
movq %rsi, -168(%rbp)
movq %rdx, -160(%rbp)
movq %rcx, -152(%rbp)
movq %r8, -144(%rbp)
movq %r9, -136(%rbp)
testb %al, %al
je .L2
# basic block 3
# gdb.arch/amd64-prologue-xmm.c:22
.loc 1 22 0
movaps %xmm0, -128(%rbp)
movaps %xmm1, -112(%rbp)
movaps %xmm2, -96(%rbp)
movaps %xmm3, -80(%rbp)
movaps %xmm4, -64(%rbp)
movaps %xmm5, -48(%rbp)
movaps %xmm6, -32(%rbp)
movaps %xmm7, -16(%rbp)
.L2:
# basic block 4
movl %edi, -180(%rbp)
# gdb.arch/amd64-prologue-xmm.c:23
.loc 1 23 0
movl -180(%rbp), %eax
movl %eax, v(%rip)
# gdb.arch/amd64-prologue-xmm.c:24
.loc 1 24 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size func, .-func
.type marker, @function
marker:
.LFB1:
# gdb.arch/amd64-prologue-xmm.c:28
.loc 1 28 0
.cfi_startproc
# basic block 2
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
# gdb.arch/amd64-prologue-xmm.c:29
.loc 1 29 0
popq %rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size marker, .-marker
.globl main
.type main, @function
main:
.LFB2:
# gdb.arch/amd64-prologue-xmm.c:33
.loc 1 33 0
.cfi_startproc
# basic block 2
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
# gdb.arch/amd64-prologue-xmm.c:34
.loc 1 34 0
movl $1, %edi
movl $0, %eax
call func
# gdb.arch/amd64-prologue-xmm.c:35
.loc 1 35 0
movl $1, fail(%rip)
# gdb.arch/amd64-prologue-xmm.c:36
.loc 1 36 0
call marker
# gdb.arch/amd64-prologue-xmm.c:37
.loc 1 37 0
movl $0, %eax
# gdb.arch/amd64-prologue-xmm.c:38
.loc 1 38 0
popq %rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size main, .-main
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0xc0 # Length of Compilation Unit Info
.value 0x4 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF1 # DW_AT_producer: "GNU C 4.6.1 20110715 (Red Hat 4.6.1-3)"
.byte 0x1 # DW_AT_language
.long .LASF2 # DW_AT_name: "gdb.arch/amd64-prologue-xmm.c"
.long .LASF3 # DW_AT_comp_dir: ""
.quad .Ltext0 # DW_AT_low_pc
.quad .Letext0 # DW_AT_high_pc
.long .Ldebug_line0 # DW_AT_stmt_list
.uleb128 0x2 # (DIE (0x2d) DW_TAG_subprogram)
.long .LASF4 # DW_AT_name: "func"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-prologue-xmm.c)
.byte 0x15 # DW_AT_decl_line
# DW_AT_prototyped
.quad .LFB0 # DW_AT_low_pc
.quad .LFE0 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
.long 0x59 # DW_AT_sibling
.uleb128 0x3 # (DIE (0x4a) DW_TAG_formal_parameter)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-prologue-xmm.c)
.byte 0x15 # DW_AT_decl_line
.long 0x59 # DW_AT_type
.uleb128 0x3 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -196
.uleb128 0x4 # (DIE (0x57) DW_TAG_unspecified_parameters)
.byte 0 # end of children of DIE 0x2d
.uleb128 0x5 # (DIE (0x59) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
.uleb128 0x6 # (DIE (0x60) DW_TAG_subprogram)
.long .LASF5 # DW_AT_name: "marker"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-prologue-xmm.c)
.byte 0x1b # DW_AT_decl_line
# DW_AT_prototyped
.quad .LFB1 # DW_AT_low_pc
.quad .LFE1 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
.uleb128 0x7 # (DIE (0x79) DW_TAG_subprogram)
# DW_AT_external
.long .LASF6 # DW_AT_name: "main"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-prologue-xmm.c)
.byte 0x20 # DW_AT_decl_line
# DW_AT_prototyped
.long 0x59 # DW_AT_type
.quad .LFB2 # DW_AT_low_pc
.quad .LFE2 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_tail_call_sites
.uleb128 0x8 # (DIE (0x96) DW_TAG_variable)
.ascii "v\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-prologue-xmm.c)
.byte 0x12 # DW_AT_decl_line
.long 0xa9 # DW_AT_type
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad v
.uleb128 0x9 # (DIE (0xa9) DW_TAG_volatile_type)
.long 0x59 # DW_AT_type
.uleb128 0xa # (DIE (0xae) DW_TAG_variable)
.long .LASF0 # DW_AT_name: "fail"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-prologue-xmm.c)
.byte 0x12 # DW_AT_decl_line
.long 0xa9 # DW_AT_type
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad fail
.byte 0 # end of children of DIE 0xb
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x17 # (DW_FORM_sec_offset)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x4 # (abbrev code)
.uleb128 0x18 # (TAG: DW_TAG_unspecified_parameters)
.byte 0 # DW_children_no
.byte 0
.byte 0
.uleb128 0x5 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0
.byte 0
.uleb128 0x6 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.byte 0
.byte 0
.uleb128 0x7 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0 # DW_children_no
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2116 # (DW_AT_GNU_all_tail_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.byte 0
.byte 0
.uleb128 0x8 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x9 # (abbrev code)
.uleb128 0x35 # (TAG: DW_TAG_volatile_type)
.byte 0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xa # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.byte 0
.section .debug_aranges,"",@progbits
.long 0x2c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 16 byte boundary
.value 0
.quad .Ltext0 # Address
.quad .Letext0-.Ltext0 # Length
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF3:
.string ""
.LASF0:
.string "fail"
.LASF4:
.string "func"
.LASF1:
.string "GNU C 4.6.1 20110715 (Red Hat 4.6.1-3)"
.LASF2:
.string "gdb.arch/amd64-prologue-xmm.c"
.LASF5:
.string "marker"
.LASF6:
.string "main"
.ident "GCC: (GNU) 4.6.1 20110715 (Red Hat 4.6.1-3)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 36,130
|
gdb/testsuite/gdb.arch/powerpc-power10.s
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2021-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
.globl func
func:
/* 32-bit long instructions */
.long 0x7c200176 /* brd r0,r1 */
.long 0x7c2001b6 /* brh r0,r1 */
.long 0x7c200136 /* brw r0,r1 */
.long 0x7c2011b8 /* cfuged r0,r1,r2 */
.long 0x7c201076 /* cntlzdm r0,r1,r2 */
.long 0x7c201476 /* cnttzdm r0,r1,r2 */
.long 0xff8007c4 /* dcffixqq f28,v0 */
.long 0xfc01d7c4 /* dctfixqq v0,f26 */
.long 0xf01f0ad0 /* lxvkq vs0,1 */
.long 0xf01f82d0 /* lxvkq vs0,16 */
.long 0xf01f8ad0 /* lxvkq vs0,17 */
.long 0xf01f92d0 /* lxvkq vs0,18 */
.long 0xf01f9ad0 /* lxvkq vs0,19 */
.long 0xf01f12d0 /* lxvkq vs0,2 */
.long 0xf01fa2d0 /* lxvkq vs0,20 */
.long 0xf01faad0 /* lxvkq vs0,21 */
.long 0xf01fb2d0 /* lxvkq vs0,22 */
.long 0xf01fbad0 /* lxvkq vs0,23 */
.long 0xf01fc2d0 /* lxvkq vs0,24 */
.long 0xf01f1ad0 /* lxvkq vs0,3 */
.long 0xf01f22d0 /* lxvkq vs0,4 */
.long 0xf01f2ad0 /* lxvkq vs0,5 */
.long 0xf01f32d0 /* lxvkq vs0,6 */
.long 0xf01f3ad0 /* lxvkq vs0,7 */
.long 0xf01f42d0 /* lxvkq vs0,8 */
.long 0xf01f4ad0 /* lxvkq vs0,9 */
.long 0x1a800000 /* lxvp vs20,0(0) */
.long 0x1a800010 /* lxvp vs20,16(0) */
.long 0x1a800020 /* lxvp vs20,32(0) */
.long 0x7e800a9a /* lxvpx vs20,0,r1 */
.long 0x7c01101a /* lxvrbx vs0,r1,r2 */
.long 0x7c0110da /* lxvrdx vs0,r1,r2 */
.long 0x7c01105a /* lxvrhx vs0,r1,r2 */
.long 0x7c01109a /* lxvrwx vs0,r1,r2 */
.long 0x7f400066 /* mffprd r0,f26 */
.long 0x7f600066 /* mffprd r0,f27 */
.long 0x7f800066 /* mffprd r0,f28 */
.long 0x7fa00066 /* mffprd r0,f29 */
.long 0x7f400266 /* mfvsrld r0,vs26*/
.long 0x7f600266 /* mfvsrld r0,vs27*/
.long 0x7f800266 /* mfvsrld r0,vs28*/
.long 0x7fa00266 /* mfvsrld r0,vs29 */
.long 0x10000014 /* mtvsrbmi v0,0 */
.long 0x10010015 /* mtvsrbmi v0,3 */
.long 0x10030015 /* mtvsrbmi v0,7 */
.long 0x10100e42 /* mtvsrbm v0,r1 */
.long 0x10130e42 /* mtvsrdm v0,r1 */
.long 0x10110e42 /* mtvsrhm v0,r1 */
.long 0x10140e42 /* mtvsrqm v0,r1 */
.long 0x10120e42 /* mtvsrwm v0,r1 */
.long 0x60000000 /* nop */
.long 0x7f470300 /* setbc r26,4*cr1+so */
.long 0x7f480300 /* setbc r26,4*cr2+lt */
.long 0x7f5f0300 /* setbc r26,4*cr7+so */
.long 0x7f420300 /* setbc r26,eq */
.long 0x7f410300 /* setbc r26,gt */
.long 0x7f400300 /* setbc r26,lt */
.long 0x7f430300 /* setbc r26,so */
.long 0x7f470340 /* setbcr r26,4*cr1+so */
.long 0x7f480340 /* setbcr r26,4*cr2+lt */
.long 0x7f5f0340 /* setbcr r26,4*cr7+so */
.long 0x7f470380 /* setnbc r26,4*cr1+so */
.long 0x7f480380 /* setnbc r26,4*cr2+lt */
.long 0x7f5f0380 /* setnbc r26,4*cr7+so */
.long 0x7f420380 /* setnbc r26,eq */
.long 0x7f410380 /* setnbc r26,gt */
.long 0x7f400380 /* setnbc r26,lt */
.long 0x7f430380 /* setnbc r26,so */
.long 0x7f4703c0 /* setnbcr r26,4*cr1+so */
.long 0x7f4803c0 /* setnbcr r26,4*cr2+lt */
.long 0x7f5f03c0 /* setnbcr r26,4*cr7+so */
.long 0x7f4003c0 /* setnbcr r26,lt */
.long 0x7f4303c0 /* setnbcr r26,so */
.long 0x1a800001 /* stxvp vs20,0(0) */
.long 0x1a800011 /* stxvp vs20,16(0) */
.long 0x1a800021 /* stxvp vs20,32(0) */
.long 0x1a800031 /* stxvp vs20,48(0) */
.long 0x7e800b9a /* stxvpx vs20,0,r1 */
.long 0x7c01111a /* stxvrbx vs0,r1,r2 */
.long 0x7c0111da /* stxvrdx vs0,r1,r2 */
.long 0x7c01115a /* stxvrhx vs0,r1,r2 */
.long 0x7c01119a /* stxvrwx vs0,r1,r2 */
.long 0x1001154d /* vcfuged v0,v1,v2 */
.long 0x1001118d /* vclrlb v0,v1,r2 */
.long 0x100111cd /* vclrrb v0,v1,r2 */
.long 0x10011784 /* vclzdm v0,v1,v2 */
.long 0x100111c7 /* vcmpequq v0,v1,v2 */
.long 0x10011387 /* vcmpgtsq v0,v1,v2 */
.long 0x10011287 /* vcmpgtuq v0,v1,v2 */
.long 0x11800941 /* vcmpsq cr3,v0,v1 */
.long 0x11800901 /* vcmpuq cr3,v0,v1 */
.long 0x10180e42 /* vcntmbb r0,v1,0 */
.long 0x10190e42 /* vcntmbb r0,v1,1 */
.long 0x101e0e42 /* vcntmbd r0,v1,0 */
.long 0x101f0e42 /* vcntmbd r0,v1,1 */
.long 0x101a0e42 /* vcntmbh r0,v1,0 */
.long 0x101b0e42 /* vcntmbh r0,v1,1 */
.long 0x101c0e42 /* vcntmbw r0,v1,0 */
.long 0x101d0e42 /* vcntmbw r0,v1,1 */
.long 0x100117c4 /* vctzdm v0,v1,v2 */
.long 0x100113cb /* vdivesd v0,v1,v2 */
.long 0x1001130b /* vdivesq v0,v1,v2 */
.long 0x1001138b /* vdivesw v0,v1,v2 */
.long 0x100112cb /* vdiveud v0,v1,v2 */
.long 0x1001120b /* vdiveuq v0,v1,v2 */
.long 0x1001128b /* vdiveuw v0,v1,v2 */
.long 0x100111cb /* vdivsd v0,v1,v2 */
.long 0x1001110b /* vdivsq v0,v1,v2 */
.long 0x1001118b /* vdivsw v0,v1,v2 */
.long 0x100110cb /* vdivud v0,v1,v2 */
.long 0x1001100b /* vdivuq v0,v1,v2 */
.long 0x1001108b /* vdivuw v0,v1,v2 */
.long 0x10000e42 /* vexpandbm v0,v1 */
.long 0x10030e42 /* vexpanddm v0,v1 */
.long 0x10010e42 /* vexpandhm v0,v1 */
.long 0x10040e42 /* vexpandqm v0,v1 */
.long 0x10020e42 /* vexpandwm v0,v1 */
.long 0x100110de /* vextddvlx v0,v1,v2,r3 */
.long 0x100110df /* vextddvrx v0,v1,v2,r3 */
.long 0x100110d8 /* vextdubvlx v0,v1,v2,r3 */
.long 0x100110d9 /* vextdubvrx v0,v1,v2,r3 */
.long 0x100110da /* vextduhvlx v0,v1,v2,r3 */
.long 0x100110db /* vextduhvrx v0,v1,v2,r3 */
.long 0x100110dc /* vextduwvlx v0,v1,v2,r3 */
.long 0x100110dd /* vextduwvrx v0,v1,v2,r3 */
.long 0x10080e42 /* vextractbm r0,v1 */
.long 0x100b0e42 /* vextractdm r0,v1 */
.long 0x10090e42 /* vextracthm r0,v1 */
.long 0x100c0e42 /* vextractqm r0,v1 */
.long 0x100a0e42 /* vextractwm r0,v1 */
.long 0x101b0e02 /* vextsd2q v0,v1 */
.long 0x10020ccc /* vgnb r0,v1,2 */
.long 0x10030ccc /* vgnb r0,v1,3 */
.long 0x10040ccc /* vgnb r0,v1,4 */
.long 0x10050ccc /* vgnb r0,v1,5 */
.long 0x10060ccc /* vgnb r0,v1,6 */
.long 0x10070ccc /* vgnb r0,v1,7 */
.long 0x1001120f /* vinsblx v0,r1,r2 */
.long 0x1001130f /* vinsbrx v0,r1,r2 */
.long 0x1001100f /* vinsbvlx v0,r1,v2 */
.long 0x1001110f /* vinsbvrx v0,r1,v2 */
.long 0x100112cf /* vinsdlx v0,r1,r2 */
.long 0x100113cf /* vinsdrx v0,r1,r2 */
.long 0x100309cf /* vinsd v0,r1,3 */
.long 0x100709cf /* vinsd v0,r1,7 */
.long 0x1001124f /* vinshlx v0,r1,r2 */
.long 0x1001134f /* vinshrx v0,r1,r2 */
.long 0x1001104f /* vinshvlx v0,r1,v2 */
.long 0x1001114f /* vinshvrx v0,r1,v2 */
.long 0x1001128f /* vinswlx v0,r1,r2 */
.long 0x1001138f /* vinswrx v0,r1,r2 */
.long 0x100308cf /* vinsw v0,r1,3 */
.long 0x100708cf /* vinsw v0,r1,7 */
.long 0x1001108f /* vinswvlx v0,r1,v2 */
.long 0x1001118f /* vinswvrx v0,r1,v2 */
.long 0x100117cb /* vmodsd v0,v1,v2 */
.long 0x1001170b /* vmodsq v0,v1,v2 */
.long 0x1001178b /* vmodsw v0,v1,v2 */
.long 0x100116cb /* vmodud v0,v1,v2 */
.long 0x1001160b /* vmoduq v0,v1,v2 */
.long 0x1001168b /* vmoduw v0,v1,v2 */
.long 0x100110d7 /* vmsumcud v0,v1,v2,v3 */
.long 0x100113c8 /* vmulesd v0,v1,v2 */
.long 0x100112c8 /* vmuleud v0,v1,v2 */
.long 0x100113c9 /* vmulhsd v0,v1,v2 */
.long 0x10011389 /* vmulhsw v0,v1,v2 */
.long 0x100112c9 /* vmulhud v0,v1,v2 */
.long 0x10011289 /* vmulhuw v0,v1,v2 */
.long 0x100111c9 /* vmulld v0,v1,v2 */
.long 0x100111c8 /* vmulosd v0,v1,v2 */
.long 0x100110c8 /* vmuloud v0,v1,v2 */
.long 0x100115cd /* vpdepd v0,v1,v2 */
.long 0x1001158d /* vpextd v0,v1,v2 */
.long 0x10011045 /* vrlqmi v0,v1,v2 */
.long 0x10011145 /* vrlqnm v0,v1,v2 */
.long 0x10011005 /* vrlq v0,v1,v2 */
.long 0x10011016 /* vsldbi v0,v1,v2,0 */
.long 0x10011116 /* vsldbi v0,v1,v2,4 */
.long 0x10011105 /* vslq v0,v1,v2 */
.long 0x10011305 /* vsraq v0,v1,v2 */
.long 0x10011216 /* vsrdbi v0,v1,v2,0 */
.long 0x10011316 /* vsrdbi v0,v1,v2,4 */
.long 0x10011205 /* vsrq v0,v1,v2 */
.long 0x1000080d /* vstribl v0,v1 */
.long 0x10000c0d /* vstribl. v0,v1 */
.long 0x1001080d /* vstribr v0,v1 */
.long 0x10010c0d /* vstribr. v0,v1 */
.long 0x1002080d /* vstrihl v0,v1 */
.long 0x10020c0d /* vstrihl. v0,v1 */
.long 0x1003080d /* vstrihr v0,v1 */
.long 0x10030c0d /* vstrihr. v0,v1 */
.long 0xfc011088 /* xscmpeqqp v0,v1,v2 */
.long 0xfc011188 /* xscmpgeqp v0,v1,v2 */
.long 0xfc0111c8 /* xscmpgtqp v0,v1,v2 */
.long 0xfc080e88 /* xscvqpsqz v0,v1 */
.long 0xfc000e88 /* xscvqpuqz v0,v1 */
.long 0xfc0b0e88 /* xscvsqqp v0,v1 */
.long 0xfc030e88 /* xscvuqqp v0,v1 */
.long 0xfc011548 /* xsmaxcqp v0,v1,v2 */
.long 0xfc0115c8 /* xsmincqp v0,v1,v2 */
.long 0xee000998 /* xvbf16ger2 a4,vs0,vs1 */
.long 0xee000f90 /* xvbf16ger2nn a4,vs0,vs1 */
.long 0xee000b90 /* xvbf16ger2np a4,vs0,vs1 */
.long 0xee000d90 /* xvbf16ger2pn a4,vs0,vs1 */
.long 0xee000990 /* xvbf16ger2pp a4,vs0,vs1 */
.long 0xf0100f6c /* xvcvbf16spn vs0,vs1 */
.long 0xf0110f6c /* xvcvspbf16 vs0,vs1 */
.long 0xee000898 /* xvf16ger2 a4,vs0,vs1 */
.long 0xee000e90 /* xvf16ger2nn a4,vs0,vs1 */
.long 0xee000a90 /* xvf16ger2np a4,vs0,vs1 */
.long 0xee000c90 /* xvf16ger2pn a4,vs0,vs1 */
.long 0xee000890 /* xvf16ger2pp a4,vs0,vs1 */
.long 0xee0008d8 /* xvf32ger a4,vs0,vs1 */
.long 0xee000ed0 /* xvf32gernn a4,vs0,vs1 */
.long 0xee000ad0 /* xvf32gernp a4,vs0,vs1 */
.long 0xee000cd0 /* xvf32gerpn a4,vs0,vs1 */
.long 0xee0008d0 /* xvf32gerpp a4,vs0,vs1 */
.long 0xee1601d8 /* xvf64ger a4,vs22,vs0 */
.long 0xee1607d0 /* xvf64gernn a4,vs22,vs0 */
.long 0xee1603d0 /* xvf64gernp a4,vs22,vs0 */
.long 0xee1605d0 /* xvf64gerpn a4,vs22,vs0 */
.long 0xee1601d0 /* xvf64gerpp a4,vs22,vs0 */
.long 0xee000a58 /* xvi16ger2 a4,vs0,vs1 */
.long 0xee000b58 /* xvi16ger2pp a4,vs0,vs1 */
.long 0xee000958 /* xvi16ger2s a4,vs0,vs1 */
.long 0xee000950 /* xvi16ger2spp a4,vs0,vs1 */
.long 0xee000918 /* xvi4ger8 a4,vs0,vs1 */
.long 0xee000910 /* xvi4ger8pp a4,vs0,vs1 */
.long 0xee000818 /* xvi8ger4 a4,vs0,vs1 */
.long 0xee000810 /* xvi8ger4pp a4,vs0,vs1 */
.long 0xee000b18 /* xvi8ger4spp a4,vs0,vs1 */
.long 0xf182076c /* xvtlsbb cr3,vs0 */
.long 0xf0000f28 /* xxgenpcvbm vs0,v1,0 */
.long 0xf0010f28 /* xxgenpcvbm vs0,v1,1 */
.long 0xf0020f28 /* xxgenpcvbm vs0,v1,2 */
.long 0xf0030f28 /* xxgenpcvbm vs0,v1,3 */
.long 0xf0000f6a /* xxgenpcvdm vs0,v1,0 */
.long 0xf0010f6a /* xxgenpcvdm vs0,v1,1 */
.long 0xf0020f6a /* xxgenpcvdm vs0,v1,2 */
.long 0xf0030f6a /* xxgenpcvdm vs0,v1,3 */
.long 0xf0000f2a /* xxgenpcvhm vs0,v1,0 */
.long 0xf0010f2a /* xxgenpcvhm vs0,v1,1 */
.long 0xf0020f2a /* xxgenpcvhm vs0,v1,2 */
.long 0xf0030f2a /* xxgenpcvhm vs0,v1,3 */
.long 0xf0000f68 /* xxgenpcvwm vs0,v1,0 */
.long 0xf0010f68 /* xxgenpcvwm vs0,v1,1 */
.long 0xf0020f68 /* xxgenpcvwm vs0,v1,2 */
.long 0xf0030f68 /* xxgenpcvwm vs0,v1,3 */
.long 0x7e000162 /* xxmfacc a4 */
.long 0x7e010162 /* xxmtacc a4 */
.long 0x7e030162 /* xxsetaccz a4 */
/* Prefixed instructions are 64-bits long. Use multiple .long statements to
represent the 64-bit instructions so the instructions are properly
represented in the machines native byte order when words are fetched 32-bits
at a time. The first .long is for the 32-bit prefix word and the second
.long is for the 32-bit suffix word thus making the word order independent
of the machine Endianes. The use of the .quad statement on Big Endian
results in the disassembler fetching the 32-bit suffix before the 32-bit
prefix word. */
.long 0x06000000 /* paddi r0,r1,0 */
.long 0x38010000
.long 0x06000000 /* paddi r0,r1,12 */
.long 0x3801000c
.long 0x06000000 /* paddi r0,r1,48 */
.long 0x38010030
.long 0x06000000 /* paddi r0,r1,98 */
.long 0x38010062
.long 0x7c201138 /* pdepd r0,r1,r2 */
.long 0x7c201178
.long 0x06000000 /* plbz r0,0(r1) */
.long 0x88010000
.long 0x06000000 /* plbz r0,16(r1) */
.long 0x88010010
.long 0x06000000 /* plbz r0,32(r1) */
.long 0x88010020
.long 0x06000000 /* plbz r0,64(r1) */
.long 0x88010040
.long 0x06000000 /* plbz r0,8(r1) */
.long 0x88010008
.long 0x04000000 /* pld r0,0(r1) */
.long 0xe4010000
.long 0x04000000 /* pld r0,16(r1) */
.long 0xe4010010
.long 0x04000000 /* pld r0,32(r1) */
.long 0xe4010020
.long 0x04000000 /* pld r0,64(r1) */
.long 0xe4010040
.long 0x04000000 /* pld r0,8(r1) */
.long 0xe4010008
.long 0x06000000 /* plfd f28,0(0) */
.long 0xcb800000
.long 0x06000000 /* plfd f28,16(0) */
.long 0xcb800010
.long 0x06000000 /* plfd f28,32(0) */
.long 0xcb800020
.long 0x06000000 /* plfd f28,4(0) */
.long 0xcb800004
.long 0x06000000 /* plfd f28,64(0) */
.long 0xcb800040
.long 0x06000000 /* plfd f28,8(0) */
.long 0xcb800008
.long 0x06000000 /* plfs f28,0(0) */
.long 0xc3800000
.long 0x06000000 /* plfs f28,16(0) */
.long 0xc3800010
.long 0x06000000 /* plfs f28,32(0) */
.long 0xc3800020
.long 0x06000000 /* plfs f28,4(0) */
.long 0xc3800004
.long 0x06000000 /* plfs f28,64(0) */
.long 0xc3800040
.long 0x06000000 /* plfs f28,8(0) */
.long 0xc3800008
.long 0x06000000 /* plha r0,0(r1) */
.long 0xa8010000
.long 0x06000000 /* plha r0,16(r1) */
.long 0xa8010010
.long 0x06000000 /* plha r0,32(r1) */
.long 0xa8010020
.long 0x06000000 /* plha r0,64(r1) */
.long 0xa8010040
.long 0x06000000 /* plha r0,8(r1) */
.long 0xa8010008
.long 0x06000000 /* plhz r0,0(r1) */
.long 0xa0010000
.long 0x06000000 /* plhz r0,16(r1) */
.long 0xa0010010
.long 0x06000000 /* plhz r0,32(r1) */
.long 0xa0010020
.long 0x06000000 /* plhz r0,64(r1) */
.long 0xa0010040
.long 0x06000000 /* plhz r0,8(r1) */
.long 0xa0010008
.long 0x04000000 /* plq r26,0(0) */
.long 0xe3400000
.long 0x04000000 /* plq r26,16(0) */
.long 0xe3400010
.long 0x04000000 /* plq r26,32(0) */
.long 0xe3400020
.long 0x04000000 /* plq r26,48(0) */
.long 0xe3400030
.long 0x04000000 /* plq r26,64(0) */
.long 0xe3400040
.long 0x04000000 /* plq r26,8(0) */
.long 0xe3400008
.long 0x04000000 /* plwa r0,0(r1) */
.long 0xa4010000
.long 0x04000000 /* plwa r0,16(r1) */
.long 0xa4010010
.long 0x04000000 /* plwa r0,32(r1) */
.long 0xa4010020
.long 0x04000000 /* plwa r0,64(r1) */
.long 0xa4010040
.long 0x04000000 /* plwa r0,8(r1) */
.long 0xa4010008
.long 0x06000000 /* plwz r0,0(r1) */
.long 0x80010000
.long 0x06000000 /* plwz r0,16(r1) */
.long 0x80010010
.long 0x06000000 /* plwz r0,32(r1) */
.long 0x80010020
.long 0x06000000 /* plwz r0,64(r1) */
.long 0x80010040
.long 0x06000000 /* plwz r0,8(r1) */
.long 0x80010008
.long 0x04000000 /* plxsd v0,0(r1) */
.long 0xa8010000
.long 0x04000000 /* plxsd v0,16(r1) */
.long 0xa8010010
.long 0x04000000 /* plxsd v0,32(r1) */
.long 0xa8010020
.long 0x04000000 /* plxsd v0,4(r1) */
.long 0xa8010004
.long 0x04000000 /* plxsd v0,64(r1) */
.long 0xa8010040
.long 0x04000000 /* plxsd v0,8(r1) */
.long 0xa8010008
.long 0x04000000 /* plxssp v0,0(r1) */
.long 0xac010000
.long 0x04000000 /* plxssp v0,16(r1) */
.long 0xac010010
.long 0x04000000 /* plxssp v0,32(r1) */
.long 0xac010020
.long 0x04000000 /* plxssp v0,4(r1) */
.long 0xac010004
.long 0x04000000 /* plxssp v0,64(r1) */
.long 0xac010040
.long 0x04000000 /* plxssp v0,8(r1) */
.long 0xac010008
.long 0x04000000 /* plxvp vs20,0(0) */
.long 0xea800000
.long 0x04000000 /* plxvp vs20,16(0) */
.long 0xea800010
.long 0x04000000 /* plxvp vs20,24(0) */
.long 0xea800018
.long 0x04000000 /* plxvp vs20,32(0) */
.long 0xea800020
.long 0x04000000 /* plxvp vs20,8(0) */
.long 0xea800008
.long 0x04000000 /* plxv vs0,0(r1) */
.long 0xc8010000
.long 0x04000000 /* plxv vs0,16(r1) */
.long 0xc8010010
.long 0x04000000 /* plxv vs0,4(r1) */
.long 0xc8010004
.long 0x04000000 /* plxv vs0,8(r1) */
.long 0xc8010008
.long 0x07900000 /* pmxvbf16ger2 a4,vs0,vs1,0,0,0 */
.long 0xee000998
.long 0x07904000 /* pmxvbf16ger2 a4,vs0,vs1,0,0,1 */
.long 0xee000998
.long 0x0790000d /* pmxvbf16ger2 a4,vs0,vs1,0,13,0 */
.long 0xee000998
.long 0x0790400d /* pmxvbf16ger2 a4,vs0,vs1,0,13,1 */
.long 0xee000998
.long 0x079000b0 /* pmxvbf16ger2 a4,vs0,vs1,11,0,0 */
.long 0xee000998
.long 0x079040b0 /* pmxvbf16ger2 a4,vs0,vs1,11,0,1 */
.long 0xee000998
.long 0x079000bd /* pmxvbf16ger2 a4,vs0,vs1,11,13,0 */
.long 0xee000998
.long 0x079040bd /* pmxvbf16ger2 a4,vs0,vs1,11,13,1 */
.long 0xee000998
.long 0x07900000 /* pmxvbf16ger2nn a4,vs0,vs1,0,0,0 */
.long 0xee000f90
.long 0x07904000 /* pmxvbf16ger2nn a4,vs0,vs1,0,0,1 */
.long 0xee000f90
.long 0x0790000d /* pmxvbf16ger2nn a4,vs0,vs1,0,13,0 */
.long 0xee000f90
.long 0x0790400d /* pmxvbf16ger2nn a4,vs0,vs1,0,13,1 */
.long 0xee000f90
.long 0x079000b0 /* pmxvbf16ger2nn a4,vs0,vs1,11,0,0 */
.long 0xee000f90
.long 0x079040b0 /* pmxvbf16ger2nn a4,vs0,vs1,11,0,1 */
.long 0xee000f90
.long 0x079000bd /* pmxvbf16ger2nn a4,vs0,vs1,11,13,0 */
.long 0xee000f90
.long 0x079040bd /* pmxvbf16ger2nn a4,vs0,vs1,11,13,1 */
.long 0xee000f90
.long 0x07900000 /* pmxvbf16ger2np a4,vs0,vs1,0,0,0 */
.long 0xee000b90
.long 0x07904000 /* pmxvbf16ger2np a4,vs0,vs1,0,0,1 */
.long 0xee000b90
.long 0x0790000d /* pmxvbf16ger2np a4,vs0,vs1,0,13,0 */
.long 0xee000b90
.long 0x0790400d /* pmxvbf16ger2np a4,vs0,vs1,0,13,1 */
.long 0xee000b90
.long 0x079000b0 /* pmxvbf16ger2np a4,vs0,vs1,11,0,0 */
.long 0xee000b90
.long 0x079040b0 /* pmxvbf16ger2np a4,vs0,vs1,11,0,1 */
.long 0xee000b90
.long 0x079000bd /* pmxvbf16ger2np a4,vs0,vs1,11,13,0 */
.long 0xee000b90
.long 0x079040bd /* pmxvbf16ger2np a4,vs0,vs1,11,13,1 */
.long 0xee000b90
.long 0x07900000 /* pmxvbf16ger2pn a4,vs0,vs1,0,0,0 */
.long 0xee000d90
.long 0x07904000 /* pmxvbf16ger2pn a4,vs0,vs1,0,0,1 */
.long 0xee000d90
.long 0x0790000d /* pmxvbf16ger2pn a4,vs0,vs1,0,13,0 */
.long 0xee000d90
.long 0x0790400d /* pmxvbf16ger2pn a4,vs0,vs1,0,13,1 */
.long 0xee000d90
.long 0x079000b0 /* pmxvbf16ger2pn a4,vs0,vs1,11,0,0 */
.long 0xee000d90
.long 0x079040b0 /* pmxvbf16ger2pn a4,vs0,vs1,11,0,1 */
.long 0xee000d90
.long 0x079000bd /* pmxvbf16ger2pn a4,vs0,vs1,11,13,0 */
.long 0xee000d90
.long 0x079040bd /* pmxvbf16ger2pn a4,vs0,vs1,11,13,1 */
.long 0xee000d90
.long 0x07900000 /* pmxvbf16ger2pp a4,vs0,vs1,0,0,0 */
.long 0xee000990
.long 0x07904000 /* pmxvbf16ger2pp a4,vs0,vs1,0,0,1 */
.long 0xee000990
.long 0x0790000d /* pmxvbf16ger2pp a4,vs0,vs1,0,13,0 */
.long 0xee000990
.long 0x0790400d /* pmxvbf16ger2pp a4,vs0,vs1,0,13,1 */
.long 0xee000990
.long 0x079000b0 /* pmxvbf16ger2pp a4,vs0,vs1,11,0,0 */
.long 0xee000990
.long 0x079040b0 /* pmxvbf16ger2pp a4,vs0,vs1,11,0,1 */
.long 0xee000990
.long 0x079000bd /* pmxvbf16ger2pp a4,vs0,vs1,11,13,0 */
.long 0xee000990
.long 0x079040bd /* pmxvbf16ger2pp a4,vs0,vs1,11,13,1 */
.long 0xee000990
.long 0x07900000 /* pmxvf16ger2 a4,vs0,vs1,0,0,0 */
.long 0xee000898
.long 0x07904000 /* pmxvf16ger2 a4,vs0,vs1,0,0,1 */
.long 0xee000898
.long 0x0790000d /* pmxvf16ger2 a4,vs0,vs1,0,13,0 */
.long 0xee000898
.long 0x0790400d /* pmxvf16ger2 a4,vs0,vs1,0,13,1 */
.long 0xee000898
.long 0x079000b0 /* pmxvf16ger2 a4,vs0,vs1,11,0,0 */
.long 0xee000898
.long 0x079040b0 /* pmxvf16ger2 a4,vs0,vs1,11,0,1 */
.long 0xee000898
.long 0x079000bd /* pmxvf16ger2 a4,vs0,vs1,11,13,0 */
.long 0xee000898
.long 0x079040bd /* pmxvf16ger2 a4,vs0,vs1,11,13,1 */
.long 0xee000898
.long 0x07900000 /* pmxvf16ger2nn a4,vs0,vs1,0,0,0 */
.long 0xee000e90
.long 0x07904000 /* pmxvf16ger2nn a4,vs0,vs1,0,0,1 */
.long 0xee000e90
.long 0x0790000d /* pmxvf16ger2nn a4,vs0,vs1,0,13,0 */
.long 0xee000e90
.long 0x0790400d /* pmxvf16ger2nn a4,vs0,vs1,0,13,1 */
.long 0xee000e90
.long 0x079000b0 /* pmxvf16ger2nn a4,vs0,vs1,11,0,0 */
.long 0xee000e90
.long 0x079040b0 /* pmxvf16ger2nn a4,vs0,vs1,11,0,1 */
.long 0xee000e90
.long 0x079000bd /* pmxvf16ger2nn a4,vs0,vs1,11,13,0 */
.long 0xee000e90
.long 0x079040bd /* pmxvf16ger2nn a4,vs0,vs1,11,13,1 */
.long 0xee000e90
.long 0x07900000 /* pmxvf16ger2np a4,vs0,vs1,0,0,0 */
.long 0xee000a90
.long 0x07904000 /* pmxvf16ger2np a4,vs0,vs1,0,0,1 */
.long 0xee000a90
.long 0x0790000d /* pmxvf16ger2np a4,vs0,vs1,0,13,0 */
.long 0xee000a90
.long 0x0790400d /* pmxvf16ger2np a4,vs0,vs1,0,13,1 */
.long 0xee000a90
.long 0x079000b0 /* pmxvf16ger2np a4,vs0,vs1,11,0,0 */
.long 0xee000a90
.long 0x079040b0 /* pmxvf16ger2np a4,vs0,vs1,11,0,1 */
.long 0xee000a90
.long 0x079000bd /* pmxvf16ger2np a4,vs0,vs1,11,13,0 */
.long 0xee000a90
.long 0x079040bd /* pmxvf16ger2np a4,vs0,vs1,11,13,1 */
.long 0xee000a90
.long 0x07900000 /* pmxvf16ger2pn a4,vs0,vs1,0,0,0 */
.long 0xee000c90
.long 0x07904000 /* pmxvf16ger2pn a4,vs0,vs1,0,0,1 */
.long 0xee000c90
.long 0x0790000d /* pmxvf16ger2pn a4,vs0,vs1,0,13,0 */
.long 0xee000c90
.long 0x0790400d /* pmxvf16ger2pn a4,vs0,vs1,0,13,1 */
.long 0xee000c90
.long 0x079000b0 /* pmxvf16ger2pn a4,vs0,vs1,11,0,0 */
.long 0xee000c90
.long 0x079040b0 /* pmxvf16ger2pn a4,vs0,vs1,11,0,1 */
.long 0xee000c90
.long 0x079000bd /* pmxvf16ger2pn a4,vs0,vs1,11,13,0 */
.long 0xee000c90
.long 0x079040bd /* pmxvf16ger2pn a4,vs0,vs1,11,13,1 */
.long 0xee000c90
.long 0x07900000 /* pmxvf16ger2pp a4,vs0,vs1,0,0,0 */
.long 0xee000890
.long 0x07904000 /* pmxvf16ger2pp a4,vs0,vs1,0,0,1 */
.long 0xee000890
.long 0x0790000d /* pmxvf16ger2pp a4,vs0,vs1,0,13,0 */
.long 0xee000890
.long 0x0790400d /* pmxvf16ger2pp a4,vs0,vs1,0,13,1 */
.long 0xee000890
.long 0x079000b0 /* pmxvf16ger2pp a4,vs0,vs1,11,0,0 */
.long 0xee000890
.long 0x079040b0 /* pmxvf16ger2pp a4,vs0,vs1,11,0,1 */
.long 0xee000890
.long 0x079000bd /* pmxvf16ger2pp a4,vs0,vs1,11,13,0 */
.long 0xee000890
.long 0x079040bd /* pmxvf16ger2pp a4,vs0,vs1,11,13,1 */
.long 0xee000890
.long 0x07900000 /* pmxvf32ger a4,vs0,vs1,0,0 */
.long 0xee0008d8
.long 0x0790000d /* pmxvf32ger a4,vs0,vs1,0,13 */
.long 0xee0008d8
.long 0x079000b0 /* pmxvf32ger a4,vs0,vs1,11,0 */
.long 0xee0008d8
.long 0x079000bd /* pmxvf32ger a4,vs0,vs1,11,13 */
.long 0xee0008d8
.long 0x07900000 /* pmxvf32gernn a4,vs0,vs1,0,0 */
.long 0xee000ed0
.long 0x0790000d /* pmxvf32gernn a4,vs0,vs1,0,13 */
.long 0xee000ed0
.long 0x079000b0 /* pmxvf32gernn a4,vs0,vs1,11,0 */
.long 0xee000ed0
.long 0x079000bd /* pmxvf32gernn a4,vs0,vs1,11,13 */
.long 0xee000ed0
.long 0x07900000 /* pmxvf32gernp a4,vs0,vs1,0,0 */
.long 0xee000ad0
.long 0x0790000d /* pmxvf32gernp a4,vs0,vs1,0,13 */
.long 0xee000ad0
.long 0x079000b0 /* pmxvf32gernp a4,vs0,vs1,11,0 */
.long 0xee000ad0
.long 0x079000bd /* pmxvf32gernp a4,vs0,vs1,11,13 */
.long 0xee000ad0
.long 0x07900000 /* pmxvf32gerpn a4,vs0,vs1,0,0 */
.long 0xee000cd0
.long 0x0790000d /* pmxvf32gerpn a4,vs0,vs1,0,13 */
.long 0xee000cd0
.long 0x079000b0 /* pmxvf32gerpn a4,vs0,vs1,11,0 */
.long 0xee000cd0
.long 0x079000bd /* pmxvf32gerpn a4,vs0,vs1,11,13 */
.long 0xee000cd0
.long 0x07900000 /* pmxvf32gerpp a4,vs0,vs1,0,0 */
.long 0xee0008d0
.long 0x0790000d /* pmxvf32gerpp a4,vs0,vs1,0,13 */
.long 0xee0008d0
.long 0x079000b0 /* pmxvf32gerpp a4,vs0,vs1,11,0 */
.long 0xee0008d0
.long 0x079000bd /* pmxvf32gerpp a4,vs0,vs1,11,13 */
.long 0xee0008d0
.long 0x07900000 /* pmxvf64ger a4,vs22,vs0,0,0 */
.long 0xee1601d8
.long 0x07900004 /* pmxvf64ger a4,vs22,vs0,0,1 */
.long 0xee1601d8
.long 0x079000b0 /* pmxvf64ger a4,vs22,vs0,11,0 */
.long 0xee1601d8
.long 0x079000b4 /* pmxvf64ger a4,vs22,vs0,11,1 */
.long 0xee1601d8
.long 0x07900000 /* pmxvf64gernn a4,vs22,vs0,0,0 */
.long 0xee1607d0
.long 0x07900004 /* pmxvf64gernn a4,vs22,vs0,0,1 */
.long 0xee1607d0
.long 0x079000b0 /* pmxvf64gernn a4,vs22,vs0,11,0 */
.long 0xee1607d0
.long 0x079000b4 /* pmxvf64gernn a4,vs22,vs0,11,1 */
.long 0xee1607d0
.long 0x07900000 /* pmxvf64gernp a4,vs22,vs0,0,0 */
.long 0xee1603d0
.long 0x07900004 /* pmxvf64gernp a4,vs22,vs0,0,1 */
.long 0xee1603d0
.long 0x079000b0 /* pmxvf64gernp a4,vs22,vs0,11,0 */
.long 0xee1603d0
.long 0x079000b4 /* pmxvf64gernp a4,vs22,vs0,11,1 */
.long 0xee1603d0
.long 0x07900000 /* pmxvf64gerpn a4,vs22,vs0,0,0 */
.long 0xee1605d0
.long 0x07900004 /* pmxvf64gerpn a4,vs22,vs0,0,1 */
.long 0xee1605d0
.long 0x079000b0 /* pmxvf64gerpn a4,vs22,vs0,11,0 */
.long 0xee1605d0
.long 0x079000b4 /* pmxvf64gerpn a4,vs22,vs0,11,1 */
.long 0xee1605d0
.long 0x07900000 /* pmxvf64gerpp a4,vs22,vs0,0,0 */
.long 0xee1601d0
.long 0x07900004 /* pmxvf64gerpp a4,vs22,vs0,0,1 */
.long 0xee1601d0
.long 0x079000b0 /* pmxvf64gerpp a4,vs22,vs0,11,0 */
.long 0xee1601d0
.long 0x079000b4 /* pmxvf64gerpp a4,vs22,vs0,11,1 */
.long 0xee1601d0
.long 0x07900000 /* pmxvi16ger2 a4,vs0,vs1,0,0,0 */
.long 0xee000a58
.long 0x07904000 /* pmxvi16ger2 a4,vs0,vs1,0,0,1 */
.long 0xee000a58
.long 0x0790000d /* pmxvi16ger2 a4,vs0,vs1,0,13,0 */
.long 0xee000a58
.long 0x0790400d /* pmxvi16ger2 a4,vs0,vs1,0,13,1 */
.long 0xee000a58
.long 0x079000b0 /* pmxvi16ger2 a4,vs0,vs1,11,0,0 */
.long 0xee000a58
.long 0x079040b0 /* pmxvi16ger2 a4,vs0,vs1,11,0,1 */
.long 0xee000a58
.long 0x079000bd /* pmxvi16ger2 a4,vs0,vs1,11,13,0 */
.long 0xee000a58
.long 0x079040bd /* pmxvi16ger2 a4,vs0,vs1,11,13,1 */
.long 0xee000a58
.long 0x07900000 /* pmxvi16ger2pp a4,vs0,vs1,0,0,0 */
.long 0xee000b58
.long 0x07904000 /* pmxvi16ger2pp a4,vs0,vs1,0,0,1 */
.long 0xee000b58
.long 0x0790000d /* pmxvi16ger2pp a4,vs0,vs1,0,13,0 */
.long 0xee000b58
.long 0x0790400d /* pmxvi16ger2pp a4,vs0,vs1,0,13,1 */
.long 0xee000b58
.long 0x079000b0 /* pmxvi16ger2pp a4,vs0,vs1,11,0,0 */
.long 0xee000b58
.long 0x079040b0 /* pmxvi16ger2pp a4,vs0,vs1,11,0,1 */
.long 0xee000b58
.long 0x079000bd /* pmxvi16ger2pp a4,vs0,vs1,11,13,0 */
.long 0xee000b58
.long 0x079040bd /* pmxvi16ger2pp a4,vs0,vs1,11,13,1 */
.long 0xee000b58
.long 0x07900000 /* pmxvi16ger2s a4,vs0,vs1,0,0,0 */
.long 0xee000958
.long 0x07904000 /* pmxvi16ger2s a4,vs0,vs1,0,0,1 */
.long 0xee000958
.long 0x0790000d /* pmxvi16ger2s a4,vs0,vs1,0,13,0 */
.long 0xee000958
.long 0x0790400d /* pmxvi16ger2s a4,vs0,vs1,0,13,1 */
.long 0xee000958
.long 0x079000b0 /* pmxvi16ger2s a4,vs0,vs1,11,0,0 */
.long 0xee000958
.long 0x079040b0 /* pmxvi16ger2s a4,vs0,vs1,11,0,1 */
.long 0xee000958
.long 0x079000bd /* pmxvi16ger2s a4,vs0,vs1,11,13,0 */
.long 0xee000958
.long 0x079040bd /* pmxvi16ger2s a4,vs0,vs1,11,13,1 */
.long 0xee000958
.long 0x07900000 /* pmxvi16ger2spp a4,vs0,vs1,0,0,0 */
.long 0xee000950
.long 0x07904000 /* pmxvi16ger2spp a4,vs0,vs1,0,0,1 */
.long 0xee000950
.long 0x0790000d /* pmxvi16ger2spp a4,vs0,vs1,0,13,0 */
.long 0xee000950
.long 0x0790400d /* pmxvi16ger2spp a4,vs0,vs1,0,13,1 */
.long 0xee000950
.long 0x079000b0 /* pmxvi16ger2spp a4,vs0,vs1,11,0,0 */
.long 0xee000950
.long 0x079040b0 /* pmxvi16ger2spp a4,vs0,vs1,11,0,1 */
.long 0xee000950
.long 0x079000bd /* pmxvi16ger2spp a4,vs0,vs1,11,13,0 */
.long 0xee000950
.long 0x079040bd /* pmxvi16ger2spp a4,vs0,vs1,11,13,1 */
.long 0xee000950
.long 0x07900000 /* pmxvi4ger8 a4,vs0,vs1,0,0,0 */
.long 0xee000918
.long 0x07902d00 /* pmxvi4ger8 a4,vs0,vs1,0,0,45 */
.long 0xee000918
.long 0x07900001 /* pmxvi4ger8 a4,vs0,vs1,0,1,0 */
.long 0xee000918
.long 0x07902d01 /* pmxvi4ger8 a4,vs0,vs1,0,1,45 */
.long 0xee000918
.long 0x079000b0 /* pmxvi4ger8 a4,vs0,vs1,11,0,0 */
.long 0xee000918
.long 0x07902db0 /* pmxvi4ger8 a4,vs0,vs1,11,0,45 */
.long 0xee000918
.long 0x079000b1 /* pmxvi4ger8 a4,vs0,vs1,11,1,0 */
.long 0xee000918
.long 0x07902db1 /* pmxvi4ger8 a4,vs0,vs1,11,1,45 */
.long 0xee000918
.long 0x07900000 /* pmxvi4ger8pp a4,vs0,vs1,0,0,0 */
.long 0xee000910
.long 0x07902d00 /* pmxvi4ger8pp a4,vs0,vs1,0,0,45 */
.long 0xee000910
.long 0x07900001 /* pmxvi4ger8pp a4,vs0,vs1,0,1,0 */
.long 0xee000910
.long 0x07902d01 /* pmxvi4ger8pp a4,vs0,vs1,0,1,45 */
.long 0xee000910
.long 0x079000b0 /* pmxvi4ger8pp a4,vs0,vs1,11,0,0 */
.long 0xee000910
.long 0x07902db0 /* pmxvi4ger8pp a4,vs0,vs1,11,0,45 */
.long 0xee000910
.long 0x079000b1 /* pmxvi4ger8pp a4,vs0,vs1,11,1,0 */
.long 0xee000910
.long 0x07902db1 /* pmxvi4ger8pp a4,vs0,vs1,11,1,45 */
.long 0xee000910
.long 0x07900000 /* pmxvi8ger4 a4,vs0,vs1,0,0,0 */
.long 0xee000818
.long 0x07905000 /* pmxvi8ger4 a4,vs0,vs1,0,0,5 */
.long 0xee000818
.long 0x0790000d /* pmxvi8ger4 a4,vs0,vs1,0,13,0 */
.long 0xee000818
.long 0x0790500d /* pmxvi8ger4 a4,vs0,vs1,0,13,5 */
.long 0xee000818
.long 0x079000b0 /* pmxvi8ger4 a4,vs0,vs1,11,0,0 */
.long 0xee000818
.long 0x079050b0 /* pmxvi8ger4 a4,vs0,vs1,11,0,5 */
.long 0xee000818
.long 0x079000bd /* pmxvi8ger4 a4,vs0,vs1,11,13,0 */
.long 0xee000818
.long 0x079050bd /* pmxvi8ger4 a4,vs0,vs1,11,13,5 */
.long 0xee000818
.long 0x07900000 /* pmxvi8ger4pp a4,vs0,vs1,0,0,0 */
.long 0xee000810
.long 0x07905000 /* pmxvi8ger4pp a4,vs0,vs1,0,0,5 */
.long 0xee000810
.long 0x0790000d /* pmxvi8ger4pp a4,vs0,vs1,0,13,0 */
.long 0xee000810
.long 0x0790500d /* pmxvi8ger4pp a4,vs0,vs1,0,13,5 */
.long 0xee000810
.long 0x079000b0 /* pmxvi8ger4pp a4,vs0,vs1,11,0,0 */
.long 0xee000810
.long 0x079050b0 /* pmxvi8ger4pp a4,vs0,vs1,11,0,5 */
.long 0xee000810
.long 0x079000bd /* pmxvi8ger4pp a4,vs0,vs1,11,13,0 */
.long 0xee000810
.long 0x079050bd /* pmxvi8ger4pp a4,vs0,vs1,11,13,5 */
.long 0xee000810
.long 0x07900000 /* pmxvi8ger4spp a4,vs0,vs1,0,0,0 */
.long 0xee000b18
.long 0x07905000 /* pmxvi8ger4spp a4,vs0,vs1,0,0,5 */
.long 0xee000b18
.long 0x0790000d /* pmxvi8ger4spp a4,vs0,vs1,0,13,0 */
.long 0xee000b18
.long 0x0790500d /* pmxvi8ger4spp a4,vs0,vs1,0,13,5 */
.long 0xee000b18
.long 0x079000b0 /* pmxvi8ger4spp a4,vs0,vs1,11,0,0 */
.long 0xee000b18
.long 0x079050b0 /* pmxvi8ger4spp a4,vs0,vs1,11,0,5 */
.long 0xee000b18
.long 0x079000bd /* pmxvi8ger4spp a4,vs0,vs1,11,13,0 */
.long 0xee000b18
.long 0x079050bd /* pmxvi8ger4spp a4,vs0,vs1,11,13,5 */
.long 0xee000b18
.long 0x06000000 /* pstb r0,0(r1) */
.long 0x98010000
.long 0x06000000 /* pstb r0,16(r1) */
.long 0x98010010
.long 0x06000000 /* pstb r0,32(r1) */
.long 0x98010020
.long 0x06000000 /* pstb r0,8(r1) */
.long 0x98010008
.long 0x04000000 /* pstd r0,0(r1) */
.long 0xf4010000
.long 0x04000000 /* pstd r0,16(r1) */
.long 0xf4010010
.long 0x04000000 /* pstd r0,32(r1) */
.long 0xf4010020
.long 0x04000000 /* pstd r0,8(r1) */
.long 0xf4010008
.long 0x06000000 /* pstfd f26,0(0) */
.long 0xdb400000
.long 0x06000000 /* pstfd f26,16(0) */
.long 0xdb400010
.long 0x06000000 /* pstfd f26,32(0) */
.long 0xdb400020
.long 0x06000000 /* pstfd f26,4(0) */
.long 0xdb400004
.long 0x06000000 /* pstfd f26,8(0) */
.long 0xdb400008
.long 0x06000000 /* pstfs f26,0(0) */
.long 0xd3400000
.long 0x06000000 /* pstfs f26,16(0) */
.long 0xd3400010
.long 0x06000000 /* pstfs f26,32(0) */
.long 0xd3400020
.long 0x06000000 /* pstfs f26,4(0) */
.long 0xd3400004
.long 0x06000000 /* pstfs f26,8(0) */
.long 0xd3400008
.long 0x06000000 /* psth r0,0(r1) */
.long 0xb0010000
.long 0x06000000 /* psth r0,16(r1) */
.long 0xb0010010
.long 0x06000000 /* psth r0,32(r1) */
.long 0xb0010020
.long 0x06000000 /* psth r0,8(r1) */
.long 0xb0010008
.long 0x04000000 /* pstq r24,0(0) */
.long 0xf3000000
.long 0x04000000 /* pstq r24,16(0) */
.long 0xf3000010
.long 0x04000000 /* pstq r24,32(0) */
.long 0xf3000020
.long 0x04000000 /* pstq r24,64(0) */
.long 0xf3000040
.long 0x04000000 /* pstq r24,8(0) */
.long 0xf3000008
.long 0x06000000 /* pstw r0,0(r1) */
.long 0x90010000
.long 0x06000000 /* pstw r0,16(r1) */
.long 0x90010010
.long 0x06000000 /* pstw r0,32(r1) */
.long 0x90010020
.long 0x06000000 /* pstw r0,8(r1) */
.long 0x90010008
.long 0x04000000 /* pstxsd v22,0(0) */
.long 0xbac00000
.long 0x04000000 /* pstxsd v22,16(0) */
.long 0xbac00010
.long 0x04000000 /* pstxsd v22,32(0) */
.long 0xbac00020
.long 0x04000000 /* pstxsd v22,4(0) */
.long 0xbac00004
.long 0x04000000 /* pstxsd v22,64(0) */
.long 0xbac00040
.long 0x04000000 /* pstxsd v22,8(0) */
.long 0xbac00008
.long 0x04000000 /* pstxssp v22,0(0) */
.long 0xbec00000
.long 0x04000000 /* pstxssp v22,16(0) */
.long 0xbec00010
.long 0x04000000 /* pstxssp v22,32(0) */
.long 0xbec00020
.long 0x04000000 /* pstxssp v22,4(0) */
.long 0xbec00004
.long 0x04000000 /* pstxssp v22,64(0) */
.long 0xbec00040
.long 0x04000000 /* pstxssp v22,8(0) */
.long 0xbec00008
.long 0x04000000 /* pstxvp vs20,0(0) */
.long 0xfa800000
.long 0x04000000 /* pstxvp vs20,16(0) */
.long 0xfa800010
.long 0x04000000 /* pstxvp vs20,32(0) */
.long 0xfa800020
.long 0x04000000 /* pstxvp vs20,48(0) */
.long 0xfa800030
.long 0x04000000 /* pstxv vs0,0(r1) */
.long 0xd8010000
.long 0x04000000 /* pstxv vs0,16(r1) */
.long 0xd8010010
.long 0x04000000 /* pstxv vs0,4(r1) */
.long 0xd8010004
.long 0x04000000 /* pstxv vs0,8(r1) */
.long 0xd8010008
.long 0x05000000 /* xxblendvb vs0,vs1,vs2,vs3 */
.long 0x840110c0
.long 0x05000000 /* xxblendvd vs0,vs1,vs2,vs3 */
.long 0x840110f0
.long 0x05000000 /* xxblendvh vs0,vs1,vs2,vs3 */
.long 0x840110d0
.long 0x05000000 /* xxblendvw vs0,vs1,vs2,vs3 */
.long 0x840110e0
.long 0x05000000 /* xxeval vs0,vs1,vs2,vs3,0 */
.long 0x880110d0
.long 0x05000003 /* xxeval vs0,vs1,vs2,vs3,3 */
.long 0x880110d0
.long 0x05000000 /* xxpermx vs0,vs1,vs2,vs3,0 */
.long 0x880110c0
.long 0x05000003 /* xxpermx vs0,vs1,vs2,vs3,3 */
.long 0x880110c0
.long 0x05000000 /* xxsplti32dx vs0,0,127 */
.long 0x8000007f
.long 0x05000000 /* xxsplti32dx vs0,0,15 */
.long 0x8000000f
.long 0x0500a5a5 /* xxsplti32dx vs0,0,2779096485 */
.long 0x8000a5a5
.long 0x05000000 /* xxsplti32dx vs0,0,3 */
.long 0x80000003
.long 0x05000000 /* xxsplti32dx vs0,0,31 */
.long 0x8000001f
.long 0x05000000 /* xxsplti32dx vs0,0,32768 */
.long 0x80008000
.long 0x0500ffff /* xxsplti32dx vs0,0,4294967295 */
.long 0x8000ffff
.long 0x05000000 /* xxsplti32dx vs0,0,63 */
.long 0x8000003f
.long 0x05000001 /* xxsplti32dx vs0,0,66535 */
.long 0x800003e7
.long 0x05000000 /* xxsplti32dx vs0,0,7 */
.long 0x80000007
.long 0x05000000 /* xxsplti32dx vs0,1,127 */
.long 0x8002007f
.long 0x05000000 /* xxsplti32dx vs0,1,15 */
.long 0x8002000f
.long 0x0500a5a5 /* xxsplti32dx vs0,1,2779096485 */
.long 0x8002a5a5
.long 0x05000000 /* xxsplti32dx vs0,1,3 */
.long 0x80020003
.long 0x05000000 /* xxsplti32dx vs0,1,31 */
.long 0x8002001f
.long 0x05000000 /* xxsplti32dx vs0,1,32768 */
.long 0x80028000
.long 0x0500ffff /* xxsplti32dx vs0,1,4294967295 */
.long 0x8002ffff
.long 0x05000000 /* xxsplti32dx vs0,1,63 */
.long 0x8002003f
.long 0x05000001 /* xxsplti32dx vs0,1,66535 */
.long 0x800203e7
.long 0x05000000 /* xxsplti32dx vs0,1,7 */
.long 0x80020007
.long 0x05000000 /* xxspltidp vs0,0 */
.long 0x80040000
.long 0x05000080 /* xxspltidp vs0,8388608 */
.long 0x80040000
.long 0x05000080 /* xxspltidp vs0,8388609 */
.long 0x80040001
.long 0x05000083 /* xxspltidp vs0,8594245 */
.long 0x80042345
.long 0x050000ff /* xxspltidp vs0,16777215 */
.long 0x8004ffff
.long 0x05003200 /* xxspltidp vs0,838860800 */
.long 0x80040000
.long 0x05007f80 /* xxspltidp vs0,2139095040 */
.long 0x80040000
.long 0x05007f80 /* xxspltidp vs0,2139095041 */
.long 0x80040001
.long 0x05007f83 /* xxspltidp vs0,2139300677 */
.long 0x80042345
.long 0x05007fff /* xxspltidp vs0,2147483647 */
.long 0x8004ffff
.long 0x05008000 /* xxspltidp vs0,2147483648 */
.long 0x80040000
.long 0x05008080 /* xxspltidp vs0,2155872256 */
.long 0x80040000
.long 0x05008080 /* xxspltidp vs0,2155872257 */
.long 0x80040001
.long 0x05008083 /* xxspltidp vs0,2156077893 */
.long 0x80042345
.long 0x050080ff /* xxspltidp vs0,2164260863 */
.long 0x8004ffff
.long 0x0500ff80 /* xxspltidp vs0,4286578688 */
.long 0x80040000
.long 0x0500ff80 /* xxspltidp vs0,4286578689 */
.long 0x80040001
.long 0x0500ff83 /* xxspltidp vs0,4286784325 */
.long 0x80042345
.long 0x0500ffff /* xxspltidp vs0,4294967295 */
.long 0x8004ffff
.long 0x05000000 /* xxspltiw vs0,0 */
.long 0x80060000
.long 0x05000000 /* xxspltiw vs0,0 */
.long 0x80060001
.long 0x05000000 /* xxspltiw vs0,3 */
.long 0x80060003
.long 0x05000000 /* xxspltiw vs0,8 */
.long 0x80060008
|
stsp/binutils-ia16
| 7,435
|
gdb/testsuite/gdb.arch/powerpc-vsx3.s
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2014-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
.globl func
func:
.long 0x7c46ca19 /* lxvx vs34,r6,r25 */
.long 0x7e805218 /* lxvx vs20,0,r10 */
.long 0x7e98521a /* lxvl vs20,r24,r10 */
.long 0x7ec0ea1b /* lxvl vs54,0,r29 */
.long 0x7f149a5a /* lxvll vs24,r20,r19 */
.long 0x7c40725b /* lxvll vs34,0,r14 */
.long 0x7ec20266 /* mfvsrld r2,vs22 */
.long 0x7f5acad9 /* lxvwsx vs58,r26,r25 */
.long 0x7ee0ead9 /* lxvwsx vs55,0,r29 */
.long 0x7dd52318 /* stxvx vs14,r21,r4 */
.long 0x7fc0b318 /* stxvx vs30,0,r22 */
.long 0x7c1a231a /* stxvl vs0,r26,r4 */
.long 0x7ca0b31b /* stxvl vs37,0,r22 */
.long 0x7f0a0326 /* mtvsrws vs24,r10 */
.long 0x7fd57b5a /* stxvll vs30,r21,r15 */
.long 0x7ce0735b /* stxvll vs39,0,r14 */
.long 0x7d862b66 /* mtvsrdd vs12,r6,r5 */
.long 0x7cc0ab67 /* mtvsrdd vs38,0,r21 */
.long 0x7f7c361b /* lxsibzx vs59,r28,r6 */
.long 0x7fc0461a /* lxsibzx vs30,0,r8 */
.long 0x7d578e59 /* lxvh8x vs42,r23,r17 */
.long 0x7c802e59 /* lxvh8x vs36,0,r5 */
.long 0x7d895e5a /* lxsihzx vs12,r9,r11 */
.long 0x7e206e5b /* lxsihzx vs49,0,r13 */
.long 0x7ca39ed9 /* lxvb16x vs37,r3,r19 */
.long 0x7c00f6d8 /* lxvb16x vs0,0,r30 */
.long 0x7c5e371a /* stxsibx vs2,r30,r6 */
.long 0x7d806f1a /* stxsibx vs12,0,r13 */
.long 0x7e1d4758 /* stxvh8x vs16,r29,r8 */
.long 0x7ee05759 /* stxvh8x vs55,0,r10 */
.long 0x7c42bf5b /* stxsihx vs34,r2,r23 */
.long 0x7f80bf5b /* stxsihx vs60,0,r23 */
.long 0x7eee67d8 /* stxvb16x vs23,r14,r12 */
.long 0x7e602fd8 /* stxvb16x vs19,0,r5 */
.long 0xe7000002 /* lxsd v24,0(0) */
.long 0xe5f50012 /* lxsd v15,16(r21) */
.long 0xe4c00003 /* lxssp v6,0(0) */
.long 0xe6e90013 /* lxssp v23,16(r9) */
.long 0xf253081e /* xscmpeqdp vs18,vs51,vs33 */
.long 0xf05a105a /* xscmpgtdp vs2,vs26,vs34 */
.long 0xf0baa098 /* xscmpgedp vs5,vs26,vs20 */
.long 0xf18a58d3 /* xxperm vs44,vs10,vs43 */
.long 0xf13429d1 /* xxpermr vs41,vs20,vs5 */
.long 0xf212b9da /* xscmpexpdp cr4,vs18,vs55 */
.long 0xf2e32a96 /* xxextractuw vs23,vs37,3 */
.long 0xf2c75ad1 /* xxspltib vs54,235 */
.long 0xf1e4f2d4 /* xxinsertw vs15,vs30,4 */
.long 0xf18b3c00 /* xsmaxcdp vs12,vs11,vs7 */
.long 0xf019c441 /* xsmincdp vs32,vs25,vs24 */
.long 0xf3356484 /* xsmaxjdp vs25,vs53,vs12 */
.long 0xf17f24aa /* xststdcsp cr2,vs36,127 */
.long 0xf0156cc3 /* xsminjdp vs32,vs21,vs45 */
.long 0xf220956e /* xsxexpdp r17,vs50 */
.long 0xf0e1456e /* xsxsigdp r7,vs40 */
.long 0xf2d0156f /* xscvhpdp vs54,vs34 */
.long 0xf351b56f /* xscvdphp vs58,vs54 */
.long 0xf07f35aa /* xststdcdp cr0,vs38,127 */
.long 0xf31faeef /* xvtstdcsp vs56,vs53,127 */
.long 0xf2d4a6c3 /* xviexpsp vs54,vs20,vs52 */
.long 0xf33cef2d /* xsiexpdp vs57,r28,r29 */
.long 0xf020a76c /* xvxexpdp vs1,vs20 */
.long 0xf2c1df6f /* xvxsigdp vs54,vs59 */
.long 0xf2472f6e /* xxbrh vs18,vs37 */
.long 0xf1c80f6c /* xvxexpsp vs14,vs1 */
.long 0xf2896f6d /* xvxsigsp vs52,vs13 */
.long 0xf26f2f6c /* xxbrw vs19,vs5 */
.long 0xf277bf6f /* xxbrd vs51,vs55 */
.long 0xf0788f6d /* xvcvhpsp vs35,vs17 */
.long 0xf1f96f6e /* xvcvsphp vs15,vs45 */
.long 0xf23fff6c /* xxbrq vs17,vs31 */
.long 0xf21f67ec /* xvtstdcdp vs16,vs12,127 */
.long 0xf36947c0 /* xviexpdp vs27,vs9,vs8 */
.long 0xf4800001 /* lxv vs4,0(0) */
.long 0xf5140019 /* lxv vs40,16(r20) */
.long 0xf640000d /* stxv vs50,0(0) */
.long 0xf5100015 /* stxv vs8,16(r16) */
.long 0xf4600002 /* stxsd v3,0(0) */
.long 0xf6220012 /* stxsd v17,16(r2) */
.long 0xf5a00003 /* stxssp v13,0(0) */
.long 0xf62d0013 /* stxssp v17,16(r13) */
.long 0xfd0a9008 /* xsaddqp v8,v10,v18 */
.long 0xfca1e809 /* xsaddqpo v5,v1,v29 */
.long 0xfd80960a /* xsrqpi 0,v12,v18,3 */
.long 0xffe1980b /* xsrqpix 1,v31,v19,0 */
.long 0xfdc13048 /* xsmulqp v14,v1,v6 */
.long 0xfe27d849 /* xsmulqpo v17,v7,v27 */
.long 0xfc80584a /* xsrqpxp 0,v4,v11,0 */
.long 0xffb7e0c8 /* xscpsgnqp v29,v23,v28 */
.long 0xff8dd908 /* xscmpoqp cr7,v13,v27 */
.long 0xfe953148 /* xscmpexpqp cr5,v21,v6 */
.long 0xfc532308 /* xsmaddqp v2,v19,v4 */
.long 0xffc78309 /* xsmaddqpo v30,v7,v16 */
.long 0xfebe7b48 /* xsmsubqp v21,v30,v15 */
.long 0xfd91f349 /* xsmsubqpo v12,v17,v30 */
.long 0xfcde6388 /* xsnmaddqp v6,v30,v12 */
.long 0xfd966389 /* xsnmaddqpo v12,v22,v12 */
.long 0xfd5ddbc8 /* xsnmsubqp v10,v29,v27 */
.long 0xffbd6bc9 /* xsnmsubqpo v29,v29,v13 */
.long 0xfe7b2408 /* xssubqp v19,v27,v4 */
.long 0xfda80c09 /* xssubqpo v13,v8,v1 */
.long 0xfd03dc48 /* xsdivqp v8,v3,v27 */
.long 0xff14dc49 /* xsdivqpo v24,v20,v27 */
.long 0xff8e2508 /* xscmpuqp cr7,v14,v4 */
.long 0xfe7f1588 /* xststdcqp cr4,v2,127 */
.long 0xffe0b648 /* xsabsqp v31,v22 */
.long 0xff221e48 /* xsxexpqp v25,v3 */
.long 0xfd48e648 /* xsnabsqp v10,v28 */
.long 0xfe70fe48 /* xsnegqp v19,v31 */
.long 0xfd726e48 /* xsxsigqp v11,v13 */
.long 0xfdbb7648 /* xssqrtqp v13,v14 */
.long 0xfc3bde49 /* xssqrtqpo v1,v27 */
.long 0xfc613e88 /* xscvqpuwz v3,v7 */
.long 0xfe829688 /* xscvudqp v20,v18 */
.long 0xffa9ee88 /* xscvqpswz v29,v29 */
.long 0xfc4ae688 /* xscvsdqp v2,v28 */
.long 0xfef12688 /* xscvqpudz v23,v4 */
.long 0xfc74a688 /* xscvqpdp v3,v20 */
.long 0xfc341e89 /* xscvqpdpo v1,v3 */
.long 0xfe766688 /* xscvdpqp v19,v12 */
.long 0xfdb92688 /* xscvqpsdz v13,v4 */
.long 0xfcf83ec8 /* xsiexpqp v7,v24,v7 */
|
stsp/binutils-ia16
| 1,382
|
gdb/testsuite/gdb.arch/riscv-unwind-long-insn-8.s
|
/* Copyright 2019-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.option nopic
.text
.align 1
.globl bar
.type bar, @function
bar:
tail 1f
.size bar, .-func
.align 1
.globl func
.type func, @function
func:
/* A fake 8 byte instruction. This is never executed, but the
prologue scanner will try to decode it. These long
instructions are ISA extensions, use .byte rather than an
actual instruction mnemonic so that the test can be compiled
with a toolchain that doesn't include any long instruction
extensions. */
.byte 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
1:
addi sp,sp,-16
sw s0,12(sp)
addi s0,sp,16
nop
lw s0,12(sp)
addi sp,sp,16
jr ra
.size func, .-func
|
stsp/binutils-ia16
| 11,505
|
gdb/testsuite/gdb.arch/powerpc-altivec.s
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2014-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
.globl func
func:
.long 0x7c60066c /* dss 3 */
.long 0x7e00066c /* dssall */
.long 0x7c2522ac /* dst r5,r4,1 */
.long 0x7e083aac /* dstt r8,r7,0 */
.long 0x7c6532ec /* dstst r5,r6,3 */
.long 0x7e442aec /* dststt r4,r5,2 */
.long 0x7fd6c00e /* lvebx v30,r22,r24 */
.long 0x7ea0c00e /* lvebx v21,0,r24 */
.long 0x7d50104e /* lvehx v10,r16,r2 */
.long 0x7e80b84e /* lvehx v20,0,r23 */
.long 0x7e24908e /* lvewx v17,r4,r18 */
.long 0x7ee0408e /* lvewx v23,0,r8 */
.long 0x7cc0c80c /* lvsl v6,0,r25 */
.long 0x7c40300c /* lvsl v2,0,r6 */
.long 0x7ed0604c /* lvsr v22,r16,r12 */
.long 0x7c00e84c /* lvsr v0,0,r29 */
.long 0x7de56ace /* lvxl v15,r5,r13 */
.long 0x7e60bace /* lvxl v19,0,r23 */
.long 0x7ec110ce /* lvx v22,r1,r2 */
.long 0x7e4088ce /* lvx v18,0,r17 */
.long 0x7fe042a6 /* mfvrsave r31 */
.long 0x13000604 /* mfvscr v24 */
.long 0x7d4043a6 /* mtvrsave r10 */
.long 0x1000ce44 /* mtvscr v25 */
.long 0x7e5b510e /* stvebx v18,r27,r10 */
.long 0x7e00310e /* stvebx v16,0,r6 */
.long 0x7e2d814e /* stvehx v17,r13,r16 */
.long 0x7ee0a14e /* stvehx v23,0,r20 */
.long 0x7d73f98e /* stvewx v11,r19,r31 */
.long 0x7fe0098e /* stvewx v31,0,r1 */
.long 0x7f558bce /* stvxl v26,r21,r17 */
.long 0x7da0b3ce /* stvxl v13,0,r22 */
.long 0x7d7ff9ce /* stvx v11,r31,r31 */
.long 0x7fc081ce /* stvx v30,0,r16 */
.long 0x1307e180 /* vaddcuw v24,v7,v28 */
.long 0x107e580a /* vaddfp v3,v30,v11 */
.long 0x111c4b00 /* vaddsbs v8,v28,v9 */
.long 0x10e52340 /* vaddshs v7,v5,v4 */
.long 0x12dadb80 /* vaddsws v22,v26,v27 */
.long 0x120ee000 /* vaddubm v16,v14,v28 */
.long 0x10c1ca00 /* vaddubs v6,v1,v25 */
.long 0x10443040 /* vadduhm v2,v4,v6 */
.long 0x13554240 /* vadduhs v26,v21,v8 */
.long 0x13bf0880 /* vadduwm v29,v31,v1 */
.long 0x12ed2280 /* vadduws v23,v13,v4 */
.long 0x13d04c44 /* vandc v30,v16,v9 */
.long 0x106ddc04 /* vand v3,v13,v27 */
.long 0x10868d02 /* vavgsb v4,v6,v17 */
.long 0x12fc9d42 /* vavgsh v23,v28,v19 */
.long 0x110ffd82 /* vavgsw v8,v15,v31 */
.long 0x10c7cc02 /* vavgub v6,v7,v25 */
.long 0x13365442 /* vavguh v25,v22,v10 */
.long 0x1077ec82 /* vavguw v3,v23,v29 */
.long 0x11c613ca /* vctsxs v14,v2,6 */
.long 0x1134fb8a /* vctuxs v9,v31,20 */
.long 0x1303f34a /* vcfsx v24,v30,3 */
.long 0x123dab0a /* vcfux v17,v21,29 */
.long 0x125c03c6 /* vcmpbfp v18,v28,v0 */
.long 0x127a1fc6 /* vcmpbfp. v19,v26,v3 */
.long 0x120258c6 /* vcmpeqfp v16,v2,v11 */
.long 0x12ed6cc6 /* vcmpeqfp. v23,v13,v13 */
.long 0x13335006 /* vcmpequb v25,v19,v10 */
.long 0x124b1406 /* vcmpequb. v18,v11,v2 */
.long 0x11393846 /* vcmpequh v9,v25,v7 */
.long 0x11d8ac46 /* vcmpequh. v14,v24,v21 */
.long 0x130c2886 /* vcmpequw v24,v12,v5 */
.long 0x12700c86 /* vcmpequw. v19,v16,v1 */
.long 0x12f181c6 /* vcmpgefp v23,v17,v16 */
.long 0x127d8dc6 /* vcmpgefp. v19,v29,v17 */
.long 0x121c6ac6 /* vcmpgtfp v16,v28,v13 */
.long 0x11d83ec6 /* vcmpgtfp. v14,v24,v7 */
.long 0x12163306 /* vcmpgtsb v16,v22,v6 */
.long 0x104c7706 /* vcmpgtsb. v2,v12,v14 */
.long 0x1383eb46 /* vcmpgtsh v28,v3,v29 */
.long 0x12136f46 /* vcmpgtsh. v16,v19,v13 */
.long 0x11e02b86 /* vcmpgtsw v15,v0,v5 */
.long 0x12ad0786 /* vcmpgtsw. v21,v13,v0 */
.long 0x10aaf206 /* vcmpgtub v5,v10,v30 */
.long 0x10ed5606 /* vcmpgtub. v7,v13,v10 */
.long 0x130f8246 /* vcmpgtuh v24,v15,v16 */
.long 0x1335de46 /* vcmpgtuh. v25,v21,v27 */
.long 0x123b3286 /* vcmpgtuw v17,v27,v6 */
.long 0x1115de86 /* vcmpgtuw. v8,v21,v27 */
.long 0x102e0b4a /* vcfsx v1,v1,14 */
.long 0x10997bca /* vctsxs v4,v15,25 */
.long 0x138ebb8a /* vctuxs v28,v23,14 */
.long 0x10c0330a /* vcfux v6,v6,0 */
.long 0x1000418a /* vexptefp v0,v8 */
.long 0x12c0d9ca /* vlogefp v22,v27 */
.long 0x12f2916e /* vmaddfp v23,v18,v5,v18 */
.long 0x11addc0a /* vmaxfp v13,v13,v27 */
.long 0x11177102 /* vmaxsb v8,v23,v14 */
.long 0x12710142 /* vmaxsh v19,v17,v0 */
.long 0x1263b182 /* vmaxsw v19,v3,v22 */
.long 0x12fee002 /* vmaxub v23,v30,v28 */
.long 0x1134b842 /* vmaxuh v9,v20,v23 */
.long 0x12b30882 /* vmaxuw v21,v19,v1 */
.long 0x12cd2da0 /* vmhaddshs v22,v13,v5,v22 */
.long 0x13e01ca1 /* vmhraddshs v31,v0,v3,v18 */
.long 0x1055c44a /* vminfp v2,v21,v24 */
.long 0x12865302 /* vminsb v20,v6,v10 */
.long 0x125bd342 /* vminsh v18,v27,v26 */
.long 0x10640b82 /* vminsw v3,v4,v1 */
.long 0x10e06a02 /* vminub v7,v0,v13 */
.long 0x100c3242 /* vminuh v0,v12,v6 */
.long 0x10c30a82 /* vminuw v6,v3,v1 */
.long 0x107d1ea2 /* vmladduhm v3,v29,v3,v26 */
.long 0x12a5f80c /* vmrghb v21,v5,v31 */
.long 0x12b8004c /* vmrghh v21,v24,v0 */
.long 0x1200b08c /* vmrghw v16,v0,v22 */
.long 0x1031810c /* vmrglb v1,v17,v16 */
.long 0x11c8794c /* vmrglh v14,v8,v15 */
.long 0x13f5298c /* vmrglw v31,v21,v5 */
.long 0x13094c84 /* vmr v24,v9 */
.long 0x10187de5 /* vmsummbm v0,v24,v15,v23 */
.long 0x10243e68 /* vmsumshm v1,v4,v7,v25 */
.long 0x11286fe9 /* vmsumshs v9,v8,v13,v31 */
.long 0x12ff67a4 /* vmsumubm v23,v31,v12,v30 */
.long 0x13a0d566 /* vmsumuhm v29,v0,v26,v21 */
.long 0x136ec967 /* vmsumuhs v27,v14,v25,v5 */
.long 0x11597308 /* vmulesb v10,v25,v14 */
.long 0x10324348 /* vmulesh v1,v18,v8 */
.long 0x122e4a08 /* vmuleub v17,v14,v9 */
.long 0x10ba4a48 /* vmuleuh v5,v26,v9 */
.long 0x12b23108 /* vmulosb v21,v18,v6 */
.long 0x10854148 /* vmulosh v4,v5,v8 */
.long 0x10499808 /* vmuloub v2,v9,v19 */
.long 0x13a52048 /* vmulouh v29,v5,v4 */
.long 0x110229af /* vnmsubfp v8,v2,v6,v5 */
.long 0x13e95504 /* vnor v31,v9,v10 */
.long 0x133ffd04 /* vnot v25,v31 */
.long 0x12e71484 /* vor v23,v7,v2 */
.long 0x101cb66b /* vperm v0,v28,v22,v25 */
.long 0x12198b0e /* vpkpx v16,v25,v17 */
.long 0x1190898e /* vpkshss v12,v16,v17 */
.long 0x1033b90e /* vpkshus v1,v19,v23 */
.long 0x132769ce /* vpkswss v25,v7,v13 */
.long 0x1098514e /* vpkswus v4,v24,v10 */
.long 0x113b600e /* vpkuhum v9,v27,v12 */
.long 0x12cac88e /* vpkuhus v22,v10,v25 */
.long 0x13d2004e /* vpkuwum v30,v18,v0 */
.long 0x10e3b0ce /* vpkuwus v7,v3,v22 */
.long 0x1300e10a /* vrefp v24,v28 */
.long 0x12209aca /* vrfim v17,v19 */
.long 0x1300ca0a /* vrfin v24,v25 */
.long 0x10602a8a /* vrfip v3,v5 */
.long 0x1100524a /* vrfiz v8,v10 */
.long 0x1352f004 /* vrlb v26,v18,v30 */
.long 0x1211c844 /* vrlh v16,v17,v25 */
.long 0x12fe4884 /* vrlw v23,v30,v9 */
.long 0x1040914a /* vrsqrtefp v2,v18 */
.long 0x128e92aa /* vsel v20,v14,v18,v10 */
.long 0x13396104 /* vslb v25,v25,v12 */
.long 0x112961ec /* vsldoi v9,v9,v12,7 */
.long 0x11c25944 /* vslh v14,v2,v11 */
.long 0x13c5340c /* vslo v30,v5,v6 */
.long 0x12de49c4 /* vsl v22,v30,v9 */
.long 0x135a1984 /* vslw v26,v26,v3 */
.long 0x1026a20c /* vspltb v1,v20,6 */
.long 0x1203924c /* vsplth v16,v18,3 */
.long 0x1333030c /* vspltisb v25,-13 */
.long 0x12ca034c /* vspltish v22,10 */
.long 0x11ad038c /* vspltisw v13,13 */
.long 0x1122928c /* vspltw v9,v18,2 */
.long 0x11d60304 /* vsrab v14,v22,v0 */
.long 0x118c9344 /* vsrah v12,v12,v18 */
.long 0x10426b84 /* vsraw v2,v2,v13 */
.long 0x10fb2a04 /* vsrb v7,v27,v5 */
.long 0x10ebea44 /* vsrh v7,v11,v29 */
.long 0x125efc4c /* vsro v18,v30,v31 */
.long 0x1049e2c4 /* vsr v2,v9,v28 */
.long 0x10190284 /* vsrw v0,v25,v0 */
.long 0x13025580 /* vsubcuw v24,v2,v10 */
.long 0x12d8a04a /* vsubfp v22,v24,v20 */
.long 0x11566f00 /* vsubsbs v10,v22,v13 */
.long 0x1311e740 /* vsubshs v24,v17,v28 */
.long 0x115a0780 /* vsubsws v10,v26,v0 */
.long 0x120bc400 /* vsububm v16,v11,v24 */
.long 0x11750e00 /* vsububs v11,v21,v1 */
.long 0x10ccc440 /* vsubuhm v6,v12,v24 */
.long 0x13cb4e40 /* vsubuhs v30,v11,v9 */
.long 0x12746c80 /* vsubuwm v19,v20,v13 */
.long 0x12593680 /* vsubuws v18,v25,v6 */
.long 0x132a9688 /* vsum2sws v25,v10,v18 */
.long 0x11b0af08 /* vsum4sbs v13,v16,v21 */
.long 0x12e82648 /* vsum4shs v23,v8,v4 */
.long 0x138df608 /* vsum4ubs v28,v13,v30 */
.long 0x12ca4788 /* vsumsws v22,v10,v8 */
.long 0x1300734e /* vupkhpx v24,v14 */
.long 0x1040b20e /* vupkhsb v2,v22 */
.long 0x1200124e /* vupkhsh v16,v2 */
.long 0x1140d3ce /* vupklpx v10,v26 */
.long 0x11e0e28e /* vupklsb v15,v28 */
.long 0x110042ce /* vupklsh v8,v8 */
.long 0x13201cc4 /* vxor v25,v0,v3 */
|
stsp/binutils-ia16
| 1,847
|
gdb/testsuite/gdb.arch/amd64-disp-step-avx.S
|
/* Copyright 2009-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
This file is part of the gdb testsuite.
Test displaced stepping over VEX-encoded RIP-relative AVX
instructions. */
.text
.global _start,main
_start:
# The area at _start is used as the displaced stepping buffer. Put
# more than enough nop instructions so that the instructions under test
# below don't conflict with it.
.rept 200
nop
.endr
main:
nop
/***********************************************/
/* Test a VEX2-encoded RIP-relative instruction. */
.global test_rip_vex2
test_rip_vex2:
vmovsd ro_var(%rip),%xmm0
.global test_rip_vex2
test_rip_vex2_end:
nop
/* Test a VEX3-encoded RIP-relative instruction. */
.global test_rip_vex3
test_rip_vex3:
vextractf128 $0x0,%ymm0,var128(%rip)
.global test_rip_vex3
test_rip_vex3_end:
nop
/* skip over test data */
jmp done
/* RIP-relative ro-data for VEX2 test above. */
ro_var:
.8byte 0x1122334455667788
.8byte 0x8877665544332211
/***********************************************/
/* All done. */
done:
mov $0,%rdi
call _exit
hlt
/* RIP-relative data for VEX3 test above. */
.data
var128:
.8byte 0xaa55aa55aa55aa55
.8byte 0x55aa55aa55aa55aa
|
stsp/binutils-ia16
| 1,083
|
gdb/testsuite/gdb.arch/amd64-stap-three-arg-disp.S
|
.file "amd64-stap-three-arg-disp.c"
.text
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
# BLOCK 2 seq:0
# PRED: ENTRY (fallthru)
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
movl %edi, -20(%rbp)
movq %rsi, -32(%rbp)
movl $10, -4(%rbp)
movl $0, %eax
#APP
# 8 "amd64-stap-three-arg-disp.c" 1
990: nop
.pushsection .note.stapsdt,"?","note"
.balign 4
.4byte 992f-991f,994f-993f,3
991: .asciz "stapsdt"
992: .balign 4
993: .8byte 990b
.8byte _.stapsdt.base
.8byte 0
.asciz "test"
.asciz "three_arg"
.asciz "-4@-4(%rbp,%eax,0)"
994: .balign 4
.popsection
# 0 "" 2
# 8 "amd64-stap-three-arg-disp.c" 1
.ifndef _.stapsdt.base
.pushsection .stapsdt.base,"aG","progbits",.stapsdt.base,comdat
.weak _.stapsdt.base
.hidden _.stapsdt.base
_.stapsdt.base: .space 1
.size _.stapsdt.base,1
.popsection
.endif
# 0 "" 2
#NO_APP
popq %rbp
.cfi_def_cfa 7, 8
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE0:
.size main, .-main
.ident "GCC: (GNU) 4.7.2 20120921 (Red Hat 4.7.2-2)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 20,392
|
gdb/testsuite/gdb.arch/amd64-entry-value-inline.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2012-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This file is compiled from gdb.arch/amd64-entry-value-inline.c
using -g -dA -S -O2. */
.file "amd64-entry-value-inline.c"
.text
.Ltext0:
.p2align 4,,15
.type fn1, @function
fn1:
.LFB0:
.file 1 "gdb.arch/amd64-entry-value-inline.c"
# gdb.arch/amd64-entry-value-inline.c:22
.loc 1 22 0
.cfi_startproc
.LVL0:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (FALLTHRU)
# gdb.arch/amd64-entry-value-inline.c:23
.loc 1 23 0
movl v(%rip), %eax
addl $1, %eax
movl %eax, v(%rip)
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE0:
.size fn1, .-fn1
.p2align 4,,15
.globl fn3
.type fn3, @function
fn3:
.LFB2:
# gdb.arch/amd64-entry-value-inline.c:41
.loc 1 41 0
.cfi_startproc
.LVL1:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (FALLTHRU)
.LBB4:
.LBB5:
# gdb.arch/amd64-entry-value-inline.c:29
.loc 1 29 0
testl %esi, %esi
.LBE5:
.LBE4:
# gdb.arch/amd64-entry-value-inline.c:41
.loc 1 41 0
pushq %rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
# gdb.arch/amd64-entry-value-inline.c:41
.loc 1 41 0
movl %edi, %ebx
.LBB7:
.LBB6:
# SUCC: 3 [39.0%] (FALLTHRU,CAN_FALLTHRU) 4 [61.0%] (CAN_FALLTHRU)
# gdb.arch/amd64-entry-value-inline.c:29
.loc 1 29 0
je .L3
# BLOCK 3 freq:3898 seq:1
# PRED: 2 [39.0%] (FALLTHRU,CAN_FALLTHRU)
# gdb.arch/amd64-entry-value-inline.c:31
.loc 1 31 0
call fn1
.LVL2:
# gdb.arch/amd64-entry-value-inline.c:32
.loc 1 32 0
leal -2(%rbx), %eax
.LVL3:
# gdb.arch/amd64-entry-value-inline.c:33
.loc 1 33 0
movl %eax, %edi
imull %eax, %edi
addl $1, %edi
.LVL4:
imull %edi, %eax
.LVL5:
# gdb.arch/amd64-entry-value-inline.c:34
.loc 1 34 0
leal (%rbx,%rax), %edi
call fn1
.LVL6:
# SUCC: 4 [100.0%] (FALLTHRU,CAN_FALLTHRU)
# BLOCK 4 freq:10000 seq:2
# PRED: 2 [61.0%] (CAN_FALLTHRU) 3 [100.0%] (FALLTHRU,CAN_FALLTHRU)
.L3:
.LBE6:
.LBE7:
# gdb.arch/amd64-entry-value-inline.c:43
.loc 1 43 0
movl %ebx, %eax
popq %rbx
.cfi_def_cfa_offset 8
.LVL7:
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE2:
.size fn3, .-fn3
.section .text.startup,"ax",@progbits
.p2align 4,,15
.globl main
.type main, @function
main:
.LFB3:
# gdb.arch/amd64-entry-value-inline.c:47
.loc 1 47 0
.cfi_startproc
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (FALLTHRU)
# gdb.arch/amd64-entry-value-inline.c:48
.loc 1 48 0
movl $25, %esi
movl $6, %edi
call fn3
.LVL8:
# gdb.arch/amd64-entry-value-inline.c:50
.loc 1 50 0
xorl %eax, %eax
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE3:
.size main, .-main
.local v
.comm v,4,4
.text
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0x164 # Length of Compilation Unit Info
.value 0x4 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF0 # DW_AT_producer: "GNU C 4.8.0 20121005 (experimental) -mtune=generic -march=x86-64 -g -O2"
.byte 0x1 # DW_AT_language
.long .LASF1 # DW_AT_name: "gdb.arch/amd64-entry-value-inline.c"
.long .LASF2 # DW_AT_comp_dir: ""
.long .Ldebug_ranges0+0x30 # DW_AT_ranges
.quad 0 # DW_AT_low_pc
.long .Ldebug_line0 # DW_AT_stmt_list
.uleb128 0x2 # (DIE (0x29) DW_TAG_subprogram)
.ascii "fn1\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value-inline.c)
.byte 0x15 # DW_AT_decl_line
# DW_AT_prototyped
.quad .LFB0 # DW_AT_low_pc
.quad .LFE0-.LFB0 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
.long 0x52 # DW_AT_sibling
.uleb128 0x3 # (DIE (0x46) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value-inline.c)
.byte 0x15 # DW_AT_decl_line
.long 0x52 # DW_AT_type
.uleb128 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0 # end of children of DIE 0x29
.uleb128 0x4 # (DIE (0x52) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
.uleb128 0x5 # (DIE (0x59) DW_TAG_subprogram)
.ascii "fn2\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value-inline.c)
.byte 0x1b # DW_AT_decl_line
# DW_AT_prototyped
.long 0x52 # DW_AT_type
.byte 0x1 # DW_AT_inline
.long 0x7c # DW_AT_sibling
.uleb128 0x6 # (DIE (0x69) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value-inline.c)
.byte 0x1b # DW_AT_decl_line
.long 0x52 # DW_AT_type
.uleb128 0x6 # (DIE (0x72) DW_TAG_formal_parameter)
.ascii "y\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value-inline.c)
.byte 0x1b # DW_AT_decl_line
.long 0x52 # DW_AT_type
.byte 0 # end of children of DIE 0x59
.uleb128 0x7 # (DIE (0x7c) DW_TAG_subprogram)
# DW_AT_external
.ascii "fn3\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value-inline.c)
.byte 0x28 # DW_AT_decl_line
# DW_AT_prototyped
.long 0x52 # DW_AT_type
.quad .LFB2 # DW_AT_low_pc
.quad .LFE2-.LFB2 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
.long 0x115 # DW_AT_sibling
.uleb128 0x8 # (DIE (0x9d) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value-inline.c)
.byte 0x28 # DW_AT_decl_line
.long 0x52 # DW_AT_type
.long .LLST0 # DW_AT_location
.uleb128 0x8 # (DIE (0xaa) DW_TAG_formal_parameter)
.ascii "y\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value-inline.c)
.byte 0x28 # DW_AT_decl_line
.long 0x52 # DW_AT_type
.long .LLST1 # DW_AT_location
.uleb128 0x9 # (DIE (0xb7) DW_TAG_inlined_subroutine)
.long 0x59 # DW_AT_abstract_origin
.quad .LBB4 # DW_AT_entry_pc
.long .Ldebug_ranges0+0 # DW_AT_ranges
.byte 0x1 # DW_AT_call_file (gdb.arch/amd64-entry-value-inline.c)
.byte 0x2a # DW_AT_call_line
.uleb128 0xa # (DIE (0xca) DW_TAG_formal_parameter)
.long 0x72 # DW_AT_abstract_origin
.long .LLST2 # DW_AT_location
.uleb128 0xa # (DIE (0xd3) DW_TAG_formal_parameter)
.long 0x69 # DW_AT_abstract_origin
.long .LLST0 # DW_AT_location
.uleb128 0xb # (DIE (0xdc) DW_TAG_GNU_call_site)
.quad .LVL2 # DW_AT_low_pc
.long 0x29 # DW_AT_abstract_origin
.long 0xf4 # DW_AT_sibling
.uleb128 0xc # (DIE (0xed) DW_TAG_GNU_call_site_parameter)
.uleb128 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.uleb128 0x2 # DW_AT_GNU_call_site_value
.byte 0x73 # DW_OP_breg3
.sleb128 0
.byte 0 # end of children of DIE 0xdc
.uleb128 0xd # (DIE (0xf4) DW_TAG_GNU_call_site)
.quad .LVL6 # DW_AT_low_pc
.long 0x29 # DW_AT_abstract_origin
.uleb128 0xc # (DIE (0x101) DW_TAG_GNU_call_site_parameter)
.uleb128 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.uleb128 0xd # DW_AT_GNU_call_site_value
.byte 0x73 # DW_OP_breg3
.sleb128 -2
.byte 0x73 # DW_OP_breg3
.sleb128 -2
.byte 0x73 # DW_OP_breg3
.sleb128 -2
.byte 0x1e # DW_OP_mul
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x1
.byte 0x1e # DW_OP_mul
.byte 0x73 # DW_OP_breg3
.sleb128 0
.byte 0x22 # DW_OP_plus
.byte 0 # end of children of DIE 0xf4
.byte 0 # end of children of DIE 0xb7
.byte 0 # end of children of DIE 0x7c
.uleb128 0xe # (DIE (0x115) DW_TAG_subprogram)
# DW_AT_external
.long .LASF3 # DW_AT_name: "main"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value-inline.c)
.byte 0x2e # DW_AT_decl_line
.long 0x52 # DW_AT_type
.quad .LFB3 # DW_AT_low_pc
.quad .LFE3-.LFB3 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
.long 0x14f # DW_AT_sibling
.uleb128 0xd # (DIE (0x136) DW_TAG_GNU_call_site)
.quad .LVL8 # DW_AT_low_pc
.long 0x7c # DW_AT_abstract_origin
.uleb128 0xc # (DIE (0x143) DW_TAG_GNU_call_site_parameter)
.uleb128 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.uleb128 0x1 # DW_AT_GNU_call_site_value
.byte 0x36 # DW_OP_lit6
.uleb128 0xc # (DIE (0x148) DW_TAG_GNU_call_site_parameter)
.uleb128 0x1 # DW_AT_location
.byte 0x54 # DW_OP_reg4
.uleb128 0x1 # DW_AT_GNU_call_site_value
.byte 0x49 # DW_OP_lit25
.byte 0 # end of children of DIE 0x136
.byte 0 # end of children of DIE 0x115
.uleb128 0xf # (DIE (0x14f) DW_TAG_variable)
.ascii "v\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value-inline.c)
.byte 0x12 # DW_AT_decl_line
.long 0x162 # DW_AT_type
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad v
.uleb128 0x10 # (DIE (0x162) DW_TAG_volatile_type)
.long 0x52 # DW_AT_type
.byte 0 # end of children of DIE 0xb
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x55 # (DW_AT_ranges)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x17 # (DW_FORM_sec_offset)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x4 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0
.byte 0
.uleb128 0x5 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x20 # (DW_AT_inline)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x6 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x7 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x8 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x17 # (DW_FORM_sec_offset)
.byte 0
.byte 0
.uleb128 0x9 # (abbrev code)
.uleb128 0x1d # (TAG: DW_TAG_inlined_subroutine)
.byte 0x1 # DW_children_yes
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x52 # (DW_AT_entry_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x55 # (DW_AT_ranges)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x58 # (DW_AT_call_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x59 # (DW_AT_call_line)
.uleb128 0xb # (DW_FORM_data1)
.byte 0
.byte 0
.uleb128 0xa # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x17 # (DW_FORM_sec_offset)
.byte 0
.byte 0
.uleb128 0xb # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0x1 # DW_children_yes
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xc # (abbrev code)
.uleb128 0x410a # (TAG: DW_TAG_GNU_call_site_parameter)
.byte 0 # DW_children_no
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2111 # (DW_AT_GNU_call_site_value)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0xd # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0x1 # DW_children_yes
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xe # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xf # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x10 # (abbrev code)
.uleb128 0x35 # (TAG: DW_TAG_volatile_type)
.byte 0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.byte 0
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.quad .LVL1 # Location list begin address (*.LLST0)
.quad .LVL2-1 # Location list end address (*.LLST0)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL2-1 # Location list begin address (*.LLST0)
.quad .LVL7 # Location list end address (*.LLST0)
.value 0x1 # Location expression size
.byte 0x53 # DW_OP_reg3
.quad .LVL7 # Location list begin address (*.LLST0)
.quad .LFE2 # Location list end address (*.LLST0)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad 0 # Location list terminator begin (*.LLST0)
.quad 0 # Location list terminator end (*.LLST0)
.LLST1:
.quad .LVL1 # Location list begin address (*.LLST1)
.quad .LVL2-1 # Location list end address (*.LLST1)
.value 0x1 # Location expression size
.byte 0x54 # DW_OP_reg4
.quad .LVL2-1 # Location list begin address (*.LLST1)
.quad .LFE2 # Location list end address (*.LLST1)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x54 # DW_OP_reg4
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST1)
.quad 0 # Location list terminator end (*.LLST1)
.LLST2:
.quad .LVL1 # Location list begin address (*.LLST2)
.quad .LVL2-1 # Location list end address (*.LLST2)
.value 0x1 # Location expression size
.byte 0x54 # DW_OP_reg4
.quad .LVL2-1 # Location list begin address (*.LLST2)
.quad .LVL3 # Location list end address (*.LLST2)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x54 # DW_OP_reg4
.byte 0x9f # DW_OP_stack_value
.quad .LVL3 # Location list begin address (*.LLST2)
.quad .LVL4 # Location list end address (*.LLST2)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad .LVL4 # Location list begin address (*.LLST2)
.quad .LVL5 # Location list end address (*.LLST2)
.value 0x6 # Location expression size
.byte 0x70 # DW_OP_breg0
.sleb128 0
.byte 0x75 # DW_OP_breg5
.sleb128 0
.byte 0x1e # DW_OP_mul
.byte 0x9f # DW_OP_stack_value
.quad .LVL5 # Location list begin address (*.LLST2)
.quad .LVL6-1 # Location list end address (*.LLST2)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad .LVL6-1 # Location list begin address (*.LLST2)
.quad .LVL6 # Location list end address (*.LLST2)
.value 0xb # Location expression size
.byte 0x73 # DW_OP_breg3
.sleb128 -2
.byte 0x73 # DW_OP_breg3
.sleb128 -2
.byte 0x73 # DW_OP_breg3
.sleb128 -2
.byte 0x1e # DW_OP_mul
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x1
.byte 0x1e # DW_OP_mul
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST2)
.quad 0 # Location list terminator end (*.LLST2)
.section .debug_aranges,"",@progbits
.long 0x3c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 16 byte boundary
.value 0
.quad .Ltext0 # Address
.quad .Letext0-.Ltext0 # Length
.quad .LFB3 # Address
.quad .LFE3-.LFB3 # Length
.quad 0
.quad 0
.section .debug_ranges,"",@progbits
.Ldebug_ranges0:
.quad .LBB4 # Offset 0
.quad .LBE4
.quad .LBB7
.quad .LBE7
.quad 0
.quad 0
.quad .Ltext0 # Offset 0x30
.quad .Letext0
.quad .LFB3 # Offset 0x40
.quad .LFE3
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF0:
.string "GNU C 4.8.0 20121005+patches (experimental) -mtune=generic -march=x86-64 -g -O2"
.LASF1:
.string "gdb.arch/amd64-entry-value-inline.c"
.LASF2:
.string ""
.LASF3:
.string "main"
.ident "GCC: (GNU) 4.8.0 20121005 (experimental)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 4,004
|
gdb/testsuite/gdb.arch/thumb2-it.S
|
/* Thumb-2 IT blocks test program.
Copyright 2010-2022 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.syntax unified
.text
.p2align 2
.code 16
#ifndef __thumb2__
.type main,%function
.thumb_func
.globl main
main:
mov r0, #0
bx lr @ No Thumb-2
#else
.type main,%function
.thumb_func
.globl main
main:
mov r0, #0
bx lr @ Thumb-2 OK
@ One conditional instruction, executed.
.type it_1,%function
.thumb_func
it_1:
mov r0, #0 @ Setup
cmp r0, #0 @ Setup
it eq @ IT instruction, Expected == 1
addeq r0, #1 @ Reached
bx lr @ Done
@ One conditional instruction, skipped.
.type it_2,%function
.thumb_func
it_2:
mov r0, #0 @ Setup
cmp r0, #0 @ Setup
it ne @ IT instruction, Expected == 0
addne r0, #1 @ Not reached
bx lr @ Done, Check $r0 == 0
@ Block of four, alternating, starting with executed.
.type it_3,%function
.thumb_func
it_3:
mov r0, #0 @ Setup
cmp r0, #0 @ Setup
itete ge @ IT instruction, Expected == 2
addge r0, #1 @ Reached
addlt r0, #2 @ Not reached
addge r0, #4 @ Reached
addlt r0, #8 @ Not reached
bx lr @ Done, Check $r0 == 5
@ Block of four, changing flags.
.type it_4,%function
.thumb_func
it_4:
mov r0, #0 @ Setup
cmp r0, #0 @ Setup
itttt ge @ IT instruction, Expected == 2
addge r0, #1 @ Reached
cmpge r0, #10 @ Reached
addge r0, #4 @ Not reached
addge r0, #8 @ Not reached
bx lr @ Done, Check $r0 == 1
@ Block of two, ending with taken branch.
.type it_5,%function
.thumb_func
it_5:
mov r0, #0 @ Setup
cmp r0, #0 @ Setup
itt ge @ IT instruction, Expected == 2
addge r0, #1 @ Reached
bge .L5 @ Reached
add r0, #2 @ Never reached
.L5: bx lr @ Done, Check $r0 == 1
@ Block of two, ending with untaken branch.
.type it_6,%function
.thumb_func
it_6:
mov r0, #0 @ Setup
cmp r0, #0 @ Setup
ite ge @ IT instruction, Expected == 2
addge r0, #1 @ Reached
blt .L6 @ Not reached
add r0, #2 @ Reached
.L6: bx lr @ Done, Check $r0 == 3
@ Block of four, taken, of different sizes
.type it_7,%function
.thumb_func
it_7:
mov r0, #0 @ Setup
cmp r0, #0 @ Setup
itttt ge @ IT instruction, Expected == 4
addge.n r0, #1 @ Reached
addge.w r0, #2 @ Reached
addge.n r0, #4 @ Reached
addge.w r0, #8 @ Reached
bx lr @ Done, Check $r0 == 15
@ Block of four, only first executed.
.type it_8,%function
.thumb_func
it_8:
mov r0, #0 @ Setup
cmp r0, #0 @ Setup
iteee ge @ IT instruction, Expected == 1
addge r0, #1 @ Reached
addlt r0, #2 @ Not reached
addlt r0, #4 @ Not reached
addlt r0, #8 @ Not reached
bx lr @ Done, Check $r0 == 1
.type it_breakpoints,%function
.thumb_func
it_breakpoints:
mov r0, #0
cmp r0, #0
it eq @ Location 1 @ Break 1
moveq r0, #0
it eq @ Location 2
moveq r0, #0 @ Break 2
it ne @ Location 3
movne r0, #0 @ Break 3
@ An IT block of maximum size.
itttt eq @ Location 4
moveq.w r0, #0
moveq.w r0, #0
moveq.w r0, #0
moveq.w r0, #0 @ Break 4
@ Just outside an IT block.
it eq
moveq r0, #0
mov r0, #0 @ Location 5 @ Break 5
@ After something that looks like an IT block, but
@ is the second half of an instruction.
.p2align 6
cmp r0, r0
b 1f
b.w .+0xe14 @ 0xf000 0xbf08 -> second half is IT EQ
1: mov r0, #0 @ Location 6 @ Break 6
@ After something that looks like an IT block, but
@ is data.
.p2align 6
b 1f
.short 0xbf08
1: mov r0, #0 @ Location 7 @ Break 7
bx lr
#endif /* __thumb2__ */
|
stsp/binutils-ia16
| 1,068
|
gdb/testsuite/gdb.arch/thumb-singlestep.S
|
/* Test program with deliberately incorrect execution mode transition
Copyright 2011-2022 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
.align 2
.global foo
.thumb
/* .thumb_func deliberately omitted */
foo:
mov r0,#42
bx lr
.text
.align 2
.global main
.thumb
.thumb_func
.type main, %function
main:
push {r3, lr}
blx foo
pop {r3, pc}
.size main, .-main
|
stsp/binutils-ia16
| 20,602
|
gdb/testsuite/gdb.arch/amd64-entry-value-param.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2012-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This file is compiled from gdb.arch/amd64-entry-value-param.c
using -g -dA -S -O2. */
.file "amd64-entry-value-param.c"
.text
.Ltext0:
.p2align 4,,15
.type foo.isra.0.constprop.2, @function
foo.isra.0.constprop.2:
.LFB4:
.file 1 "gdb.arch/amd64-entry-value-param.c"
/* gdb.arch/amd64-entry-value-param.c:21 */
.loc 1 21 0
.cfi_startproc
.LVL0:
/* BLOCK 2 freq:10000 seq:0 */
/* PRED: ENTRY [100.0%] (fallthru) */
/* gdb.arch/amd64-entry-value-param.c:26 */
.loc 1 26 0
movl vv(%rip), %eax
addl $1, %eax
movl %eax, vv(%rip)
/* gdb.arch/amd64-entry-value-param.c:27 */
.loc 1 27 0
leal 3(%rdi), %eax
/* SUCC: EXIT [100.0%] */
/* gdb.arch/amd64-entry-value-param.c:28 */
.loc 1 28 0
ret
.cfi_endproc
.LFE4:
.size foo.isra.0.constprop.2, .-foo.isra.0.constprop.2
.p2align 4,,15
.type bar.constprop.1, @function
bar.constprop.1:
.LFB5:
/* gdb.arch/amd64-entry-value-param.c:31 */
.loc 1 31 0
.cfi_startproc
/* BLOCK 2 freq:10000 seq:0 */
/* PRED: ENTRY [100.0%] (fallthru) */
.LVL1:
pushq %rbx
.LCFI0:
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
/* gdb.arch/amd64-entry-value-param.c:33 */
.loc 1 33 0
movl $10, %edi
call foo.isra.0.constprop.2
.LVL2:
movl $10, %edi
movl %eax, %ebx
call foo.isra.0.constprop.2
.LVL3:
movl $16, %edi
addl %eax, %ebx
call foo.isra.0.constprop.2
.LVL4:
leal 10(%rbx,%rax), %eax
/* gdb.arch/amd64-entry-value-param.c:34 */
.loc 1 34 0
popq %rbx
.LCFI1:
.cfi_def_cfa_offset 8
/* SUCC: EXIT [100.0%] */
ret
.cfi_endproc
.LFE5:
.size bar.constprop.1, .-bar.constprop.1
.section .text.startup,"ax",@progbits
.p2align 4,,15
.globl main
.type main, @function
main:
.LFB2:
/* gdb.arch/amd64-entry-value-param.c:38 */
.loc 1 38 0
.cfi_startproc
/* BLOCK 2 freq:10000 seq:0 */
/* PRED: ENTRY [100.0%] (fallthru) */
/* gdb.arch/amd64-entry-value-param.c:39 */
.loc 1 39 0
jmp bar.constprop.1
/* SUCC: EXIT [100.0%] (ab,sibcall) */
.LVL5:
.cfi_endproc
.LFE2:
.size main, .-main
.comm vv,4,4
.text
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.4byte 0x1b7 /* Length of Compilation Unit Info */
.2byte 0x2 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x8 /* Pointer Size (in bytes) */
.uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
.4byte .LASF0 /* DW_AT_producer: "GNU C 4.7.1 20120612 (prerelease)" */
.byte 0x1 /* DW_AT_language */
.4byte .LASF1 /* DW_AT_name: "gdb.arch/amd64-entry-value-param.c" */
.4byte .LASF2 /* DW_AT_comp_dir: "" */
.4byte .Ldebug_ranges0+0 /* DW_AT_ranges */
.quad 0 /* DW_AT_low_pc */
.quad 0 /* DW_AT_entry_pc */
.4byte .Ldebug_line0 /* DW_AT_stmt_list */
.uleb128 0x2 /* (DIE (0x31) DW_TAG_subprogram) */
.ascii "foo\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (gdb.arch/amd64-entry-value-param.c) */
.byte 0x15 /* DW_AT_decl_line */
.byte 0x1 /* DW_AT_prototyped */
.4byte 0x79 /* DW_AT_type */
.byte 0 /* DW_AT_inline */
.4byte 0x79 /* DW_AT_sibling */
.uleb128 0x3 /* (DIE (0x42) DW_TAG_formal_parameter) */
.ascii "x\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (gdb.arch/amd64-entry-value-param.c) */
.byte 0x15 /* DW_AT_decl_line */
.4byte 0x79 /* DW_AT_type */
.uleb128 0x3 /* (DIE (0x4b) DW_TAG_formal_parameter) */
.ascii "y\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (gdb.arch/amd64-entry-value-param.c) */
.byte 0x15 /* DW_AT_decl_line */
.4byte 0x79 /* DW_AT_type */
.uleb128 0x3 /* (DIE (0x54) DW_TAG_formal_parameter) */
.ascii "z\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (gdb.arch/amd64-entry-value-param.c) */
.byte 0x15 /* DW_AT_decl_line */
.4byte 0x79 /* DW_AT_type */
.uleb128 0x4 /* (DIE (0x5d) DW_TAG_variable) */
.ascii "a\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (gdb.arch/amd64-entry-value-param.c) */
.byte 0x17 /* DW_AT_decl_line */
.4byte 0x79 /* DW_AT_type */
.uleb128 0x4 /* (DIE (0x66) DW_TAG_variable) */
.ascii "b\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (gdb.arch/amd64-entry-value-param.c) */
.byte 0x18 /* DW_AT_decl_line */
.4byte 0x79 /* DW_AT_type */
.uleb128 0x4 /* (DIE (0x6f) DW_TAG_variable) */
.ascii "c\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (gdb.arch/amd64-entry-value-param.c) */
.byte 0x19 /* DW_AT_decl_line */
.4byte 0x79 /* DW_AT_type */
.byte 0 /* end of children of DIE 0x31 */
.uleb128 0x5 /* (DIE (0x79) DW_TAG_base_type) */
.byte 0x4 /* DW_AT_byte_size */
.byte 0x5 /* DW_AT_encoding */
.ascii "int\0" /* DW_AT_name */
.uleb128 0x2 /* (DIE (0x80) DW_TAG_subprogram) */
.ascii "bar\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (gdb.arch/amd64-entry-value-param.c) */
.byte 0x1f /* DW_AT_decl_line */
.byte 0x1 /* DW_AT_prototyped */
.4byte 0x79 /* DW_AT_type */
.byte 0x1 /* DW_AT_inline */
.4byte 0x9b /* DW_AT_sibling */
.uleb128 0x3 /* (DIE (0x91) DW_TAG_formal_parameter) */
.ascii "x\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (gdb.arch/amd64-entry-value-param.c) */
.byte 0x1f /* DW_AT_decl_line */
.4byte 0x79 /* DW_AT_type */
.byte 0 /* end of children of DIE 0x80 */
.uleb128 0x6 /* (DIE (0x9b) DW_TAG_subprogram) */
.4byte 0x31 /* DW_AT_abstract_origin */
.quad .LFB4 /* DW_AT_low_pc */
.quad .LFE4 /* DW_AT_high_pc */
.byte 0x2 /* DW_AT_frame_base */
.byte 0x77 /* DW_OP_breg7 */
.sleb128 8
.byte 0x1 /* DW_AT_GNU_all_call_sites */
.4byte 0xf1 /* DW_AT_sibling */
.uleb128 0x7 /* (DIE (0xb8) DW_TAG_formal_parameter) */
.4byte 0x42 /* DW_AT_abstract_origin */
.byte 0x1 /* DW_AT_location */
.byte 0x55 /* DW_OP_reg5 */
.uleb128 0x7 /* (DIE (0xbf) DW_TAG_formal_parameter) */
.4byte 0x4b /* DW_AT_abstract_origin */
.byte 0x6 /* DW_AT_location */
.byte 0xfa /* DW_OP_GNU_parameter_ref */
.4byte 0x4b
.byte 0x9f /* DW_OP_stack_value */
.uleb128 0x8 /* (DIE (0xcb) DW_TAG_variable) */
.4byte 0x5d /* DW_AT_abstract_origin */
.byte 0x5 /* DW_AT_location */
.byte 0x75 /* DW_OP_breg5 */
.sleb128 0
.byte 0x31 /* DW_OP_lit1 */
.byte 0x24 /* DW_OP_shl */
.byte 0x9f /* DW_OP_stack_value */
.uleb128 0x8 /* (DIE (0xd6) DW_TAG_variable) */
.4byte 0x66 /* DW_AT_abstract_origin */
.byte 0x8 /* DW_AT_location */
.byte 0xfa /* DW_OP_GNU_parameter_ref */
.4byte 0x4b
.byte 0x31 /* DW_OP_lit1 */
.byte 0x24 /* DW_OP_shl */
.byte 0x9f /* DW_OP_stack_value */
.uleb128 0x9 /* (DIE (0xe4) DW_TAG_variable) */
.4byte 0x6f /* DW_AT_abstract_origin */
.byte 0x6 /* DW_AT_const_value */
.uleb128 0xa /* (DIE (0xea) DW_TAG_formal_parameter) */
.4byte 0x54 /* DW_AT_abstract_origin */
.byte 0x3 /* DW_AT_const_value */
.byte 0 /* end of children of DIE 0x9b */
.uleb128 0xb /* (DIE (0xf1) DW_TAG_subprogram) */
.4byte 0x80 /* DW_AT_abstract_origin */
.quad .LFB5 /* DW_AT_low_pc */
.quad .LFE5 /* DW_AT_high_pc */
.4byte .LLST0 /* DW_AT_frame_base */
.byte 0x1 /* DW_AT_GNU_all_call_sites */
.4byte 0x16c /* DW_AT_sibling */
.uleb128 0xa /* (DIE (0x10f) DW_TAG_formal_parameter) */
.4byte 0x91 /* DW_AT_abstract_origin */
.byte 0xa /* DW_AT_const_value */
.uleb128 0xc /* (DIE (0x115) DW_TAG_GNU_call_site) */
.quad .LVL2 /* DW_AT_low_pc */
.4byte 0x9b /* DW_AT_abstract_origin */
.4byte 0x133 /* DW_AT_sibling */
.uleb128 0xd /* (DIE (0x126) DW_TAG_GNU_call_site_parameter) */
.byte 0x1 /* DW_AT_location */
.byte 0x55 /* DW_OP_reg5 */
.byte 0x1 /* DW_AT_GNU_call_site_value */
.byte 0x3a /* DW_OP_lit10 */
.uleb128 0xe /* (DIE (0x12b) DW_TAG_GNU_call_site_parameter) */
.4byte 0x4b /* DW_AT_abstract_origin */
.byte 0x1 /* DW_AT_GNU_call_site_value */
.byte 0x32 /* DW_OP_lit2 */
.byte 0 /* end of children of DIE 0x115 */
.uleb128 0xc /* (DIE (0x133) DW_TAG_GNU_call_site) */
.quad .LVL3 /* DW_AT_low_pc */
.4byte 0x9b /* DW_AT_abstract_origin */
.4byte 0x151 /* DW_AT_sibling */
.uleb128 0xd /* (DIE (0x144) DW_TAG_GNU_call_site_parameter) */
.byte 0x1 /* DW_AT_location */
.byte 0x55 /* DW_OP_reg5 */
.byte 0x1 /* DW_AT_GNU_call_site_value */
.byte 0x3a /* DW_OP_lit10 */
.uleb128 0xe /* (DIE (0x149) DW_TAG_GNU_call_site_parameter) */
.4byte 0x4b /* DW_AT_abstract_origin */
.byte 0x1 /* DW_AT_GNU_call_site_value */
.byte 0x34 /* DW_OP_lit4 */
.byte 0 /* end of children of DIE 0x133 */
.uleb128 0xf /* (DIE (0x151) DW_TAG_GNU_call_site) */
.quad .LVL4 /* DW_AT_low_pc */
.4byte 0x9b /* DW_AT_abstract_origin */
.uleb128 0xd /* (DIE (0x15e) DW_TAG_GNU_call_site_parameter) */
.byte 0x1 /* DW_AT_location */
.byte 0x55 /* DW_OP_reg5 */
.byte 0x1 /* DW_AT_GNU_call_site_value */
.byte 0x40 /* DW_OP_lit16 */
.uleb128 0xe /* (DIE (0x163) DW_TAG_GNU_call_site_parameter) */
.4byte 0x4b /* DW_AT_abstract_origin */
.byte 0x1 /* DW_AT_GNU_call_site_value */
.byte 0x3a /* DW_OP_lit10 */
.byte 0 /* end of children of DIE 0x151 */
.byte 0 /* end of children of DIE 0xf1 */
.uleb128 0x10 /* (DIE (0x16c) DW_TAG_subprogram) */
.byte 0x1 /* DW_AT_external */
.4byte .LASF3 /* DW_AT_name: "main" */
.byte 0x1 /* DW_AT_decl_file (gdb.arch/amd64-entry-value-param.c) */
.byte 0x25 /* DW_AT_decl_line */
.byte 0x1 /* DW_AT_prototyped */
.4byte 0x79 /* DW_AT_type */
.quad .LFB2 /* DW_AT_low_pc */
.quad .LFE2 /* DW_AT_high_pc */
.byte 0x2 /* DW_AT_frame_base */
.byte 0x77 /* DW_OP_breg7 */
.sleb128 8
.byte 0x1 /* DW_AT_GNU_all_call_sites */
.4byte 0x1a0 /* DW_AT_sibling */
.uleb128 0x11 /* (DIE (0x191) DW_TAG_GNU_call_site) */
.quad .LVL5 /* DW_AT_low_pc */
.byte 0x1 /* DW_AT_GNU_tail_call */
.4byte 0xf1 /* DW_AT_abstract_origin */
.byte 0 /* end of children of DIE 0x16c */
.uleb128 0x12 /* (DIE (0x1a0) DW_TAG_variable) */
.ascii "vv\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (gdb.arch/amd64-entry-value-param.c) */
.byte 0x12 /* DW_AT_decl_line */
.4byte 0x1b5 /* DW_AT_type */
.byte 0x1 /* DW_AT_external */
.byte 0x9 /* DW_AT_location */
.byte 0x3 /* DW_OP_addr */
.quad vv
.uleb128 0x13 /* (DIE (0x1b5) DW_TAG_volatile_type) */
.4byte 0x79 /* DW_AT_type */
.byte 0 /* end of children of DIE 0xb */
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0xe /* (DW_FORM_strp) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0xe /* (DW_FORM_strp) */
.uleb128 0x1b /* (DW_AT_comp_dir) */
.uleb128 0xe /* (DW_FORM_strp) */
.uleb128 0x55 /* (DW_AT_ranges) */
.uleb128 0x6 /* (DW_FORM_data4) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x52 /* (DW_AT_entry_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x10 /* (DW_AT_stmt_list) */
.uleb128 0x6 /* (DW_FORM_data4) */
.byte 0
.byte 0
.uleb128 0x2 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x27 /* (DW_AT_prototyped) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x20 /* (DW_AT_inline) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x1 /* (DW_AT_sibling) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0x3 /* (abbrev code) */
.uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
.byte 0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0x4 /* (abbrev code) */
.uleb128 0x34 /* (TAG: DW_TAG_variable) */
.byte 0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0x5 /* (abbrev code) */
.uleb128 0x24 /* (TAG: DW_TAG_base_type) */
.byte 0 /* DW_children_no */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3e /* (DW_AT_encoding) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.byte 0
.byte 0
.uleb128 0x6 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x40 /* (DW_AT_frame_base) */
.uleb128 0xa /* (DW_FORM_block1) */
.uleb128 0x2117 /* (DW_AT_GNU_all_call_sites) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x1 /* (DW_AT_sibling) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0x7 /* (abbrev code) */
.uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
.byte 0 /* DW_children_no */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x2 /* (DW_AT_location) */
.uleb128 0xa /* (DW_FORM_block1) */
.byte 0
.byte 0
.uleb128 0x8 /* (abbrev code) */
.uleb128 0x34 /* (TAG: DW_TAG_variable) */
.byte 0 /* DW_children_no */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x2 /* (DW_AT_location) */
.uleb128 0xa /* (DW_FORM_block1) */
.byte 0
.byte 0
.uleb128 0x9 /* (abbrev code) */
.uleb128 0x34 /* (TAG: DW_TAG_variable) */
.byte 0 /* DW_children_no */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x1c /* (DW_AT_const_value) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0
.byte 0
.uleb128 0xa /* (abbrev code) */
.uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
.byte 0 /* DW_children_no */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x1c /* (DW_AT_const_value) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0
.byte 0
.uleb128 0xb /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x40 /* (DW_AT_frame_base) */
.uleb128 0x6 /* (DW_FORM_data4) */
.uleb128 0x2117 /* (DW_AT_GNU_all_call_sites) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x1 /* (DW_AT_sibling) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0xc /* (abbrev code) */
.uleb128 0x4109 /* (TAG: DW_TAG_GNU_call_site) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x1 /* (DW_AT_sibling) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0xd /* (abbrev code) */
.uleb128 0x410a /* (TAG: DW_TAG_GNU_call_site_parameter) */
.byte 0 /* DW_children_no */
.uleb128 0x2 /* (DW_AT_location) */
.uleb128 0xa /* (DW_FORM_block1) */
.uleb128 0x2111 /* (DW_AT_GNU_call_site_value) */
.uleb128 0xa /* (DW_FORM_block1) */
.byte 0
.byte 0
.uleb128 0xe /* (abbrev code) */
.uleb128 0x410a /* (TAG: DW_TAG_GNU_call_site_parameter) */
.byte 0 /* DW_children_no */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x2111 /* (DW_AT_GNU_call_site_value) */
.uleb128 0xa /* (DW_FORM_block1) */
.byte 0
.byte 0
.uleb128 0xf /* (abbrev code) */
.uleb128 0x4109 /* (TAG: DW_TAG_GNU_call_site) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0x10 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0xe /* (DW_FORM_strp) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x27 /* (DW_AT_prototyped) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x40 /* (DW_AT_frame_base) */
.uleb128 0xa /* (DW_FORM_block1) */
.uleb128 0x2117 /* (DW_AT_GNU_all_call_sites) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x1 /* (DW_AT_sibling) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0x11 /* (abbrev code) */
.uleb128 0x4109 /* (TAG: DW_TAG_GNU_call_site) */
.byte 0 /* DW_children_no */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x2115 /* (DW_AT_GNU_tail_call) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0x12 /* (abbrev code) */
.uleb128 0x34 /* (TAG: DW_TAG_variable) */
.byte 0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x2 /* (DW_AT_location) */
.uleb128 0xa /* (DW_FORM_block1) */
.byte 0
.byte 0
.uleb128 0x13 /* (abbrev code) */
.uleb128 0x35 /* (TAG: DW_TAG_volatile_type) */
.byte 0 /* DW_children_no */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.byte 0
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.quad .LFB5 /* Location list begin address (*.LLST0) */
.quad .LCFI0 /* Location list end address (*.LLST0) */
.2byte 0x2 /* Location expression size */
.byte 0x77 /* DW_OP_breg7 */
.sleb128 8
.quad .LCFI0 /* Location list begin address (*.LLST0) */
.quad .LCFI1 /* Location list end address (*.LLST0) */
.2byte 0x2 /* Location expression size */
.byte 0x77 /* DW_OP_breg7 */
.sleb128 16
.quad .LCFI1 /* Location list begin address (*.LLST0) */
.quad .LFE5 /* Location list end address (*.LLST0) */
.2byte 0x2 /* Location expression size */
.byte 0x77 /* DW_OP_breg7 */
.sleb128 8
.quad 0 /* Location list terminator begin (*.LLST0) */
.quad 0 /* Location list terminator end (*.LLST0) */
.section .debug_aranges,"",@progbits
.4byte 0x3c /* Length of Address Ranges Info */
.2byte 0x2 /* DWARF Version */
.4byte .Ldebug_info0 /* Offset of Compilation Unit Info */
.byte 0x8 /* Size of Address */
.byte 0 /* Size of Segment Descriptor */
.2byte 0 /* Pad to 16 byte boundary */
.2byte 0
.quad .Ltext0 /* Address */
.quad .Letext0-.Ltext0 /* Length */
.quad .LFB2 /* Address */
.quad .LFE2-.LFB2 /* Length */
.quad 0
.quad 0
.section .debug_ranges,"",@progbits
.Ldebug_ranges0:
.quad .Ltext0 /* Offset 0 */
.quad .Letext0
.quad .LFB2 /* Offset 0x10 */
.quad .LFE2
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF1:
.string "gdb.arch/amd64-entry-value-param.c"
.LASF3:
.string "main"
.LASF2:
.string ""
.LASF0:
.string "GNU C 4.7.1 20120612 (prerelease)"
.ident "GCC: (GNU) 4.7.1 20120612 (prerelease)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 2,275
|
gdb/testsuite/gdb.arch/gdb1431.s
|
! Copyright 2004-2022 Free Software Foundation, Inc.
!
! This program is free software; you can redistribute it and/or modify
! it under the terms of the GNU General Public License as published by
! the Free Software Foundation; either version 3 of the License, or
! (at your option) any later version.
!
! This program is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with this program. If not, see <http://www.gnu.org/licenses/>.
!
! Please email any bugs, comments, and/or additions to this file to:
! bug-gdb@gnu.org
!
! This file is part of the gdb testsuite.
!
! It was generated using "sh-elf-gcc -S gdb1431.c", using the following
! source file:
!
! #include <stdio.h>
!
! main()
! {
! printf("hello world\n");
! sub1();
! sub2();
! }
! sub1()
! {
! int buf[64];
!
! }
!
! sub2()
! {
! int buf[65];
!
! }
!
! We use a pregenerated assembly file as the test input to avoid possible
! problems with future versions of gcc generating different code.
.file "gdb1431.c"
.text
.section .rodata
.align 2
.LC0:
.string "hello world\n"
.text
.align 1
.global _main
.type _main, @function
_main:
mov.l r14,@-r15
sts.l pr,@-r15
mov r15,r14
mov.l .L2,r1
mov r1,r4
mov.l .L3,r1
jsr @r1
nop
mov.l .L4,r1
jsr @r1
nop
mov.l .L5,r1
jsr @r1
nop
mov r14,r15
lds.l @r15+,pr
mov.l @r15+,r14
rts
nop
.L6:
.align 2
.L2:
.long .LC0
.L3:
.long _printf
.L4:
.long _sub1
.L5:
.long _sub2
.size _main, .-_main
.align 1
.global _sub1
.type _sub1, @function
_sub1:
mov.l r14,@-r15
sts.l pr,@-r15
add #-128,r15
add #-128,r15
mov r15,r14
mov.w .L8,r7
add r7,r14
mov r14,r15
lds.l @r15+,pr
mov.l @r15+,r14
rts
nop
.align 1
.L8:
.short 256
.size _sub1, .-_sub1
.align 1
.global _sub2
.type _sub2, @function
_sub2:
mov.l r14,@-r15
sts.l pr,@-r15
mov.w .L11,r1
sub r1,r15
mov r15,r14
mov.w .L11,r7
add r7,r14
mov r14,r15
lds.l @r15+,pr
mov.l @r15+,r14
rts
nop
.align 1
.L11:
.short 260
.size _sub2, .-_sub2
.ident "GCC: (GNU) 3.5.0 20040204 (experimental)"
|
stsp/binutils-ia16
| 1,536
|
gdb/testsuite/gdb.arch/i386-cfi-notcurrent.S
|
/* Copyright 2012-2022 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Testcase compiled by gcc -m32 -S -fasynchronous-unwind-tables -O2:
static int __attribute__ ((regparm (0), stdcall, noinline, noclone))
f (int x)
{
return x;
}
static int __attribute__ ((noinline, noclone))
g (void)
{
return f (1) + 1;
}
int
main (void)
{
return g () + 1;
}
*/
.text
.type f, @function
f:
.LFB0:
.cfi_startproc
movl 4(%esp), %eax
ret $4
.cfi_endproc
.LFE0:
.size f, .-f
.type g, @function
g:
.LFB1:
.cfi_startproc
subl $4, %esp
.cfi_def_cfa_offset 8
movl $1, (%esp)
call f
.cfi_def_cfa_offset 4
subl $4, %esp
.cfi_def_cfa_offset 8
addl $1, %eax
addl $4, %esp
.cfi_def_cfa_offset 4
ret
.cfi_endproc
.LFE1:
.size g, .-g
.globl main
.type main, @function
main:
.LFB2:
.cfi_startproc
call g
addl $1, %eax
ret
.cfi_endproc
.LFE2:
.size main, .-main
|
stsp/binutils-ia16
| 2,852
|
gdb/testsuite/gdb.arch/sparc64-regs.S
|
/* Copyright 2017-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
This file is part of the gdb testsuite.
KAT for decoding various sparc64 registers. */
.section ".text"
.align 4
.global main
.type main, #function
main:
call test_ccr
nop
call test_fsr
nop
retl
nop
.size main, .-main
.type test_ccr, #function
test_ccr:
.cfi_startproc
wr %g0, 0x01, %ccr
wr %g0, 0x02, %ccr
wr %g0, 0x03, %ccr
wr %g0, 0x04, %ccr
wr %g0, 0x05, %ccr
wr %g0, 0x06, %ccr
wr %g0, 0x07, %ccr
wr %g0, 0x08, %ccr
wr %g0, 0x09, %ccr
wr %g0, 0x0a, %ccr
wr %g0, 0x0b, %ccr
wr %g0, 0x0c, %ccr
wr %g0, 0x0d, %ccr
wr %g0, 0x0e, %ccr
wr %g0, 0x0f, %ccr
wr %g0, 0x10, %ccr
wr %g0, 0x20, %ccr
wr %g0, 0x30, %ccr
wr %g0, 0x40, %ccr
wr %g0, 0x50, %ccr
wr %g0, 0x60, %ccr
wr %g0, 0x70, %ccr
wr %g0, 0x80, %ccr
wr %g0, 0x90, %ccr
wr %g0, 0xa0, %ccr
wr %g0, 0xb0, %ccr
wr %g0, 0xc0, %ccr
wr %g0, 0xd0, %ccr
wr %g0, 0xe0, %ccr
wr %g0, 0xf0, %ccr
retl
nop
.cfi_endproc
.size test_ccr, .-test_ccr
.type test_fsr, #function
test_fsr:
.cfi_startproc
wr %g0, 4, %fprs
setx flags, %l1, %l0
mov 1, %l1
stx %l1, [%l0]
ldx [%l0], %fsr
sllx %l1, 1, %l1 ! sparc64-regs.exp: after first %fsr
stx %l1, [%l0]
ldx [%l0], %fsr
sllx %l1, 1, %l1
stx %l1, [%l0]
ldx [%l0], %fsr
sllx %l1, 1, %l1
stx %l1, [%l0]
ldx [%l0], %fsr
sllx %l1, 1, %l1
stx %l1, [%l0]
ldx [%l0], %fsr
sllx %l1, 1, %l1
stx %l1, [%l0]
ldx [%l0], %fsr
sllx %l1, 1, %l1
stx %l1, [%l0]
ldx [%l0], %fsr
sllx %l1, 1, %l1
stx %l1, [%l0]
ldx [%l0], %fsr
sllx %l1, 1, %l1
stx %l1, [%l0]
ldx [%l0], %fsr
sllx %l1, 1, %l1
stx %l1, [%l0]
ldx [%l0], %fsr
sllx %l1, 14, %l1 ! move to fsr.tem fields
stx %l1, [%l0]
ldx [%l0], %fsr
sllx %l1, 1, %l1
stx %l1, [%l0]
ldx [%l0], %fsr
sllx %l1, 1, %l1
stx %l1, [%l0]
ldx [%l0], %fsr
sllx %l1, 1, %l1
stx %l1, [%l0]
ldx [%l0], %fsr
sllx %l1, 1, %l1
stx %l1, [%l0]
ldx [%l0], %fsr
sllx %l1, 1, %l1
stx %l1, [%l0]
ldx [%l0], %fsr
sllx %l1, 1, %l1
retl
nop
.cfi_endproc
.size test_fsr, .-test_fsr
.section ".data"
.align 8
flags: .xword 0x0000000000000000
.size flags, .-flags
|
stsp/binutils-ia16
| 1,266
|
gdb/testsuite/gdb.arch/ia64-breakpoint-shadow.S
|
/* Copyright 2009-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
This file is part of the gdb testsuite.
It tests displaced stepping over various insns that require special
handling. */
.text
.align 16
.global main
.proc main
main:
mov r2=r12
mov r14=1
;;
bundle:
/* Store value 1 into `long' variable on stack. */
st8.rel [r2]=r14
/* This long constant requires L-X slot in this bundle. */
movl r14=0x7fffffff
;;
/* Store value 0x7fffffff into `long' variable on stack. */
st8.rel [r2]=r14
mov r14=r0
;;
mov r8=r14
mov r12=r2
br.ret.sptk.many b0
.endp main
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 2,275
|
gdb/testsuite/gdb.arch/gdb1291.s
|
! Copyright 2004-2022 Free Software Foundation, Inc.
!
! This program is free software; you can redistribute it and/or modify
! it under the terms of the GNU General Public License as published by
! the Free Software Foundation; either version 3 of the License, or
! (at your option) any later version.
!
! This program is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with this program. If not, see <http://www.gnu.org/licenses/>.
!
! Please email any bugs, comments, and/or additions to this file to:
! bug-gdb@gnu.org
!
! This file is part of the gdb testsuite.
!
! It was generated using "sh-elf-gcc -S gdb1291.c", using the following
! source file:
!
! #include <stdio.h>
!
! main()
! {
! printf("hello world\n");
! sub1();
! sub2();
! }
! sub1()
! {
! int buf[64];
!
! }
!
! sub2()
! {
! int buf[65];
!
! }
!
! We use a pregenerated assembly file as the test input to avoid possible
! problems with future versions of gcc generating different code.
.file "gdb1291.c"
.text
.section .rodata
.align 2
.LC0:
.string "hello world\n"
.text
.align 1
.global _main
.type _main, @function
_main:
mov.l r14,@-r15
sts.l pr,@-r15
mov r15,r14
mov.l .L2,r1
mov r1,r4
mov.l .L3,r1
jsr @r1
nop
mov.l .L4,r1
jsr @r1
nop
mov.l .L5,r1
jsr @r1
nop
mov r14,r15
lds.l @r15+,pr
mov.l @r15+,r14
rts
nop
.L6:
.align 2
.L2:
.long .LC0
.L3:
.long _printf
.L4:
.long _sub1
.L5:
.long _sub2
.size _main, .-_main
.align 1
.global _sub1
.type _sub1, @function
_sub1:
mov.l r14,@-r15
sts.l pr,@-r15
add #-128,r15
add #-128,r15
mov r15,r14
mov.w .L8,r7
add r7,r14
mov r14,r15
lds.l @r15+,pr
mov.l @r15+,r14
rts
nop
.align 1
.L8:
.short 256
.size _sub1, .-_sub1
.align 1
.global _sub2
.type _sub2, @function
_sub2:
mov.l r14,@-r15
sts.l pr,@-r15
mov.w .L11,r1
sub r1,r15
mov r15,r14
mov.w .L11,r7
add r7,r14
mov r14,r15
lds.l @r15+,pr
mov.l @r15+,r14
rts
nop
.align 1
.L11:
.short 260
.size _sub2, .-_sub2
.ident "GCC: (GNU) 3.5.0 20040204 (experimental)"
|
stsp/binutils-ia16
| 8,904
|
gdb/testsuite/gdb.arch/amd64-tailcall-cxx2.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2012-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This source file was generated by:
g++ -o gdb.arch/amd64-tailcall-cxx2.S gdb.arch/amd64-tailcall-cxx2.cc -Wall -S -dA -O2 -g
Fedora GCC was used here to also test the case of missing DW_AT_linkage_name.
*/
.file "amd64-tailcall-cxx2.cc"
.text
.Ltext0:
.p2align 4,,15
.globl _Z1fi
.type _Z1fi, @function
_Z1fi:
.LFB0:
.file 1 "gdb.arch/amd64-tailcall-cxx2.cc"
# gdb.arch/amd64-tailcall-cxx2.cc:22
.loc 1 22 0
.cfi_startproc
.LVL0:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (FALLTHRU)
# gdb.arch/amd64-tailcall-cxx2.cc:23
.loc 1 23 0
addl $1, %edi
.LVL1:
jmp _Z1gi
.LVL2:
# SUCC: EXIT [100.0%] (ABNORMAL,SIBCALL)
.cfi_endproc
.LFE0:
.size _Z1fi, .-_Z1fi
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0x84 # Length of Compilation Unit Info
.value 0x4 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF0 # DW_AT_producer: "GNU C++ 4.8.0 20130220 (Red Hat 4.8.0-0.14) -mtune=generic -march=x86-64 -g -O2"
.byte 0x4 # DW_AT_language
.long .LASF1 # DW_AT_name: "gdb.arch/amd64-tailcall-cxx2.cc"
.long .LASF2 # DW_AT_comp_dir: ""
.quad .Ltext0 # DW_AT_low_pc
.quad .Letext0-.Ltext0 # DW_AT_high_pc
.long .Ldebug_line0 # DW_AT_stmt_list
.uleb128 0x2 # (DIE (0x2d) DW_TAG_subprogram)
# DW_AT_external
.ascii "f\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-tailcall-cxx2.cc)
.byte 0x15 # DW_AT_decl_line
.long .LASF3 # DW_AT_linkage_name: "_Z1fi"
.quad .LFB0 # DW_AT_low_pc
.quad .LFE0-.LFB0 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
.long 0x71 # DW_AT_sibling
.uleb128 0x3 # (DIE (0x4c) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-tailcall-cxx2.cc)
.byte 0x15 # DW_AT_decl_line
.long 0x71 # DW_AT_type
.long .LLST0 # DW_AT_location
.uleb128 0x4 # (DIE (0x59) DW_TAG_GNU_call_site)
.quad .LVL2 # DW_AT_low_pc
# DW_AT_GNU_tail_call
.long 0x78 # DW_AT_abstract_origin
.uleb128 0x5 # (DIE (0x66) DW_TAG_GNU_call_site_parameter)
.uleb128 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.uleb128 0x5 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x1
.byte 0 # end of children of DIE 0x59
.byte 0 # end of children of DIE 0x2d
.uleb128 0x6 # (DIE (0x71) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
.uleb128 0x7 # (DIE (0x78) DW_TAG_subprogram)
# DW_AT_external
.ascii "g\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-tailcall-cxx2.cc)
.byte 0x12 # DW_AT_decl_line
.long .LASF4 # DW_AT_linkage_name: "_Z1gi"
# DW_AT_declaration
.uleb128 0x8 # (DIE (0x81) DW_TAG_formal_parameter)
.long 0x71 # DW_AT_type
.byte 0 # end of children of DIE 0x78
.byte 0 # end of children of DIE 0xb
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x17 # (DW_FORM_sec_offset)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x6e # (DW_AT_linkage_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x17 # (DW_FORM_sec_offset)
.byte 0
.byte 0
.uleb128 0x4 # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0x1 # DW_children_yes
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x2115 # (DW_AT_GNU_tail_call)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x5 # (abbrev code)
.uleb128 0x410a # (TAG: DW_TAG_GNU_call_site_parameter)
.byte 0 # DW_children_no
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2111 # (DW_AT_GNU_call_site_value)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x6 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0
.byte 0
.uleb128 0x7 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x6e # (DW_AT_linkage_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3c # (DW_AT_declaration)
.uleb128 0x19 # (DW_FORM_flag_present)
.byte 0
.byte 0
.uleb128 0x8 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.byte 0
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.quad .LVL0-.Ltext0 # Location list begin address (*.LLST0)
.quad .LVL1-.Ltext0 # Location list end address (*.LLST0)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL1-.Ltext0 # Location list begin address (*.LLST0)
.quad .LVL2-1-.Ltext0 # Location list end address (*.LLST0)
.value 0x3 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 -1
.byte 0x9f # DW_OP_stack_value
.quad .LVL2-1-.Ltext0 # Location list begin address (*.LLST0)
.quad .LFE0-.Ltext0 # Location list end address (*.LLST0)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST0)
.quad 0 # Location list terminator end (*.LLST0)
.section .debug_aranges,"",@progbits
.long 0x2c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 16 byte boundary
.value 0
.quad .Ltext0 # Address
.quad .Letext0-.Ltext0 # Length
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF0:
.string "GNU C++ 4.8.0 20130220 (Red Hat 4.8.0-0.14) -mtune=generic -march=x86-64 -g -O2"
.LASF2:
.string ""
.LASF3:
.string "_Z1fi"
.LASF1:
.string "gdb.arch/amd64-tailcall-cxx2.cc"
.LASF4:
.string "_Z1gi"
.ident "GCC: (GNU) 4.8.0 20130220 (Red Hat 4.8.0-0.14)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 7,105
|
gdb/testsuite/gdb.arch/powerpc-altivec2.s
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2014-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
.globl func
func:
.long 0x7c60e20e /* lvepxl v3,0,r28 */
.long 0x7e64920e /* lvepxl v19,r4,r18 */
.long 0x7f609a4e /* lvepx v27,0,r19 */
.long 0x7c39924e /* lvepx v1,r25,r18 */
.long 0x7fe0da0a /* lvexbx v31,0,r27 */
.long 0x7f81620a /* lvexbx v28,r1,r12 */
.long 0x7fe0724a /* lvexhx v31,0,r14 */
.long 0x7e30fa4a /* lvexhx v17,r16,r31 */
.long 0x7ec0ea8a /* lvexwx v22,0,r29 */
.long 0x7ef92a8a /* lvexwx v23,r25,r5 */
.long 0x7c60660a /* lvsm v3,0,r12 */
.long 0x7f7d0e0a /* lvsm v27,r29,r1 */
.long 0x7ce036ca /* lvswxl v7,0,r6 */
.long 0x7cf046ca /* lvswxl v7,r16,r8 */
.long 0x7dc094ca /* lvswx v14,0,r18 */
.long 0x7f9c84ca /* lvswx v28,r28,r16 */
.long 0x7f60668a /* lvtlxl v27,0,r12 */
.long 0x7f7c068a /* lvtlxl v27,r28,r0 */
.long 0x7ee0cc8a /* lvtlx v23,0,r25 */
.long 0x7c39748a /* lvtlx v1,r25,r14 */
.long 0x7e80c64a /* lvtrxl v20,0,r24 */
.long 0x7eddc64a /* lvtrxl v22,r29,r24 */
.long 0x7f00444a /* lvtrx v24,0,r8 */
.long 0x7db7e44a /* lvtrx v13,r23,r28 */
.long 0x7d9c60dc /* mvidsplt v12,r28,r12 */
.long 0x7d5b005c /* mviwsplt v10,r27,r0 */
.long 0x7f606e0e /* stvepxl v27,0,r13 */
.long 0x7c42fe0e /* stvepxl v2,r2,r31 */
.long 0x7c60564e /* stvepx v3,0,r10 */
.long 0x7f7c064e /* stvepx v27,r28,r0 */
.long 0x7da0330a /* stvexbx v13,0,r6 */
.long 0x7db91b0a /* stvexbx v13,r25,r3 */
.long 0x7ec00b4a /* stvexhx v22,0,r1 */
.long 0x7e2e534a /* stvexhx v17,r14,r10 */
.long 0x7ea0db8a /* stvexwx v21,0,r27 */
.long 0x7ff20b8a /* stvexwx v31,r18,r1 */
.long 0x7f406f8a /* stvflxl v26,0,r13 */
.long 0x7ecdaf8a /* stvflxl v22,r13,r21 */
.long 0x7ca04d8a /* stvflx v5,0,r9 */
.long 0x7eb80d8a /* stvflx v21,r24,r1 */
.long 0x7da0574a /* stvfrxl v13,0,r10 */
.long 0x7db1cf4a /* stvfrxl v13,r17,r25 */
.long 0x7e20554a /* stvfrx v17,0,r10 */
.long 0x7d0cfd4a /* stvfrx v8,r12,r31 */
.long 0x7e40efca /* stvswxl v18,0,r29 */
.long 0x7f4e47ca /* stvswxl v26,r14,r8 */
.long 0x7c007dca /* stvswx v0,0,r15 */
.long 0x7db73dca /* stvswx v13,r23,r7 */
.long 0x10d18403 /* vabsdub v6,v17,v16 */
.long 0x12b22443 /* vabsduh v21,v18,v4 */
.long 0x13344c83 /* vabsduw v25,v20,v9 */
.long 0x10d1a6ad /* vpermxor v6,v17,v20,v26 */
.long 0x13ba7f3c /* vaddeuqm v29,v26,v15,v28 */
.long 0x11e83e3d /* vaddecuq v15,v8,v7,v24 */
.long 0x1046a87e /* vsubeuqm v2,v6,v21,v1 */
.long 0x13a6013f /* vsubecuq v29,v6,v0,v4 */
.long 0x11c91888 /* vmulouw v14,v9,v3 */
.long 0x13109089 /* vmuluwm v24,v16,v18 */
.long 0x115188c0 /* vaddudm v10,v17,v17 */
.long 0x13d920c2 /* vmaxud v30,v25,v4 */
.long 0x1146e0c4 /* vrld v10,v6,v28 */
.long 0x136738c7 /* vcmpequd v27,v7,v7 */
.long 0x12d0c900 /* vadduqm v22,v16,v25 */
.long 0x1035e940 /* vaddcuq v1,v21,v29 */
.long 0x128b9988 /* vmulosw v20,v11,v19 */
.long 0x131309c2 /* vmaxsd v24,v19,v1 */
.long 0x11bbf288 /* vmuleuw v13,v27,v30 */
.long 0x11388ac2 /* vminud v9,v24,v17 */
.long 0x1152e2c7 /* vcmpgtud v10,v18,v28 */
.long 0x101db388 /* vmulesw v0,v29,v22 */
.long 0x11bc0bc2 /* vminsd v13,v28,v1 */
.long 0x11542bc4 /* vsrad v10,v20,v5 */
.long 0x13752bc7 /* vcmpgtsd v27,v21,v5 */
.long 0x1017f601 /* bcdadd. v0,v23,v30,1 */
.long 0x1338d408 /* vpmsumb v25,v24,v26 */
.long 0x11042641 /* bcdsub. v8,v4,v4,1 */
.long 0x120ed448 /* vpmsumh v16,v14,v26 */
.long 0x1362d44e /* vpkudum v27,v2,v26 */
.long 0x10d78c88 /* vpmsumw v6,v23,v17 */
.long 0x1286ccc8 /* vpmsumd v20,v6,v25 */
.long 0x137684ce /* vpkudus v27,v22,v16 */
.long 0x12b494c0 /* vsubudm v21,v20,v18 */
.long 0x12b49500 /* vsubuqm v21,v20,v18 */
.long 0x13bd3508 /* vcipher v29,v29,v6 */
.long 0x104da509 /* vcipherlast v2,v13,v20 */
.long 0x1280950c /* vgbbd v20,v18 */
.long 0x1268cd40 /* vsubcuq v19,v8,v25 */
.long 0x113aed44 /* vorc v9,v26,v29 */
.long 0x12946d48 /* vncipher v20,v20,v13 */
.long 0x11e5dd49 /* vncipherlast v15,v5,v27 */
.long 0x1073354c /* vbpermq v3,v19,v6 */
.long 0x13c4e54e /* vpksdus v30,v4,v28 */
.long 0x10047584 /* vnand v0,v4,v14 */
.long 0x1228edc4 /* vsld v17,v8,v29 */
.long 0x13b405c8 /* vsbox v29,v20 */
.long 0x11675dce /* vpksdss v11,v7,v11 */
.long 0x107384c7 /* vcmpequd. v3,v19,v16 */
.long 0x12408e4e /* vupkhsw v18,v17 */
.long 0x13a86e82 /* vshasigmaw v29,v8,0,13 */
.long 0x12fcd684 /* veqv v23,v28,v26 */
.long 0x13a0178c /* vmrgew v29,v0,v2 */
.long 0x13a0168c /* vmrgow v29,v0,v2 */
.long 0x137306c2 /* vshasigmad v27,v19,0,0 */
.long 0x129ce6c4 /* vsrd v20,v28,v28 */
.long 0x1240aece /* vupklsw v18,v21 */
.long 0x13c03f02 /* vclzb v30,v7 */
.long 0x13a0af03 /* vpopcntb v29,v21 */
.long 0x1320af42 /* vclzh v25,v21 */
.long 0x1200f743 /* vpopcnth v16,v30 */
.long 0x13801f82 /* vclzw v28,v3 */
.long 0x11404f83 /* vpopcntw v10,v9 */
.long 0x12c04fc2 /* vclzd v22,v9 */
.long 0x11e0f7c3 /* vpopcntd v15,v30 */
.long 0x105f36c7 /* vcmpgtud. v2,v31,v6 */
.long 0x128f17c7 /* vcmpgtsd. v20,v15,v2 */
|
stsp/binutils-ia16
| 10,973
|
gdb/testsuite/gdb.arch/amd64-tailcall-cxx1.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2012-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This source file was generated by:
g++ -o gdb.arch/amd64-tailcall-cxx1.S gdb.arch/amd64-tailcall-cxx1.cc -Wall -S -dA -O2 -g
Fedora GCC was used here to also test the case of missing DW_AT_linkage_name.
*/
.file "amd64-tailcall-cxx1.cc"
.text
.Ltext0:
.p2align 4,,15
.globl _Z1gi
.type _Z1gi, @function
_Z1gi:
.LFB0:
.file 1 "gdb.arch/amd64-tailcall-cxx1.cc"
# gdb.arch/amd64-tailcall-cxx1.cc:22
.loc 1 22 0
.cfi_startproc
.LVL0:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (FALLTHRU)
# gdb.arch/amd64-tailcall-cxx1.cc:23
.loc 1 23 0
movl %edi, v(%rip)
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE0:
.size _Z1gi, .-_Z1gi
.section .text.startup,"ax",@progbits
.p2align 4,,15
.globl main
.type main, @function
main:
.LFB1:
# gdb.arch/amd64-tailcall-cxx1.cc:30
.loc 1 30 0
.cfi_startproc
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (FALLTHRU)
subq $8, %rsp
.cfi_def_cfa_offset 16
# gdb.arch/amd64-tailcall-cxx1.cc:31
.loc 1 31 0
movl $1, %edi
call _Z1fi
.LVL1:
# gdb.arch/amd64-tailcall-cxx1.cc:32
.loc 1 32 0
xorl %eax, %eax
addq $8, %rsp
.cfi_def_cfa_offset 8
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE1:
.size main, .-main
.globl v
.bss
.align 4
.type v, @object
.size v, 4
v:
.zero 4
.text
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0xb4 # Length of Compilation Unit Info
.value 0x4 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF1 # DW_AT_producer: "GNU C++ 4.8.0 20130220 (Red Hat 4.8.0-0.14) -mtune=generic -march=x86-64 -g -O2"
.byte 0x4 # DW_AT_language
.long .LASF2 # DW_AT_name: "gdb.arch/amd64-tailcall-cxx1.cc"
.long .LASF3 # DW_AT_comp_dir: ""
.long .Ldebug_ranges0+0 # DW_AT_ranges
.quad 0 # DW_AT_low_pc
.long .Ldebug_line0 # DW_AT_stmt_list
.uleb128 0x2 # (DIE (0x29) DW_TAG_subprogram)
# DW_AT_external
.ascii "g\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-tailcall-cxx1.cc)
.byte 0x15 # DW_AT_decl_line
.long .LASF4 # DW_AT_linkage_name: "_Z1gi"
.quad .LFB0 # DW_AT_low_pc
.quad .LFE0-.LFB0 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
.long 0x54 # DW_AT_sibling
.uleb128 0x3 # (DIE (0x48) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-tailcall-cxx1.cc)
.byte 0x15 # DW_AT_decl_line
.long 0x54 # DW_AT_type
.uleb128 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0 # end of children of DIE 0x29
.uleb128 0x4 # (DIE (0x54) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
.uleb128 0x5 # (DIE (0x5b) DW_TAG_subprogram)
# DW_AT_external
.long .LASF0 # DW_AT_name: "main"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-tailcall-cxx1.cc)
.byte 0x1d # DW_AT_decl_line
.long 0x54 # DW_AT_type
.quad .LFB1 # DW_AT_low_pc
.quad .LFE1-.LFB1 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
.long 0x90 # DW_AT_sibling
.uleb128 0x6 # (DIE (0x7c) DW_TAG_GNU_call_site)
.quad .LVL1 # DW_AT_low_pc
.long 0xa8 # DW_AT_abstract_origin
.uleb128 0x7 # (DIE (0x89) DW_TAG_GNU_call_site_parameter)
.uleb128 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.uleb128 0x1 # DW_AT_GNU_call_site_value
.byte 0x31 # DW_OP_lit1
.byte 0 # end of children of DIE 0x7c
.byte 0 # end of children of DIE 0x5b
.uleb128 0x8 # (DIE (0x90) DW_TAG_variable)
.ascii "v\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-tailcall-cxx1.cc)
.byte 0x12 # DW_AT_decl_line
.long 0xa3 # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad v
.uleb128 0x9 # (DIE (0xa3) DW_TAG_volatile_type)
.long 0x54 # DW_AT_type
.uleb128 0xa # (DIE (0xa8) DW_TAG_subprogram)
# DW_AT_external
.ascii "f\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-tailcall-cxx1.cc)
.byte 0x1a # DW_AT_decl_line
.long .LASF5 # DW_AT_linkage_name: "_Z1fi"
# DW_AT_declaration
.uleb128 0xb # (DIE (0xb1) DW_TAG_formal_parameter)
.long 0x54 # DW_AT_type
.byte 0 # end of children of DIE 0xa8
.byte 0 # end of children of DIE 0xb
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x55 # (DW_AT_ranges)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x17 # (DW_FORM_sec_offset)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x6e # (DW_AT_linkage_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x4 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0
.byte 0
.uleb128 0x5 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x6 # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0x1 # DW_children_yes
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x7 # (abbrev code)
.uleb128 0x410a # (TAG: DW_TAG_GNU_call_site_parameter)
.byte 0 # DW_children_no
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2111 # (DW_AT_GNU_call_site_value)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x8 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x9 # (abbrev code)
.uleb128 0x35 # (TAG: DW_TAG_volatile_type)
.byte 0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xa # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x6e # (DW_AT_linkage_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3c # (DW_AT_declaration)
.uleb128 0x19 # (DW_FORM_flag_present)
.byte 0
.byte 0
.uleb128 0xb # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.byte 0
.section .debug_aranges,"",@progbits
.long 0x3c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 16 byte boundary
.value 0
.quad .Ltext0 # Address
.quad .Letext0-.Ltext0 # Length
.quad .LFB1 # Address
.quad .LFE1-.LFB1 # Length
.quad 0
.quad 0
.section .debug_ranges,"",@progbits
.Ldebug_ranges0:
.quad .Ltext0 # Offset 0
.quad .Letext0
.quad .LFB1 # Offset 0x10
.quad .LFE1
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF4:
.string "_Z1gi"
.LASF3:
.string ""
.LASF2:
.string "gdb.arch/amd64-tailcall-cxx1.cc"
.LASF1:
.string "GNU C++ 4.8.0 20130220 (Red Hat 4.8.0-0.14) -mtune=generic -march=x86-64 -g -O2"
.LASF0:
.string "main"
.LASF5:
.string "_Z1fi"
.ident "GCC: (GNU) 4.8.0 20130220 (Red Hat 4.8.0-0.14)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 1,129
|
gdb/testsuite/gdb.arch/powerpc-lnia.s
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2021-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Test to confirm that gdb properly handles lnia instructions
that load the current PC into a target register when executed
from a displaced location. */
.global main
.type main,function
main:
lnia 3 # /* set r3 */
lnia 4 # /* set r4 */
lnia 5 # /* set r5 */
lnia 6 # /* set r6 */
lnia 7 # /* set r7 */
lnia 8 # /* set r8 */
lnia 9 # /* set r9 */
blr
|
stsp/binutils-ia16
| 2,708
|
gdb/testsuite/gdb.arch/riscv64-unwind-prologue-with-ld-lw-foo.s
|
/* Copyright 2021-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This testcase contains a function where the 'ld', 'c.ld', 'lw' or 'c.lw'
instruction is used in the prologue before the RA register have been saved
on the stack.
This mimics a pattern observed in the __pthread_clockjoin_ex function
in libpthread.so.0 (from glibc-2.33-0ubuntu5) where a canary value is
loaded and placed on the stack in order to detect stack smashing.
The skeleton for this file was generated using the following command:
gcc -x c -S -c -o - - <<EOT
static long int __canary = 42;
extern int bar ();
int foo () { return bar(); }
EOT
The result of this command is modified in the following way:
- The prologue is adapted to reserve 16 more bytes on the stack.
- A part that simulates the installation of a canary on the stack is
added. The canary is loaded multiple times to simulate the use of
various instructions that could do the work (ld or c.ld for a 64 bit
canary, lw or c.lw for a 32 bit canary).
- The epilogue is adjusted to be able to return properly. The epilogue
does not check the canary value since this testcase is only interested
in ensuring GDB can scan the prologue. */
.option pic
.text
.data
.align 3
.type __canary, @object
.size __canary, 8
__canary:
.dword 42
.text
.align 1
.globl foo
.type foo, @function
foo:
addi sp,sp,-32
lla a5,__canary # Load the fake canary address.
lw t4,0(a5) # Load a 32 bit canary (use t4 to force the use of
# the non compressed instruction).
ld t4,0(a5) # Load a 64 bit canary (use t4 to force the use of
# the non compressed instruction).
c.lw a4,0(a5) # Load a 32 bit canary using the compressed insn.
c.ld a4,0(a5) # Load a 64 bit canary using the compressed insn.
sd a4,0(sp) # Place the fake canary on the stack.
sd ra,16(sp)
sd s0,8(sp)
addi s0,sp,32
call bar@plt
mv a5,a0
mv a0,a5
ld ra,16(sp)
ld s0,8(sp)
addi sp,sp,32
jr ra
.size foo, .-foo
|
stsp/binutils-ia16
| 3,255
|
gdb/testsuite/gdb.arch/powerpc-vsx2.s
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2014-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
.globl func
func:
.long 0x7fced019 /* lxsiwzx vs62,r14,r26 */
.long 0x7d00c819 /* lxsiwzx vs40,0,r25 */
.long 0x7f20d098 /* lxsiwax vs25,0,r26 */
.long 0x7c601898 /* lxsiwax vs3,0,r3 */
.long 0x7fcc0066 /* mfvsrd r12,vs30 */
.long 0x7fcc0067 /* mfvsrd r12,vs62 */
.long 0x7d9400e6 /* mffprwz r20,f12 */
.long 0x7d9500e7 /* mfvrwz r21,v12 */
.long 0x7dc97118 /* stxsiwx vs14,r9,r14 */
.long 0x7ea04118 /* stxsiwx vs21,0,r8 */
.long 0x7d7c0166 /* mtvsrd vs11,r28 */
.long 0x7d7d0167 /* mtvsrd vs43,r29 */
.long 0x7f1601a6 /* mtfprwa f24,r22 */
.long 0x7f3701a7 /* mtvrwa v25,r23 */
.long 0x7f5b01e6 /* mtfprwz f26,r27 */
.long 0x7f7c01e7 /* mtvrwz v27,r28 */
.long 0x7db36c18 /* lxsspx vs13,r19,r13 */
.long 0x7e406c18 /* lxsspx vs18,0,r13 */
.long 0x7d622519 /* stxsspx vs43,r2,r4 */
.long 0x7ee05d19 /* stxsspx vs55,0,r11 */
.long 0xf2d0c805 /* xsaddsp vs54,vs48,vs25 */
.long 0xf1d2080c /* xsmaddasp vs14,vs50,vs1 */
.long 0xf3565042 /* xssubsp vs26,vs22,vs42 */
.long 0xf375a04e /* xsmaddmsp vs27,vs53,vs52 */
.long 0xf100d82a /* xsrsqrtesp vs8,vs59 */
.long 0xf180482e /* xssqrtsp vs12,vs41 */
.long 0xf32b0083 /* xsmulsp vs57,vs11,vs32 */
.long 0xf0d4d089 /* xsmsubasp vs38,vs20,vs26 */
.long 0xf35330c0 /* xsdivsp vs26,vs19,vs6 */
.long 0xf065b8cf /* xsmsubmsp vs35,vs37,vs55 */
.long 0xf3604069 /* xsresp vs59,vs8 */
.long 0xf1810c0f /* xsnmaddasp vs44,vs33,vs33 */
.long 0xf23ef44c /* xsnmaddmsp vs17,vs62,vs30 */
.long 0xf2d4fc8d /* xsnmsubasp vs54,vs52,vs31 */
.long 0xf0a5d4cb /* xsnmsubmsp vs37,vs5,vs58 */
.long 0xf3d66556 /* xxlorc vs30,vs54,vs44 */
.long 0xf22eed91 /* xxlnand vs49,vs14,vs29 */
.long 0xf3d6f5d1 /* xxleqv vs62,vs22,vs30 */
.long 0xf380b42f /* xscvdpspn vs60,vs54 */
.long 0xf2c06c66 /* xsrsp vs22,vs45 */
.long 0xf340dca2 /* xscvuxdsp vs26,vs59 */
.long 0xf0c08ce3 /* xscvsxdsp vs38,vs49 */
.long 0xf360d52d /* xscvspdpn vs59,vs26 */
.long 0xff0e168c /* fmrgow f24,f14,f2 */
.long 0xfec72f8c /* fmrgew f22,f7,f5 */
|
stsp/binutils-ia16
| 1,079
|
gdb/testsuite/gdb.arch/pa64-nullify.s
|
.LEVEL 2.0w
.text
.align 8
.globl foo
.type foo, @function
foo:
.PROC
.CALLINFO FRAME=64,NO_CALLS,SAVE_SP,ENTRY_GR=3
.ENTRY
copy %r3,%r1
copy %r30,%r3
std,ma %r1,64(%r30)
std %r3,-8(%r30)
ldo -64(%r29),%r28
stw %r26,0(%r28)
ldw 0(%r28),%r28
extrd,s %r28,63,32,%r28
ldo 64(%r3),%r30
ldd,mb -64(%r30),%r3
nop
bve,n (%r2)
.EXIT
.PROCEND
.align 8
.globl bar
.type bar, @function
bar:
.PROC
.CALLINFO FRAME=64,NO_CALLS,SAVE_SP,ENTRY_GR=3
.ENTRY
copy %r3,%r1
copy %r30,%r3
std,ma %r1,64(%r30)
std %r3,-8(%r30)
ldo 64(%r3),%r30
ldd,mb -64(%r30),%r3
bve,n (%r2)
.EXIT
.PROCEND
.align 8
.globl main
.type main, @function
main:
.PROC
.CALLINFO FRAME=128,CALLS,SAVE_RP,SAVE_SP,ENTRY_GR=4
.ENTRY
std %r2,-16(%r30)
copy %r3,%r1
copy %r30,%r3
std,ma %r1,128(%r30)
std %r3,-8(%r30)
std %r4,8(%r3)
ldo -64(%r29),%r28
stw %r26,0(%r28)
std %r25,8(%r28)
ldw 0(%r28),%r26
ldo -48(%r30),%r29
copy %r27,%r4
b,l foo,%r2
nop
copy %r4,%r27
ldd -16(%r3),%r2
ldd 8(%r3),%r4
ldo 64(%r3),%r30
ldd,mb -64(%r30),%r3
bve,n (%r2)
.EXIT
.PROCEND
|
stsp/binutils-ia16
| 1,247
|
gdb/testsuite/gdb.arch/ppc64-atomic-inst.S
|
/* This file is part of GDB, the GNU debugger.
Copyright 2008-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.align 2
.globl main
#if _CALL_ELF == 2
.type main,@function
main:
#else
.section ".opd","aw"
.align 3
main:
.quad .main,.TOC.@tocbase,0
.size main,.-main
.previous
.globl .main
.type .main,@function
.main:
#endif
li 0,0
addi 4,1,-8
stw 0,0(4)
1: lwarx 5,0,4
cmpwi 5,0
bne 2f
addi 5,5,1
stwcx. 5,0,4
bne 1b
std 0,0(4)
2: ldarx 5,0,4
cmpdi 5,0
bne 3f
addi 5,5,1
stdcx. 5,0,4
bne 1b
3: li 3,0
blr
#if _CALL_ELF == 2
.size main,.-main
#else
.size .main,.-.main
#endif
|
stsp/binutils-ia16
| 10,306
|
gdb/testsuite/gdb.arch/amd64-tailcall-ret.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2012-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This source file was generated by:
gcc -o gdb.arch/amd64-tailcall-ret.S gdb.arch/amd64-tailcall-ret.c -Wall -S -dA -O2 -g
*/
.file "amd64-tailcall-ret.c"
.text
.Ltext0:
.p2align 4,,15
.type g, @function
g:
.LFB0:
.file 1 "gdb.arch/amd64-tailcall-ret.c"
# gdb.arch/amd64-tailcall-ret.c:22
.loc 1 22 0
.cfi_startproc
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-tailcall-ret.c:23
.loc 1 23 0
movl $2, v(%rip)
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE0:
.size g, .-g
.p2align 4,,15
.type f, @function
f:
.LFB1:
# gdb.arch/amd64-tailcall-ret.c:28
.loc 1 28 0
.cfi_startproc
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-tailcall-ret.c:29
.loc 1 29 0
jmp g
# SUCC: EXIT [100.0%] (ab,sibcall)
.LVL0:
.cfi_endproc
.LFE1:
.size f, .-f
.section .text.startup,"ax",@progbits
.p2align 4,,15
.globl main
.type main, @function
main:
.LFB2:
# gdb.arch/amd64-tailcall-ret.c:34
.loc 1 34 0
.cfi_startproc
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-tailcall-ret.c:35
.loc 1 35 0
call f
.LVL1:
# gdb.arch/amd64-tailcall-ret.c:36
.loc 1 36 0
call f
.LVL2:
# gdb.arch/amd64-tailcall-ret.c:37
.loc 1 37 0
movl $3, v(%rip)
# gdb.arch/amd64-tailcall-ret.c:39
.loc 1 39 0
xorl %eax, %eax
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE2:
.size main, .-main
.comm v,4,4
.text
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0xd5 # Length of Compilation Unit Info
.value 0x2 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF0 # DW_AT_producer: "GNU C 4.7.2 20120911 (prerelease)"
.byte 0x1 # DW_AT_language
.long .LASF1 # DW_AT_name: "gdb.arch/amd64-tailcall-ret.c"
.long .LASF2 # DW_AT_comp_dir: ""
.long .Ldebug_ranges0+0 # DW_AT_ranges
.quad 0 # DW_AT_low_pc
.quad 0 # DW_AT_entry_pc
.long .Ldebug_line0 # DW_AT_stmt_list
.uleb128 0x2 # (DIE (0x31) DW_TAG_subprogram)
.ascii "g\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-tailcall-ret.c)
.byte 0x15 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.quad .LFB0 # DW_AT_low_pc
.quad .LFE0 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.uleb128 0x3 # (DIE (0x4b) DW_TAG_subprogram)
.ascii "f\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-tailcall-ret.c)
.byte 0x1b # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.quad .LFB1 # DW_AT_low_pc
.quad .LFE1 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x78 # DW_AT_sibling
.uleb128 0x4 # (DIE (0x69) DW_TAG_GNU_call_site)
.quad .LVL0 # DW_AT_low_pc
.byte 0x1 # DW_AT_GNU_tail_call
.long 0x31 # DW_AT_abstract_origin
.byte 0 # end of children of DIE 0x4b
.uleb128 0x5 # (DIE (0x78) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF3 # DW_AT_name: "main"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-tailcall-ret.c)
.byte 0x21 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0xb8 # DW_AT_type
.quad .LFB2 # DW_AT_low_pc
.quad .LFE2 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0xb8 # DW_AT_sibling
.uleb128 0x6 # (DIE (0x9d) DW_TAG_GNU_call_site)
.quad .LVL1 # DW_AT_low_pc
.long 0x4b # DW_AT_abstract_origin
.uleb128 0x6 # (DIE (0xaa) DW_TAG_GNU_call_site)
.quad .LVL2 # DW_AT_low_pc
.long 0x4b # DW_AT_abstract_origin
.byte 0 # end of children of DIE 0x78
.uleb128 0x7 # (DIE (0xb8) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
.uleb128 0x8 # (DIE (0xbf) DW_TAG_variable)
.ascii "v\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-tailcall-ret.c)
.byte 0x12 # DW_AT_decl_line
.long 0xd3 # DW_AT_type
.byte 0x1 # DW_AT_external
.byte 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad v
.uleb128 0x9 # (DIE (0xd3) DW_TAG_volatile_type)
.long 0xb8 # DW_AT_type
.byte 0 # end of children of DIE 0xb
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x55 # (DW_AT_ranges)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x52 # (DW_AT_entry_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x6 # (DW_FORM_data4)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0xa # (DW_FORM_block1)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0xa # (DW_FORM_block1)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x4 # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0 # DW_children_no
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x2115 # (DW_AT_GNU_tail_call)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x5 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0xa # (DW_FORM_block1)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x6 # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0 # DW_children_no
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x7 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0
.byte 0
.uleb128 0x8 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0x9 # (abbrev code)
.uleb128 0x35 # (TAG: DW_TAG_volatile_type)
.byte 0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.byte 0
.section .debug_aranges,"",@progbits
.long 0x3c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 16 byte boundary
.value 0
.quad .Ltext0 # Address
.quad .Letext0-.Ltext0 # Length
.quad .LFB2 # Address
.quad .LFE2-.LFB2 # Length
.quad 0
.quad 0
.section .debug_ranges,"",@progbits
.Ldebug_ranges0:
.quad .Ltext0 # Offset 0
.quad .Letext0
.quad .LFB2 # Offset 0x10
.quad .LFE2
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF0:
.string "GNU C 4.7.2 20120911 (prerelease)"
.LASF1:
.string "gdb.arch/amd64-tailcall-ret.c"
.LASF2:
.string ""
.LASF3:
.string "main"
.ident "GCC: (GNU) 4.7.2 20120911 (prerelease)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 1,034
|
gdb/testsuite/gdb.arch/s390-stackless.S
|
/* Copyright 2015-2022 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
.align 8
.globl main
.type main, @function
/* Ensure an invalid stack pointer and link register. Don't
use zero, since that may be handled specially. */
main: la %r15,3(0,0)
la %r14,1(0,0)
j 1f
.size main, .-main
/* Outside any function. */
.byte 0,1
1: st %r15,0(%r15)
br %r14
|
stsp/binutils-ia16
| 2,182
|
gdb/testsuite/gdb.arch/i386-stap-eval-lang-ada.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2014-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This file has been generated using the following command:
gcc -m32 -S i386-stap-eval-lang-ada.c -o i386-stap-eval-lang-ada.S
The important thing about this is that the probe argument (below)
should be exactly "-4@-4(%ebp)" in order to trigger the bug. */
.file "i386-stap-eval-lang-ada.c"
.text
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp
.cfi_def_cfa_register 5
subl $16, %esp
movl $40, -4(%ebp)
#APP
# 27 "i386-stap-eval-lang-ada.c" 1
990: nop
.pushsection .note.stapsdt,"?","note"
.balign 4
.4byte 992f-991f,994f-993f,3
991: .asciz "stapsdt"
992: .balign 4
993: .4byte 990b
.4byte _.stapsdt.base
.4byte 0
.asciz "foo"
.asciz "bar"
/* The following probe argument should be "-4@-4(%ebp)", or some other
register displacement expression that references %ebp, otherwise the
bug will not trigger. */
.asciz "-4@-4(%ebp)"
994: .balign 4
.popsection
# 0 "" 2
# 27 "i386-stap-eval-lang-ada.c" 1
.ifndef _.stapsdt.base
.pushsection .stapsdt.base,"aG","progbits",.stapsdt.base,comdat
.weak _.stapsdt.base
.hidden _.stapsdt.base
_.stapsdt.base: .space 1
.size _.stapsdt.base,1
.popsection
.endif
# 0 "" 2
#NO_APP
movl $0, %eax
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE0:
.size main, .-main
.ident "GCC: (GNU) 4.8.3 20140911 (Red Hat 4.8.3-7)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 115,083
|
gdb/testsuite/gdb.arch/amd64-entry-value.s
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2011-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This file is compiled from gdb.arch/amd64-entry-value.c
using -g -dA -S -O2. */
.file "amd64-entry-value.cc"
.text
.Ltext0:
.p2align 4,,15
.type _ZL1eid, @function
_ZL1eid:
.LFB0:
.file 1 "gdb.arch/amd64-entry-value.cc"
# gdb.arch/amd64-entry-value.cc:22
.loc 1 22 0
.cfi_startproc
.LVL0:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:23
.loc 1 23 0
movl $0, _ZL1v(%rip)
# SUCC: EXIT [100.0%]
# gdb.arch/amd64-entry-value.cc:24
.loc 1 24 0
ret
.cfi_endproc
.LFE0:
.size _ZL1eid, .-_ZL1eid
.p2align 4,,15
.type _ZL1did, @function
_ZL1did:
.LFB1:
# gdb.arch/amd64-entry-value.cc:28
.loc 1 28 0
.cfi_startproc
.LVL1:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:30
.loc 1 30 0
addsd .LC0(%rip), %xmm0
.LVL2:
# gdb.arch/amd64-entry-value.cc:29
.loc 1 29 0
addl $1, %edi
.LVL3:
# gdb.arch/amd64-entry-value.cc:31
.loc 1 31 0
call _ZL1eid
.LVL4:
# gdb.arch/amd64-entry-value.cc:32
.loc 1 32 0
movl _ZL1v(%rip), %eax
movl _ZL1v(%rip), %edi
cvtsi2sd %eax, %xmm0
call _ZL1eid
.LVL5:
# gdb.arch/amd64-entry-value.cc:33
.loc 1 33 0
#APP
# 33 "gdb.arch/amd64-entry-value.cc" 1
breakhere:
# 0 "" 2
# gdb.arch/amd64-entry-value.cc:34
.loc 1 34 0
#NO_APP
movl _ZL1v(%rip), %eax
movl _ZL1v(%rip), %edi
cvtsi2sd %eax, %xmm0
jmp _ZL1eid
# SUCC: EXIT [100.0%] (ab,sibcall)
.LVL6:
.cfi_endproc
.LFE1:
.size _ZL1did, .-_ZL1did
.p2align 4,,15
.type _ZL7locexpri, @function
_ZL7locexpri:
.LFB2:
# gdb.arch/amd64-entry-value.cc:39
.loc 1 39 0
.cfi_startproc
.LVL7:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:41
.loc 1 41 0
#APP
# 41 "gdb.arch/amd64-entry-value.cc" 1
breakhere_locexpr:
# 0 "" 2
# SUCC: EXIT [100.0%]
# gdb.arch/amd64-entry-value.cc:42
.loc 1 42 0
#NO_APP
ret
.cfi_endproc
.LFE2:
.size _ZL7locexpri, .-_ZL7locexpri
.p2align 4,,15
.type _ZL1cid, @function
_ZL1cid:
.LFB3:
# gdb.arch/amd64-entry-value.cc:46
.loc 1 46 0
.cfi_startproc
.LVL8:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:47
.loc 1 47 0
mulsd .LC1(%rip), %xmm0
.LVL9:
leal (%rdi,%rdi,4), %edi
.LVL10:
addl %edi, %edi
jmp _ZL1did
# SUCC: EXIT [100.0%] (ab,sibcall)
.LVL11:
.cfi_endproc
.LFE3:
.size _ZL1cid, .-_ZL1cid
.p2align 4,,15
.type _ZL1aid, @function
_ZL1aid:
.LFB4:
# gdb.arch/amd64-entry-value.cc:52
.loc 1 52 0
.cfi_startproc
.LVL12:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:53
.loc 1 53 0
addsd .LC0(%rip), %xmm0
.LVL13:
addl $1, %edi
.LVL14:
jmp _ZL1cid
.LVL15:
# SUCC: EXIT [100.0%] (ab,sibcall)
.cfi_endproc
.LFE4:
.size _ZL1aid, .-_ZL1aid
.p2align 4,,15
.type _ZL1bid, @function
_ZL1bid:
.LFB5:
# gdb.arch/amd64-entry-value.cc:58
.loc 1 58 0
.cfi_startproc
.LVL16:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:59
.loc 1 59 0
addsd .LC2(%rip), %xmm0
.LVL17:
addl $2, %edi
.LVL18:
jmp _ZL1cid
.LVL19:
# SUCC: EXIT [100.0%] (ab,sibcall)
.cfi_endproc
.LFE5:
.size _ZL1bid, .-_ZL1bid
.p2align 4,,15
.type _ZL5amb_zi, @function
_ZL5amb_zi:
.LFB6:
# gdb.arch/amd64-entry-value.cc:64
.loc 1 64 0
.cfi_startproc
.LVL20:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:65
.loc 1 65 0
cvtsi2sd %edi, %xmm0
addl $7, %edi
.LVL21:
addsd .LC3(%rip), %xmm0
jmp _ZL1did
.LVL22:
# SUCC: EXIT [100.0%] (ab,sibcall)
.cfi_endproc
.LFE6:
.size _ZL5amb_zi, .-_ZL5amb_zi
.p2align 4,,15
.type _ZL5amb_yi, @function
_ZL5amb_yi:
.LFB7:
# gdb.arch/amd64-entry-value.cc:70
.loc 1 70 0
.cfi_startproc
.LVL23:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:71
.loc 1 71 0
addl $6, %edi
.LVL24:
jmp _ZL5amb_zi
.LVL25:
# SUCC: EXIT [100.0%] (ab,sibcall)
.cfi_endproc
.LFE7:
.size _ZL5amb_yi, .-_ZL5amb_yi
.p2align 4,,15
.type _ZL5amb_xi, @function
_ZL5amb_xi:
.LFB8:
# gdb.arch/amd64-entry-value.cc:76
.loc 1 76 0
.cfi_startproc
.LVL26:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:77
.loc 1 77 0
addl $5, %edi
.LVL27:
jmp _ZL5amb_yi
.LVL28:
# SUCC: EXIT [100.0%] (ab,sibcall)
.cfi_endproc
.LFE8:
.size _ZL5amb_xi, .-_ZL5amb_xi
.p2align 4,,15
.type _ZL3ambi, @function
_ZL3ambi:
.LFB9:
# gdb.arch/amd64-entry-value.cc:82
.loc 1 82 0
.cfi_startproc
.LVL29:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:83
.loc 1 83 0
testl %edi, %edi
# SUCC: 4 [19.1%] (can_fallthru) 3 [80.9%] (fallthru,can_fallthru)
js .L13
# BLOCK 3 freq:8088 seq:1
# PRED: 2 [80.9%] (fallthru,can_fallthru)
# gdb.arch/amd64-entry-value.cc:86
.loc 1 86 0
addl $4, %edi
.LVL30:
jmp _ZL5amb_xi
.LVL31:
# SUCC: EXIT [100.0%] (ab,sibcall)
# BLOCK 4 freq:1912 seq:2
# PRED: 2 [19.1%] (can_fallthru)
.L13:
# gdb.arch/amd64-entry-value.cc:84
.loc 1 84 0
addl $3, %edi
.LVL32:
jmp _ZL5amb_xi
.LVL33:
# SUCC: EXIT [100.0%] (ab,sibcall)
.cfi_endproc
.LFE9:
.size _ZL3ambi, .-_ZL3ambi
.p2align 4,,15
.type _ZL5amb_bi, @function
_ZL5amb_bi:
.LFB10:
# gdb.arch/amd64-entry-value.cc:91
.loc 1 91 0
.cfi_startproc
.LVL34:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:92
.loc 1 92 0
addl $2, %edi
.LVL35:
jmp _ZL3ambi
.LVL36:
# SUCC: EXIT [100.0%] (ab,sibcall)
.cfi_endproc
.LFE10:
.size _ZL5amb_bi, .-_ZL5amb_bi
.p2align 4,,15
.type _ZL5amb_ai, @function
_ZL5amb_ai:
.LFB11:
# gdb.arch/amd64-entry-value.cc:97
.loc 1 97 0
.cfi_startproc
.LVL37:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:98
.loc 1 98 0
addl $1, %edi
.LVL38:
jmp _ZL5amb_bi
.LVL39:
# SUCC: EXIT [100.0%] (ab,sibcall)
.cfi_endproc
.LFE11:
.size _ZL5amb_ai, .-_ZL5amb_ai
.p2align 4,,15
.type _ZL4selfi, @function
_ZL4selfi:
.LFB13:
# gdb.arch/amd64-entry-value.cc:111
.loc 1 111 0
.cfi_startproc
.LVL40:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:112
.loc 1 112 0
cmpl $200, %edi
# gdb.arch/amd64-entry-value.cc:111
.loc 1 111 0
pushq %rbx
.LCFI0:
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
# gdb.arch/amd64-entry-value.cc:111
.loc 1 111 0
movl %edi, %ebx
# SUCC: 4 [19.9%] (can_fallthru) 3 [80.1%] (fallthru,can_fallthru)
# gdb.arch/amd64-entry-value.cc:112
.loc 1 112 0
je .L18
# BLOCK 3 freq:8009 seq:1
# PRED: 2 [80.1%] (fallthru,can_fallthru)
# gdb.arch/amd64-entry-value.cc:119
.loc 1 119 0
movl _ZL1v(%rip), %eax
movl _ZL1v(%rip), %edi
.LVL41:
cvtsi2sd %eax, %xmm0
call _ZL1eid
.LVL42:
# gdb.arch/amd64-entry-value.cc:120
.loc 1 120 0
cvtsi2sd %ebx, %xmm0
leal 2(%rbx), %edi
# gdb.arch/amd64-entry-value.cc:122
.loc 1 122 0
popq %rbx
.LCFI1:
.cfi_remember_state
.cfi_def_cfa_offset 8
.LVL43:
# gdb.arch/amd64-entry-value.cc:120
.loc 1 120 0
addsd .LC4(%rip), %xmm0
jmp _ZL1did
.LVL44:
# SUCC: EXIT [100.0%] (ab,sibcall)
# BLOCK 4 freq:1991 seq:2
# PRED: 2 [19.9%] (can_fallthru)
.p2align 4,,10
.p2align 3
.L18:
.LCFI2:
.cfi_restore_state
# gdb.arch/amd64-entry-value.cc:122
.loc 1 122 0
popq %rbx
.LCFI3:
.cfi_def_cfa_offset 8
.LVL45:
# gdb.arch/amd64-entry-value.cc:115
.loc 1 115 0
movl $201, %edi
.LVL46:
jmp _ZL5self2i
# SUCC: EXIT [100.0%] (ab,sibcall)
.LVL47:
.cfi_endproc
.LFE13:
.size _ZL4selfi, .-_ZL4selfi
.p2align 4,,15
.type _ZL5self2i, @function
_ZL5self2i:
.LFB12:
# gdb.arch/amd64-entry-value.cc:105
.loc 1 105 0
.cfi_startproc
.LVL48:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:106
.loc 1 106 0
jmp _ZL4selfi
.LVL49:
# SUCC: EXIT [100.0%] (ab,sibcall)
.cfi_endproc
.LFE12:
.size _ZL5self2i, .-_ZL5self2i
.p2align 4,,15
.type _ZL9stacktestiiiiiiiidddddddddd, @function
_ZL9stacktestiiiiiiiidddddddddd:
.LFB14:
# gdb.arch/amd64-entry-value.cc:128
.loc 1 128 0
.cfi_startproc
.LVL50:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:133
.loc 1 133 0
movl _ZL1v(%rip), %eax
movl _ZL1v(%rip), %edi
.LVL51:
cvtsi2sd %eax, %xmm0
.LVL52:
call _ZL1eid
.LVL53:
# gdb.arch/amd64-entry-value.cc:134
.loc 1 134 0
#APP
# 134 "gdb.arch/amd64-entry-value.cc" 1
breakhere_stacktest:
# 0 "" 2
# gdb.arch/amd64-entry-value.cc:135
.loc 1 135 0
#NO_APP
movl _ZL1v(%rip), %eax
movl _ZL1v(%rip), %edi
cvtsi2sd %eax, %xmm0
jmp _ZL1eid
# SUCC: EXIT [100.0%] (ab,sibcall)
.LVL54:
.cfi_endproc
.LFE14:
.size _ZL9stacktestiiiiiiiidddddddddd, .-_ZL9stacktestiiiiiiiidddddddddd
.p2align 4,,15
.type _ZL9referenceRiS_iiiiS_S_, @function
_ZL9referenceRiS_iiiiS_S_:
.LFB15:
# gdb.arch/amd64-entry-value.cc:145
.loc 1 145 0
.cfi_startproc
.LVL55:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
.LBB2:
# gdb.arch/amd64-entry-value.cc:151
.loc 1 151 0
movq 8(%rsp), %rax
# gdb.arch/amd64-entry-value.cc:149
.loc 1 149 0
movl $21, (%rdi)
# gdb.arch/amd64-entry-value.cc:150
.loc 1 150 0
movl $22, (%rsi)
# gdb.arch/amd64-entry-value.cc:151
.loc 1 151 0
movl $31, (%rax)
# gdb.arch/amd64-entry-value.cc:152
.loc 1 152 0
movq 16(%rsp), %rax
movl $32, (%rax)
# gdb.arch/amd64-entry-value.cc:153
.loc 1 153 0
movl _ZL1v(%rip), %eax
movl _ZL1v(%rip), %edi
.LVL56:
cvtsi2sd %eax, %xmm0
call _ZL1eid
.LVL57:
# gdb.arch/amd64-entry-value.cc:154
.loc 1 154 0
#APP
# 154 "gdb.arch/amd64-entry-value.cc" 1
breakhere_reference:
# 0 "" 2
# gdb.arch/amd64-entry-value.cc:155
.loc 1 155 0
#NO_APP
movl _ZL1v(%rip), %eax
movl _ZL1v(%rip), %edi
cvtsi2sd %eax, %xmm0
jmp _ZL1eid
# SUCC: EXIT [100.0%] (ab,sibcall)
.LVL58:
.LBE2:
.cfi_endproc
.LFE15:
.size _ZL9referenceRiS_iiiiS_S_, .-_ZL9referenceRiS_iiiiS_S_
.p2align 4,,15
.type _ZL5datapv, @function
_ZL5datapv:
.LFB16:
# gdb.arch/amd64-entry-value.cc:160
.loc 1 160 0
.cfi_startproc
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:164
.loc 1 164 0
movl $_ZZL5datapvE3two, %eax
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE16:
.size _ZL5datapv, .-_ZL5datapv
.p2align 4,,15
.type _ZL11datap_inputPi, @function
_ZL11datap_inputPi:
.LFB17:
# gdb.arch/amd64-entry-value.cc:168
.loc 1 168 0
.cfi_startproc
.LVL59:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:169
.loc 1 169 0
addl $1, (%rdi)
# SUCC: EXIT [100.0%]
# gdb.arch/amd64-entry-value.cc:170
.loc 1 170 0
ret
.cfi_endproc
.LFE17:
.size _ZL11datap_inputPi, .-_ZL11datap_inputPi
.p2align 4,,15
.type _ZL4datav, @function
_ZL4datav:
.LFB18:
# gdb.arch/amd64-entry-value.cc:174
.loc 1 174 0
.cfi_startproc
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:176
.loc 1 176 0
movl $10, %eax
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE18:
.size _ZL4datav, .-_ZL4datav
.p2align 4,,15
.type _ZL5data2v, @function
_ZL5data2v:
.LFB19:
# gdb.arch/amd64-entry-value.cc:180
.loc 1 180 0
.cfi_startproc
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:182
.loc 1 182 0
movl $20, %eax
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE19:
.size _ZL5data2v, .-_ZL5data2v
.p2align 4,,15
.type _ZL9differenti, @function
_ZL9differenti:
.LFB20:
# gdb.arch/amd64-entry-value.cc:186
.loc 1 186 0
.cfi_startproc
.LVL60:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
pushq %rbx
.LCFI4:
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
# gdb.arch/amd64-entry-value.cc:187
.loc 1 187 0
leal 1(%rdi), %ebx
.LVL61:
# gdb.arch/amd64-entry-value.cc:188
.loc 1 188 0
cvtsi2sd %ebx, %xmm0
movl %ebx, %edi
call _ZL1eid
.LVL62:
# gdb.arch/amd64-entry-value.cc:189
.loc 1 189 0
#APP
# 189 "gdb.arch/amd64-entry-value.cc" 1
breakhere_different:
# 0 "" 2
# gdb.arch/amd64-entry-value.cc:191
.loc 1 191 0
#NO_APP
movl %ebx, %eax
popq %rbx
.LCFI5:
.cfi_def_cfa_offset 8
.LVL63:
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE20:
.size _ZL9differenti, .-_ZL9differenti
.p2align 4,,15
.type _ZL8validityii, @function
_ZL8validityii:
.LFB21:
# gdb.arch/amd64-entry-value.cc:195
.loc 1 195 0
.cfi_startproc
.LVL64:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:197
.loc 1 197 0
xorpd %xmm0, %xmm0
# gdb.arch/amd64-entry-value.cc:195
.loc 1 195 0
pushq %rbx
.LCFI6:
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
# gdb.arch/amd64-entry-value.cc:197
.loc 1 197 0
xorl %edi, %edi
# gdb.arch/amd64-entry-value.cc:195
.loc 1 195 0
movl %esi, %ebx
# gdb.arch/amd64-entry-value.cc:197
.loc 1 197 0
call _ZL1eid
.LVL65:
# gdb.arch/amd64-entry-value.cc:198
.loc 1 198 0
#APP
# 198 "gdb.arch/amd64-entry-value.cc" 1
breakhere_validity:
# 0 "" 2
# gdb.arch/amd64-entry-value.cc:200
.loc 1 200 0
#NO_APP
movl %ebx, %eax
popq %rbx
.LCFI7:
.cfi_def_cfa_offset 8
.LVL66:
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE21:
.size _ZL8validityii, .-_ZL8validityii
.p2align 4,,15
.type _ZL7invalidi, @function
_ZL7invalidi:
.LFB22:
# gdb.arch/amd64-entry-value.cc:204
.loc 1 204 0
.cfi_startproc
.LVL67:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-entry-value.cc:205
.loc 1 205 0
xorpd %xmm0, %xmm0
xorl %edi, %edi
.LVL68:
call _ZL1eid
.LVL69:
# gdb.arch/amd64-entry-value.cc:206
.loc 1 206 0
#APP
# 206 "gdb.arch/amd64-entry-value.cc" 1
breakhere_invalid:
# 0 "" 2
# SUCC: EXIT [100.0%]
# gdb.arch/amd64-entry-value.cc:207
.loc 1 207 0
#NO_APP
ret
.cfi_endproc
.LFE22:
.size _ZL7invalidi, .-_ZL7invalidi
.section .text.startup,"ax",@progbits
.p2align 4,,15
.globl main
.type main, @function
main:
.LFB23:
# gdb.arch/amd64-entry-value.cc:211
.loc 1 211 0
.cfi_startproc
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
pushq %rbx
.LCFI8:
.cfi_def_cfa_offset 16
.LBB3:
# gdb.arch/amd64-entry-value.cc:212
.loc 1 212 0
movl $30, %edi
.LBE3:
# gdb.arch/amd64-entry-value.cc:211
.loc 1 211 0
subq $48, %rsp
.LCFI9:
.cfi_def_cfa_offset 64
.cfi_offset 3, -16
.LBB5:
# gdb.arch/amd64-entry-value.cc:212
.loc 1 212 0
movsd .LC6(%rip), %xmm0
call _ZL1did
.LVL70:
# gdb.arch/amd64-entry-value.cc:213
.loc 1 213 0
movl $30, %edi
call _ZL7locexpri
.LVL71:
# gdb.arch/amd64-entry-value.cc:215
.loc 1 215 0
movsd .LC7(%rip), %xmm7
movabsq $4623226492472524800, %rax
movsd .LC3(%rip), %xmm6
movabsq $4622663542519103488, %rdx
movsd .LC8(%rip), %xmm5
movl $6, %r9d
movsd .LC9(%rip), %xmm4
movl $5, %r8d
movsd .LC10(%rip), %xmm3
movl $4, %ecx
movsd .LC11(%rip), %xmm2
movl $2, %esi
movsd .LC4(%rip), %xmm1
movq %rax, 24(%rsp)
movsd .LC12(%rip), %xmm0
movq %rdx, 16(%rsp)
movl $1, %edi
movl $3, %edx
movl $12, 8(%rsp)
movl $11, (%rsp)
call _ZL9stacktestiiiiiiiidddddddddd
.LVL72:
# gdb.arch/amd64-entry-value.cc:216
.loc 1 216 0
movl $5, %edi
call _ZL9differenti
.LVL73:
# gdb.arch/amd64-entry-value.cc:217
.loc 1 217 0
call _ZL4datav
.LVL74:
movl $5, %edi
movl %eax, %esi
call _ZL8validityii
.LVL75:
# gdb.arch/amd64-entry-value.cc:218
.loc 1 218 0
call _ZL5data2v
.LVL76:
movl %eax, %edi
call _ZL7invalidi
.LVL77:
.LBB4:
# gdb.arch/amd64-entry-value.cc:221
.loc 1 221 0
movl $1, 36(%rsp)
.LVL78:
call _ZL5datapv
.LVL79:
movq %rax, %rbx
.LVL80:
# gdb.arch/amd64-entry-value.cc:222
.loc 1 222 0
leaq 44(%rsp), %rax
.LVL81:
leaq 36(%rsp), %rdi
movl $6, %r9d
movl $5, %r8d
movl $4, %ecx
movq %rax, 8(%rsp)
leaq 40(%rsp), %rax
movl $3, %edx
movq %rbx, %rsi
# gdb.arch/amd64-entry-value.cc:221
.loc 1 221 0
movl $11, 40(%rsp)
.LVL82:
movl $12, 44(%rsp)
.LVL83:
# gdb.arch/amd64-entry-value.cc:222
.loc 1 222 0
movq %rax, (%rsp)
call _ZL9referenceRiS_iiiiS_S_
.LVL84:
# gdb.arch/amd64-entry-value.cc:223
.loc 1 223 0
movq %rbx, %rdi
call _ZL11datap_inputPi
.LVL85:
.LBE4:
# gdb.arch/amd64-entry-value.cc:226
.loc 1 226 0
movl _ZL1v(%rip), %eax
testl %eax, %eax
# SUCC: 5 [39.0%] (can_fallthru) 3 [61.0%] (fallthru,can_fallthru)
jne .L32
# BLOCK 3 freq:6100 seq:1
# PRED: 2 [61.0%] (fallthru,can_fallthru)
# gdb.arch/amd64-entry-value.cc:229
.loc 1 229 0
movsd .LC16(%rip), %xmm0
movl $5, %edi
call _ZL1bid
# SUCC: 4 [100.0%] (fallthru,can_fallthru)
.LVL86:
# BLOCK 4 freq:10000 seq:2
# PRED: 3 [100.0%] (fallthru,can_fallthru) 5 [100.0%]
.L31:
# gdb.arch/amd64-entry-value.cc:230
.loc 1 230 0
movl $100, %edi
call _ZL5amb_ai
.LVL87:
# gdb.arch/amd64-entry-value.cc:231
.loc 1 231 0
movl $200, %edi
call _ZL4selfi
.LVL88:
.LBE5:
# gdb.arch/amd64-entry-value.cc:233
.loc 1 233 0
addq $48, %rsp
.LCFI10:
.cfi_remember_state
.cfi_def_cfa_offset 16
xorl %eax, %eax
popq %rbx
.LCFI11:
.cfi_def_cfa_offset 8
.LVL89:
# SUCC: EXIT [100.0%]
ret
.LVL90:
# BLOCK 5 freq:3900 seq:3
# PRED: 2 [39.0%] (can_fallthru)
.L32:
.LCFI12:
.cfi_restore_state
.LBB6:
# gdb.arch/amd64-entry-value.cc:227
.loc 1 227 0
movsd .LC15(%rip), %xmm0
movl $1, %edi
call _ZL1aid
.LVL91:
# SUCC: 4 [100.0%]
jmp .L31
.LBE6:
.cfi_endproc
.LFE23:
.size main, .-main
.local _ZL1v
.comm _ZL1v,4,4
.data
.align 4
.type _ZZL5datapvE3two, @object
.size _ZZL5datapvE3two, 4
_ZZL5datapvE3two:
.long 2
.section .rodata.cst8,"aM",@progbits,8
.align 8
.LC0:
.long 0
.long 1072693248
.align 8
.LC1:
.long 0
.long 1076101120
.align 8
.LC2:
.long 0
.long 1073741824
.align 8
.LC3:
.long 0
.long 1075707904
.align 8
.LC4:
.long 0
.long 1074003968
.align 8
.LC6:
.long 0
.long 1077837824
.align 8
.LC7:
.long 0
.long 1075904512
.align 8
.LC8:
.long 0
.long 1075445760
.align 8
.LC9:
.long 0
.long 1075183616
.align 8
.LC10:
.long 0
.long 1074921472
.align 8
.LC11:
.long 0
.long 1074528256
.align 8
.LC12:
.long 0
.long 1073217536
.align 8
.LC15:
.long 0
.long 1072955392
.align 8
.LC16:
.long 0
.long 1075118080
.text
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0xba0 # Length of Compilation Unit Info
.value 0x2 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF1 # DW_AT_producer: "GNU C++ 4.7.0 20110912 (experimental)"
.byte 0x4 # DW_AT_language
.long .LASF2 # DW_AT_name: "gdb.arch/amd64-entry-value.cc"
.long .LASF3 # DW_AT_comp_dir: ""
.long .Ldebug_ranges0+0 # DW_AT_ranges
.quad 0 # DW_AT_low_pc
.quad 0 # DW_AT_entry_pc
.long .Ldebug_line0 # DW_AT_stmt_list
.uleb128 0x2 # (DIE (0x31) DW_TAG_base_type)
.byte 0x8 # DW_AT_byte_size
.byte 0x4 # DW_AT_encoding
.long .LASF0 # DW_AT_name: "double"
.uleb128 0x3 # (DIE (0x38) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
.uleb128 0x4 # (DIE (0x3f) DW_TAG_subprogram)
.ascii "e\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x15 # DW_AT_decl_line
.quad .LFB0 # DW_AT_low_pc
.quad .LFE0 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x73 # DW_AT_sibling
.uleb128 0x5 # (DIE (0x5c) DW_TAG_formal_parameter)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x15 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.uleb128 0x5 # (DIE (0x67) DW_TAG_formal_parameter)
.ascii "j\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x15 # DW_AT_decl_line
.long 0x31 # DW_AT_type
.byte 0x1 # DW_AT_location
.byte 0x61 # DW_OP_reg17
.byte 0 # end of children of DIE 0x3f
.uleb128 0x4 # (DIE (0x73) DW_TAG_subprogram)
.ascii "d\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x1b # DW_AT_decl_line
.quad .LFB1 # DW_AT_low_pc
.quad .LFE1 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0xf6 # DW_AT_sibling
.uleb128 0x6 # (DIE (0x90) DW_TAG_formal_parameter)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x1b # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST0 # DW_AT_location
.uleb128 0x6 # (DIE (0x9d) DW_TAG_formal_parameter)
.ascii "j\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x1b # DW_AT_decl_line
.long 0x31 # DW_AT_type
.long .LLST1 # DW_AT_location
.uleb128 0x7 # (DIE (0xaa) DW_TAG_GNU_call_site)
.quad .LVL4 # DW_AT_low_pc
.long 0x3f # DW_AT_abstract_origin
.long 0xda # DW_AT_sibling
.uleb128 0x8 # (DIE (0xbb) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x5 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x1
.uleb128 0x8 # (DIE (0xc4) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x61 # DW_OP_reg17
.byte 0x11 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x3
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x11
.uleb128 0x31
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x3ff00000 # fp or vector constant word 1
.byte 0x22 # DW_OP_plus
.byte 0 # end of children of DIE 0xaa
.uleb128 0x9 # (DIE (0xda) DW_TAG_GNU_call_site)
.quad .LVL5 # DW_AT_low_pc
.long 0x3f # DW_AT_abstract_origin
.uleb128 0xa # (DIE (0xe7) DW_TAG_GNU_call_site)
.quad .LVL6 # DW_AT_low_pc
.byte 0x1 # DW_AT_GNU_tail_call
.long 0x3f # DW_AT_abstract_origin
.byte 0 # end of children of DIE 0x73
.uleb128 0xb # (DIE (0xf6) DW_TAG_subprogram)
.long .LASF4 # DW_AT_name: "locexpr"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x26 # DW_AT_decl_line
.quad .LFB2 # DW_AT_low_pc
.quad .LFE2 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x121 # DW_AT_sibling
.uleb128 0x5 # (DIE (0x115) DW_TAG_formal_parameter)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x26 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0 # end of children of DIE 0xf6
.uleb128 0x4 # (DIE (0x121) DW_TAG_subprogram)
.ascii "c\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x2d # DW_AT_decl_line
.quad .LFB3 # DW_AT_low_pc
.quad .LFE3 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x188 # DW_AT_sibling
.uleb128 0x6 # (DIE (0x13e) DW_TAG_formal_parameter)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x2d # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST2 # DW_AT_location
.uleb128 0x6 # (DIE (0x14b) DW_TAG_formal_parameter)
.ascii "j\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x2d # DW_AT_decl_line
.long 0x31 # DW_AT_type
.long .LLST3 # DW_AT_location
.uleb128 0xc # (DIE (0x158) DW_TAG_GNU_call_site)
.quad .LVL11 # DW_AT_low_pc
.byte 0x1 # DW_AT_GNU_tail_call
.long 0x73 # DW_AT_abstract_origin
.uleb128 0x8 # (DIE (0x166) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x7 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x35 # DW_OP_lit5
.byte 0x1e # DW_OP_mul
.byte 0x31 # DW_OP_lit1
.byte 0x24 # DW_OP_shl
.uleb128 0x8 # (DIE (0x171) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x61 # DW_OP_reg17
.byte 0x11 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x3
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x11
.uleb128 0x31
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x40240000 # fp or vector constant word 1
.byte 0x1e # DW_OP_mul
.byte 0 # end of children of DIE 0x158
.byte 0 # end of children of DIE 0x121
.uleb128 0x4 # (DIE (0x188) DW_TAG_subprogram)
.ascii "a\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x33 # DW_AT_decl_line
.quad .LFB4 # DW_AT_low_pc
.quad .LFE4 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x1ed # DW_AT_sibling
.uleb128 0x6 # (DIE (0x1a5) DW_TAG_formal_parameter)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x33 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST4 # DW_AT_location
.uleb128 0x6 # (DIE (0x1b2) DW_TAG_formal_parameter)
.ascii "j\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x33 # DW_AT_decl_line
.long 0x31 # DW_AT_type
.long .LLST5 # DW_AT_location
.uleb128 0xc # (DIE (0x1bf) DW_TAG_GNU_call_site)
.quad .LVL15 # DW_AT_low_pc
.byte 0x1 # DW_AT_GNU_tail_call
.long 0x121 # DW_AT_abstract_origin
.uleb128 0x8 # (DIE (0x1cd) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x5 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x1
.uleb128 0x8 # (DIE (0x1d6) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x61 # DW_OP_reg17
.byte 0x11 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x3
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x11
.uleb128 0x31
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x3ff00000 # fp or vector constant word 1
.byte 0x22 # DW_OP_plus
.byte 0 # end of children of DIE 0x1bf
.byte 0 # end of children of DIE 0x188
.uleb128 0x4 # (DIE (0x1ed) DW_TAG_subprogram)
.ascii "b\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x39 # DW_AT_decl_line
.quad .LFB5 # DW_AT_low_pc
.quad .LFE5 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x252 # DW_AT_sibling
.uleb128 0x6 # (DIE (0x20a) DW_TAG_formal_parameter)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x39 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST6 # DW_AT_location
.uleb128 0x6 # (DIE (0x217) DW_TAG_formal_parameter)
.ascii "j\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x39 # DW_AT_decl_line
.long 0x31 # DW_AT_type
.long .LLST7 # DW_AT_location
.uleb128 0xc # (DIE (0x224) DW_TAG_GNU_call_site)
.quad .LVL19 # DW_AT_low_pc
.byte 0x1 # DW_AT_GNU_tail_call
.long 0x121 # DW_AT_abstract_origin
.uleb128 0x8 # (DIE (0x232) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x5 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x2
.uleb128 0x8 # (DIE (0x23b) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x61 # DW_OP_reg17
.byte 0x11 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x3
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x11
.uleb128 0x31
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x40000000 # fp or vector constant word 1
.byte 0x22 # DW_OP_plus
.byte 0 # end of children of DIE 0x224
.byte 0 # end of children of DIE 0x1ed
.uleb128 0xb # (DIE (0x252) DW_TAG_subprogram)
.long .LASF5 # DW_AT_name: "amb_z"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x3f # DW_AT_decl_line
.quad .LFB6 # DW_AT_low_pc
.quad .LFE6 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x2ae # DW_AT_sibling
.uleb128 0x6 # (DIE (0x271) DW_TAG_formal_parameter)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x3f # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST8 # DW_AT_location
.uleb128 0xc # (DIE (0x27e) DW_TAG_GNU_call_site)
.quad .LVL22 # DW_AT_low_pc
.byte 0x1 # DW_AT_GNU_tail_call
.long 0x73 # DW_AT_abstract_origin
.uleb128 0x8 # (DIE (0x28c) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x5 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x7
.uleb128 0x8 # (DIE (0x295) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x61 # DW_OP_reg17
.byte 0x13 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x38
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x31
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x401e0000 # fp or vector constant word 1
.byte 0x22 # DW_OP_plus
.byte 0 # end of children of DIE 0x27e
.byte 0 # end of children of DIE 0x252
.uleb128 0xb # (DIE (0x2ae) DW_TAG_subprogram)
.long .LASF6 # DW_AT_name: "amb_y"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x45 # DW_AT_decl_line
.quad .LFB7 # DW_AT_low_pc
.quad .LFE7 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x2f3 # DW_AT_sibling
.uleb128 0x6 # (DIE (0x2cd) DW_TAG_formal_parameter)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x45 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST9 # DW_AT_location
.uleb128 0xc # (DIE (0x2da) DW_TAG_GNU_call_site)
.quad .LVL25 # DW_AT_low_pc
.byte 0x1 # DW_AT_GNU_tail_call
.long 0x252 # DW_AT_abstract_origin
.uleb128 0x8 # (DIE (0x2e8) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x5 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x6
.byte 0 # end of children of DIE 0x2da
.byte 0 # end of children of DIE 0x2ae
.uleb128 0xb # (DIE (0x2f3) DW_TAG_subprogram)
.long .LASF7 # DW_AT_name: "amb_x"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x4b # DW_AT_decl_line
.quad .LFB8 # DW_AT_low_pc
.quad .LFE8 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x338 # DW_AT_sibling
.uleb128 0x6 # (DIE (0x312) DW_TAG_formal_parameter)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x4b # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST10 # DW_AT_location
.uleb128 0xc # (DIE (0x31f) DW_TAG_GNU_call_site)
.quad .LVL28 # DW_AT_low_pc
.byte 0x1 # DW_AT_GNU_tail_call
.long 0x2ae # DW_AT_abstract_origin
.uleb128 0x8 # (DIE (0x32d) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x5 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x5
.byte 0 # end of children of DIE 0x31f
.byte 0 # end of children of DIE 0x2f3
.uleb128 0x4 # (DIE (0x338) DW_TAG_subprogram)
.ascii "amb\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x51 # DW_AT_decl_line
.quad .LFB9 # DW_AT_low_pc
.quad .LFE9 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x399 # DW_AT_sibling
.uleb128 0x6 # (DIE (0x357) DW_TAG_formal_parameter)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x51 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST11 # DW_AT_location
.uleb128 0xd # (DIE (0x364) DW_TAG_GNU_call_site)
.quad .LVL31 # DW_AT_low_pc
.byte 0x1 # DW_AT_GNU_tail_call
.long 0x2f3 # DW_AT_abstract_origin
.long 0x380 # DW_AT_sibling
.uleb128 0x8 # (DIE (0x376) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x5 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x4
.byte 0 # end of children of DIE 0x364
.uleb128 0xc # (DIE (0x380) DW_TAG_GNU_call_site)
.quad .LVL33 # DW_AT_low_pc
.byte 0x1 # DW_AT_GNU_tail_call
.long 0x2f3 # DW_AT_abstract_origin
.uleb128 0x8 # (DIE (0x38e) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x5 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x3
.byte 0 # end of children of DIE 0x380
.byte 0 # end of children of DIE 0x338
.uleb128 0xb # (DIE (0x399) DW_TAG_subprogram)
.long .LASF8 # DW_AT_name: "amb_b"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x5a # DW_AT_decl_line
.quad .LFB10 # DW_AT_low_pc
.quad .LFE10 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x3de # DW_AT_sibling
.uleb128 0x6 # (DIE (0x3b8) DW_TAG_formal_parameter)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x5a # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST12 # DW_AT_location
.uleb128 0xc # (DIE (0x3c5) DW_TAG_GNU_call_site)
.quad .LVL36 # DW_AT_low_pc
.byte 0x1 # DW_AT_GNU_tail_call
.long 0x338 # DW_AT_abstract_origin
.uleb128 0x8 # (DIE (0x3d3) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x5 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x2
.byte 0 # end of children of DIE 0x3c5
.byte 0 # end of children of DIE 0x399
.uleb128 0xb # (DIE (0x3de) DW_TAG_subprogram)
.long .LASF9 # DW_AT_name: "amb_a"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x60 # DW_AT_decl_line
.quad .LFB11 # DW_AT_low_pc
.quad .LFE11 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x423 # DW_AT_sibling
.uleb128 0x6 # (DIE (0x3fd) DW_TAG_formal_parameter)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x60 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST13 # DW_AT_location
.uleb128 0xc # (DIE (0x40a) DW_TAG_GNU_call_site)
.quad .LVL39 # DW_AT_low_pc
.byte 0x1 # DW_AT_GNU_tail_call
.long 0x399 # DW_AT_abstract_origin
.uleb128 0x8 # (DIE (0x418) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x5 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x1
.byte 0 # end of children of DIE 0x40a
.byte 0 # end of children of DIE 0x3de
.uleb128 0xe # (DIE (0x423) DW_TAG_subprogram)
.long .LASF10 # DW_AT_name: "self"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x6e # DW_AT_decl_line
.quad .LFB13 # DW_AT_low_pc
.quad .LFE13 # DW_AT_high_pc
.long .LLST14 # DW_AT_frame_base
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x4a6 # DW_AT_sibling
.uleb128 0x6 # (DIE (0x443) DW_TAG_formal_parameter)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x6e # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST15 # DW_AT_location
.uleb128 0x9 # (DIE (0x450) DW_TAG_GNU_call_site)
.quad .LVL42 # DW_AT_low_pc
.long 0x3f # DW_AT_abstract_origin
.uleb128 0xd # (DIE (0x45d) DW_TAG_GNU_call_site)
.quad .LVL44 # DW_AT_low_pc
.byte 0x1 # DW_AT_GNU_tail_call
.long 0x73 # DW_AT_abstract_origin
.long 0x490 # DW_AT_sibling
.uleb128 0x8 # (DIE (0x46f) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x5 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x2
.uleb128 0x8 # (DIE (0x478) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x61 # DW_OP_reg17
.byte 0x13 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x38
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x31
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x40040000 # fp or vector constant word 1
.byte 0x22 # DW_OP_plus
.byte 0 # end of children of DIE 0x45d
.uleb128 0xc # (DIE (0x490) DW_TAG_GNU_call_site)
.quad .LVL47 # DW_AT_low_pc
.byte 0x1 # DW_AT_GNU_tail_call
.long 0x4a6 # DW_AT_abstract_origin
.uleb128 0x8 # (DIE (0x49e) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x2 # DW_AT_GNU_call_site_value
.byte 0x8 # DW_OP_const1u
.byte 0xc9
.byte 0 # end of children of DIE 0x490
.byte 0 # end of children of DIE 0x423
.uleb128 0xb # (DIE (0x4a6) DW_TAG_subprogram)
.long .LASF11 # DW_AT_name: "self2"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x68 # DW_AT_decl_line
.quad .LFB12 # DW_AT_low_pc
.quad .LFE12 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x4e9 # DW_AT_sibling
.uleb128 0x6 # (DIE (0x4c5) DW_TAG_formal_parameter)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x68 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST16 # DW_AT_location
.uleb128 0xc # (DIE (0x4d2) DW_TAG_GNU_call_site)
.quad .LVL49 # DW_AT_low_pc
.byte 0x1 # DW_AT_GNU_tail_call
.long 0x423 # DW_AT_abstract_origin
.uleb128 0x8 # (DIE (0x4e0) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x3 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0 # end of children of DIE 0x4d2
.byte 0 # end of children of DIE 0x4a6
.uleb128 0xb # (DIE (0x4e9) DW_TAG_subprogram)
.long .LASF12 # DW_AT_name: "stacktest"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x7d # DW_AT_decl_line
.quad .LFB14 # DW_AT_low_pc
.quad .LFE14 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x620 # DW_AT_sibling
.uleb128 0x6 # (DIE (0x508) DW_TAG_formal_parameter)
.ascii "r1\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x7d # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST17 # DW_AT_location
.uleb128 0x6 # (DIE (0x516) DW_TAG_formal_parameter)
.ascii "r2\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x7d # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST18 # DW_AT_location
.uleb128 0x6 # (DIE (0x524) DW_TAG_formal_parameter)
.ascii "r3\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x7d # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST19 # DW_AT_location
.uleb128 0x6 # (DIE (0x532) DW_TAG_formal_parameter)
.ascii "r4\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x7d # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST20 # DW_AT_location
.uleb128 0x6 # (DIE (0x540) DW_TAG_formal_parameter)
.ascii "r5\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x7d # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST21 # DW_AT_location
.uleb128 0x6 # (DIE (0x54e) DW_TAG_formal_parameter)
.ascii "r6\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x7d # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST22 # DW_AT_location
.uleb128 0x6 # (DIE (0x55c) DW_TAG_formal_parameter)
.ascii "s1\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x7d # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST23 # DW_AT_location
.uleb128 0x6 # (DIE (0x56a) DW_TAG_formal_parameter)
.ascii "s2\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x7d # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST24 # DW_AT_location
.uleb128 0x6 # (DIE (0x578) DW_TAG_formal_parameter)
.ascii "d1\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x7e # DW_AT_decl_line
.long 0x31 # DW_AT_type
.long .LLST25 # DW_AT_location
.uleb128 0x6 # (DIE (0x586) DW_TAG_formal_parameter)
.ascii "d2\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x7e # DW_AT_decl_line
.long 0x31 # DW_AT_type
.long .LLST26 # DW_AT_location
.uleb128 0x6 # (DIE (0x594) DW_TAG_formal_parameter)
.ascii "d3\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x7e # DW_AT_decl_line
.long 0x31 # DW_AT_type
.long .LLST27 # DW_AT_location
.uleb128 0x6 # (DIE (0x5a2) DW_TAG_formal_parameter)
.ascii "d4\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x7e # DW_AT_decl_line
.long 0x31 # DW_AT_type
.long .LLST28 # DW_AT_location
.uleb128 0x6 # (DIE (0x5b0) DW_TAG_formal_parameter)
.ascii "d5\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x7e # DW_AT_decl_line
.long 0x31 # DW_AT_type
.long .LLST29 # DW_AT_location
.uleb128 0x6 # (DIE (0x5be) DW_TAG_formal_parameter)
.ascii "d6\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x7e # DW_AT_decl_line
.long 0x31 # DW_AT_type
.long .LLST30 # DW_AT_location
.uleb128 0x6 # (DIE (0x5cc) DW_TAG_formal_parameter)
.ascii "d7\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x7f # DW_AT_decl_line
.long 0x31 # DW_AT_type
.long .LLST31 # DW_AT_location
.uleb128 0x6 # (DIE (0x5da) DW_TAG_formal_parameter)
.ascii "d8\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x7f # DW_AT_decl_line
.long 0x31 # DW_AT_type
.long .LLST32 # DW_AT_location
.uleb128 0x6 # (DIE (0x5e8) DW_TAG_formal_parameter)
.ascii "d9\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x7f # DW_AT_decl_line
.long 0x31 # DW_AT_type
.long .LLST33 # DW_AT_location
.uleb128 0x6 # (DIE (0x5f6) DW_TAG_formal_parameter)
.ascii "da\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x7f # DW_AT_decl_line
.long 0x31 # DW_AT_type
.long .LLST34 # DW_AT_location
.uleb128 0x9 # (DIE (0x604) DW_TAG_GNU_call_site)
.quad .LVL53 # DW_AT_low_pc
.long 0x3f # DW_AT_abstract_origin
.uleb128 0xa # (DIE (0x611) DW_TAG_GNU_call_site)
.quad .LVL54 # DW_AT_low_pc
.byte 0x1 # DW_AT_GNU_tail_call
.long 0x3f # DW_AT_abstract_origin
.byte 0 # end of children of DIE 0x4e9
.uleb128 0xb # (DIE (0x620) DW_TAG_subprogram)
.long .LASF13 # DW_AT_name: "reference"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x8f # DW_AT_decl_line
.quad .LFB15 # DW_AT_low_pc
.quad .LFE15 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x723 # DW_AT_sibling
.uleb128 0xf # (DIE (0x63f) DW_TAG_formal_parameter)
.long .LASF14 # DW_AT_name: "regparam"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x8f # DW_AT_decl_line
.long 0x723 # DW_AT_type
.long .LLST35 # DW_AT_location
.uleb128 0xf # (DIE (0x64e) DW_TAG_formal_parameter)
.long .LASF15 # DW_AT_name: "nodataparam"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x8f # DW_AT_decl_line
.long 0x72e # DW_AT_type
.long .LLST36 # DW_AT_location
.uleb128 0x6 # (DIE (0x65d) DW_TAG_formal_parameter)
.ascii "r3\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x8f # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST37 # DW_AT_location
.uleb128 0x6 # (DIE (0x66b) DW_TAG_formal_parameter)
.ascii "r4\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x8f # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST38 # DW_AT_location
.uleb128 0x6 # (DIE (0x679) DW_TAG_formal_parameter)
.ascii "r5\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x8f # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST39 # DW_AT_location
.uleb128 0x6 # (DIE (0x687) DW_TAG_formal_parameter)
.ascii "r6\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x8f # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST40 # DW_AT_location
.uleb128 0x10 # (DIE (0x695) DW_TAG_formal_parameter)
.long .LASF16 # DW_AT_name: "stackparam1"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x90 # DW_AT_decl_line
.long 0x733 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.uleb128 0x10 # (DIE (0x6a3) DW_TAG_formal_parameter)
.long .LASF17 # DW_AT_name: "stackparam2"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x90 # DW_AT_decl_line
.long 0x738 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 8
.uleb128 0x11 # (DIE (0x6b1) DW_TAG_lexical_block)
.quad .LBB2 # DW_AT_low_pc
.quad .LBE2 # DW_AT_high_pc
.uleb128 0x12 # (DIE (0x6c2) DW_TAG_variable)
.long .LASF18 # DW_AT_name: "regcopy"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x92 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.byte 0x7 # DW_AT_location
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x4
.byte 0x75 # DW_OP_breg5
.sleb128 0
.byte 0x94 # DW_OP_deref_size
.byte 0x4
.byte 0x9f # DW_OP_stack_value
.uleb128 0x12 # (DIE (0x6d5) DW_TAG_variable)
.long .LASF19 # DW_AT_name: "nodatacopy"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x92 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.byte 0x7 # DW_AT_location
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x4
.byte 0x74 # DW_OP_breg4
.sleb128 0
.byte 0x94 # DW_OP_deref_size
.byte 0x4
.byte 0x9f # DW_OP_stack_value
.uleb128 0x13 # (DIE (0x6e8) DW_TAG_variable)
.long .LASF20 # DW_AT_name: "stackcopy1"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x93 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST41 # DW_AT_location
.uleb128 0x13 # (DIE (0x6f7) DW_TAG_variable)
.long .LASF21 # DW_AT_name: "stackcopy2"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x93 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST42 # DW_AT_location
.uleb128 0x9 # (DIE (0x706) DW_TAG_GNU_call_site)
.quad .LVL57 # DW_AT_low_pc
.long 0x3f # DW_AT_abstract_origin
.uleb128 0xa # (DIE (0x713) DW_TAG_GNU_call_site)
.quad .LVL58 # DW_AT_low_pc
.byte 0x1 # DW_AT_GNU_tail_call
.long 0x3f # DW_AT_abstract_origin
.byte 0 # end of children of DIE 0x6b1
.byte 0 # end of children of DIE 0x620
.uleb128 0x14 # (DIE (0x723) DW_TAG_const_type)
.long 0x728 # DW_AT_type
.uleb128 0x15 # (DIE (0x728) DW_TAG_reference_type)
.byte 0x8 # DW_AT_byte_size
.long 0x38 # DW_AT_type
.uleb128 0x14 # (DIE (0x72e) DW_TAG_const_type)
.long 0x728 # DW_AT_type
.uleb128 0x14 # (DIE (0x733) DW_TAG_const_type)
.long 0x728 # DW_AT_type
.uleb128 0x14 # (DIE (0x738) DW_TAG_const_type)
.long 0x728 # DW_AT_type
.uleb128 0x16 # (DIE (0x73d) DW_TAG_subprogram)
.long .LASF23 # DW_AT_name: "datap"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x9f # DW_AT_decl_line
.long 0x75c # DW_AT_type
.quad .LFB16 # DW_AT_low_pc
.quad .LFE16 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.uleb128 0x17 # (DIE (0x75c) DW_TAG_pointer_type)
.byte 0x8 # DW_AT_byte_size
.long 0x38 # DW_AT_type
.uleb128 0xb # (DIE (0x762) DW_TAG_subprogram)
.long .LASF22 # DW_AT_name: "datap_input"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0xa7 # DW_AT_decl_line
.quad .LFB17 # DW_AT_low_pc
.quad .LFE17 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x78f # DW_AT_sibling
.uleb128 0x10 # (DIE (0x781) DW_TAG_formal_parameter)
.long .LASF23 # DW_AT_name: "datap"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0xa7 # DW_AT_decl_line
.long 0x75c # DW_AT_type
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0 # end of children of DIE 0x762
.uleb128 0x16 # (DIE (0x78f) DW_TAG_subprogram)
.long .LASF24 # DW_AT_name: "data"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0xad # DW_AT_decl_line
.long 0x38 # DW_AT_type
.quad .LFB18 # DW_AT_low_pc
.quad .LFE18 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.uleb128 0x16 # (DIE (0x7ae) DW_TAG_subprogram)
.long .LASF25 # DW_AT_name: "data2"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0xb3 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.quad .LFB19 # DW_AT_low_pc
.quad .LFE19 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.uleb128 0x18 # (DIE (0x7cd) DW_TAG_subprogram)
.long .LASF26 # DW_AT_name: "different"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0xb9 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.quad .LFB20 # DW_AT_low_pc
.quad .LFE20 # DW_AT_high_pc
.long .LLST43 # DW_AT_frame_base
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x81f # DW_AT_sibling
.uleb128 0x6 # (DIE (0x7f1) DW_TAG_formal_parameter)
.ascii "val\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0xb9 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST44 # DW_AT_location
.uleb128 0x19 # (DIE (0x800) DW_TAG_GNU_call_site)
.quad .LVL62 # DW_AT_low_pc
.long 0x3f # DW_AT_abstract_origin
.uleb128 0x8 # (DIE (0x80d) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x2 # DW_AT_GNU_call_site_value
.byte 0x73 # DW_OP_breg3
.sleb128 0
.uleb128 0x8 # (DIE (0x813) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x61 # DW_OP_reg17
.byte 0x6 # DW_AT_GNU_call_site_value
.byte 0x73 # DW_OP_breg3
.sleb128 0
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x38
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x31
.byte 0 # end of children of DIE 0x800
.byte 0 # end of children of DIE 0x7cd
.uleb128 0x18 # (DIE (0x81f) DW_TAG_subprogram)
.long .LASF27 # DW_AT_name: "validity"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0xc2 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.quad .LFB21 # DW_AT_low_pc
.quad .LFE21 # DW_AT_high_pc
.long .LLST45 # DW_AT_frame_base
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x884 # DW_AT_sibling
.uleb128 0xf # (DIE (0x843) DW_TAG_formal_parameter)
.long .LASF28 # DW_AT_name: "lost"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0xc2 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST46 # DW_AT_location
.uleb128 0xf # (DIE (0x852) DW_TAG_formal_parameter)
.long .LASF29 # DW_AT_name: "born"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0xc2 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST47 # DW_AT_location
.uleb128 0x19 # (DIE (0x861) DW_TAG_GNU_call_site)
.quad .LVL65 # DW_AT_low_pc
.long 0x3f # DW_AT_abstract_origin
.uleb128 0x8 # (DIE (0x86e) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x30 # DW_OP_lit0
.uleb128 0x8 # (DIE (0x873) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x61 # DW_OP_reg17
.byte 0xb # DW_AT_GNU_call_site_value
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0 # fp or vector constant word 1
.byte 0 # end of children of DIE 0x861
.byte 0 # end of children of DIE 0x81f
.uleb128 0xb # (DIE (0x884) DW_TAG_subprogram)
.long .LASF30 # DW_AT_name: "invalid"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0xcb # DW_AT_decl_line
.quad .LFB22 # DW_AT_low_pc
.quad .LFE22 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x8d5 # DW_AT_sibling
.uleb128 0x6 # (DIE (0x8a3) DW_TAG_formal_parameter)
.ascii "inv\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0xcb # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST48 # DW_AT_location
.uleb128 0x19 # (DIE (0x8b2) DW_TAG_GNU_call_site)
.quad .LVL69 # DW_AT_low_pc
.long 0x3f # DW_AT_abstract_origin
.uleb128 0x8 # (DIE (0x8bf) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x30 # DW_OP_lit0
.uleb128 0x8 # (DIE (0x8c4) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x61 # DW_OP_reg17
.byte 0xb # DW_AT_GNU_call_site_value
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0 # fp or vector constant word 1
.byte 0 # end of children of DIE 0x8b2
.byte 0 # end of children of DIE 0x884
.uleb128 0x1a # (DIE (0x8d5) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF35 # DW_AT_name: "main"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0xd2 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.quad .LFB23 # DW_AT_low_pc
.quad .LFE23 # DW_AT_high_pc
.long .LLST49 # DW_AT_frame_base
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0xb8b # DW_AT_sibling
.uleb128 0x1b # (DIE (0x8fa) DW_TAG_lexical_block)
.quad .LBB4 # DW_AT_low_pc
.quad .LBE4 # DW_AT_high_pc
.long 0x9ac # DW_AT_sibling
.uleb128 0x12 # (DIE (0x90f) DW_TAG_variable)
.long .LASF31 # DW_AT_name: "regvar"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0xdd # DW_AT_decl_line
.long 0x38 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -28
.uleb128 0x13 # (DIE (0x91d) DW_TAG_variable)
.long .LASF32 # DW_AT_name: "nodatavarp"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0xdd # DW_AT_decl_line
.long 0x75c # DW_AT_type
.long .LLST50 # DW_AT_location
.uleb128 0x12 # (DIE (0x92c) DW_TAG_variable)
.long .LASF33 # DW_AT_name: "stackvar1"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0xdd # DW_AT_decl_line
.long 0x38 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -24
.uleb128 0x12 # (DIE (0x93a) DW_TAG_variable)
.long .LASF34 # DW_AT_name: "stackvar2"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0xdd # DW_AT_decl_line
.long 0x38 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -20
.uleb128 0x9 # (DIE (0x948) DW_TAG_GNU_call_site)
.quad .LVL79 # DW_AT_low_pc
.long 0x73d # DW_AT_abstract_origin
.uleb128 0x7 # (DIE (0x955) DW_TAG_GNU_call_site)
.quad .LVL84 # DW_AT_low_pc
.long 0x620 # DW_AT_abstract_origin
.long 0x997 # DW_AT_sibling
.uleb128 0x1c # (DIE (0x966) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x2 # DW_AT_GNU_call_site_value
.byte 0x91 # DW_OP_fbreg
.sleb128 -28
.byte 0x1 # DW_AT_GNU_call_site_data_value
.byte 0x31 # DW_OP_lit1
.uleb128 0x8 # (DIE (0x96e) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x54 # DW_OP_reg4
.byte 0x2 # DW_AT_GNU_call_site_value
.byte 0x73 # DW_OP_breg3
.sleb128 0
.uleb128 0x8 # (DIE (0x974) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x51 # DW_OP_reg1
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x33 # DW_OP_lit3
.uleb128 0x8 # (DIE (0x979) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x52 # DW_OP_reg2
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x34 # DW_OP_lit4
.uleb128 0x8 # (DIE (0x97e) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x58 # DW_OP_reg8
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x35 # DW_OP_lit5
.uleb128 0x8 # (DIE (0x983) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x59 # DW_OP_reg9
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x36 # DW_OP_lit6
.uleb128 0x8 # (DIE (0x988) DW_TAG_GNU_call_site_parameter)
.byte 0x2 # DW_AT_location
.byte 0x77 # DW_OP_breg7
.sleb128 0
.byte 0x2 # DW_AT_GNU_call_site_value
.byte 0x91 # DW_OP_fbreg
.sleb128 -24
.uleb128 0x8 # (DIE (0x98f) DW_TAG_GNU_call_site_parameter)
.byte 0x2 # DW_AT_location
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x2 # DW_AT_GNU_call_site_value
.byte 0x91 # DW_OP_fbreg
.sleb128 -20
.byte 0 # end of children of DIE 0x955
.uleb128 0x19 # (DIE (0x997) DW_TAG_GNU_call_site)
.quad .LVL85 # DW_AT_low_pc
.long 0x762 # DW_AT_abstract_origin
.uleb128 0x8 # (DIE (0x9a4) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x2 # DW_AT_GNU_call_site_value
.byte 0x73 # DW_OP_breg3
.sleb128 0
.byte 0 # end of children of DIE 0x997
.byte 0 # end of children of DIE 0x8fa
.uleb128 0x7 # (DIE (0x9ac) DW_TAG_GNU_call_site)
.quad .LVL70 # DW_AT_low_pc
.long 0x73 # DW_AT_abstract_origin
.long 0x9d2 # DW_AT_sibling
.uleb128 0x8 # (DIE (0x9bd) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x4e # DW_OP_lit30
.uleb128 0x8 # (DIE (0x9c2) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x61 # DW_OP_reg17
.byte 0xb # DW_AT_GNU_call_site_value
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x403e8000 # fp or vector constant word 1
.byte 0 # end of children of DIE 0x9ac
.uleb128 0x7 # (DIE (0x9d2) DW_TAG_GNU_call_site)
.quad .LVL71 # DW_AT_low_pc
.long 0xf6 # DW_AT_abstract_origin
.long 0x9e9 # DW_AT_sibling
.uleb128 0x8 # (DIE (0x9e3) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x4e # DW_OP_lit30
.byte 0 # end of children of DIE 0x9d2
.uleb128 0x7 # (DIE (0x9e9) DW_TAG_GNU_call_site)
.quad .LVL72 # DW_AT_low_pc
.long 0x4e9 # DW_AT_abstract_origin
.long 0xabd # DW_AT_sibling
.uleb128 0x8 # (DIE (0x9fa) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x31 # DW_OP_lit1
.uleb128 0x8 # (DIE (0x9ff) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x54 # DW_OP_reg4
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x32 # DW_OP_lit2
.uleb128 0x8 # (DIE (0xa04) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x51 # DW_OP_reg1
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x33 # DW_OP_lit3
.uleb128 0x8 # (DIE (0xa09) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x52 # DW_OP_reg2
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x34 # DW_OP_lit4
.uleb128 0x8 # (DIE (0xa0e) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x58 # DW_OP_reg8
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x35 # DW_OP_lit5
.uleb128 0x8 # (DIE (0xa13) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x59 # DW_OP_reg9
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x36 # DW_OP_lit6
.uleb128 0x8 # (DIE (0xa18) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x61 # DW_OP_reg17
.byte 0xb # DW_AT_GNU_call_site_value
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x3ff80000 # fp or vector constant word 1
.uleb128 0x8 # (DIE (0xa27) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x62 # DW_OP_reg18
.byte 0xb # DW_AT_GNU_call_site_value
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x40040000 # fp or vector constant word 1
.uleb128 0x8 # (DIE (0xa36) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x63 # DW_OP_reg19
.byte 0xb # DW_AT_GNU_call_site_value
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x400c0000 # fp or vector constant word 1
.uleb128 0x8 # (DIE (0xa45) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x64 # DW_OP_reg20
.byte 0xb # DW_AT_GNU_call_site_value
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x40120000 # fp or vector constant word 1
.uleb128 0x8 # (DIE (0xa54) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x65 # DW_OP_reg21
.byte 0xb # DW_AT_GNU_call_site_value
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x40160000 # fp or vector constant word 1
.uleb128 0x8 # (DIE (0xa63) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x66 # DW_OP_reg22
.byte 0xb # DW_AT_GNU_call_site_value
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x401a0000 # fp or vector constant word 1
.uleb128 0x8 # (DIE (0xa72) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x67 # DW_OP_reg23
.byte 0xb # DW_AT_GNU_call_site_value
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x401e0000 # fp or vector constant word 1
.uleb128 0x8 # (DIE (0xa81) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x68 # DW_OP_reg24
.byte 0xb # DW_AT_GNU_call_site_value
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x40210000 # fp or vector constant word 1
.uleb128 0x8 # (DIE (0xa90) DW_TAG_GNU_call_site_parameter)
.byte 0x2 # DW_AT_location
.byte 0x77 # DW_OP_breg7
.sleb128 0
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x3b # DW_OP_lit11
.uleb128 0x8 # (DIE (0xa96) DW_TAG_GNU_call_site_parameter)
.byte 0x2 # DW_AT_location
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x3c # DW_OP_lit12
.uleb128 0x8 # (DIE (0xa9c) DW_TAG_GNU_call_site_parameter)
.byte 0x2 # DW_AT_location
.byte 0x77 # DW_OP_breg7
.sleb128 16
.byte 0xb # DW_AT_GNU_call_site_value
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x40270000 # fp or vector constant word 1
.uleb128 0x8 # (DIE (0xaac) DW_TAG_GNU_call_site_parameter)
.byte 0x2 # DW_AT_location
.byte 0x77 # DW_OP_breg7
.sleb128 24
.byte 0xb # DW_AT_GNU_call_site_value
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x40290000 # fp or vector constant word 1
.byte 0 # end of children of DIE 0x9e9
.uleb128 0x7 # (DIE (0xabd) DW_TAG_GNU_call_site)
.quad .LVL73 # DW_AT_low_pc
.long 0x7cd # DW_AT_abstract_origin
.long 0xad4 # DW_AT_sibling
.uleb128 0x8 # (DIE (0xace) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x35 # DW_OP_lit5
.byte 0 # end of children of DIE 0xabd
.uleb128 0x9 # (DIE (0xad4) DW_TAG_GNU_call_site)
.quad .LVL74 # DW_AT_low_pc
.long 0x78f # DW_AT_abstract_origin
.uleb128 0x7 # (DIE (0xae1) DW_TAG_GNU_call_site)
.quad .LVL75 # DW_AT_low_pc
.long 0x81f # DW_AT_abstract_origin
.long 0xaf8 # DW_AT_sibling
.uleb128 0x8 # (DIE (0xaf2) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x35 # DW_OP_lit5
.byte 0 # end of children of DIE 0xae1
.uleb128 0x9 # (DIE (0xaf8) DW_TAG_GNU_call_site)
.quad .LVL76 # DW_AT_low_pc
.long 0x7ae # DW_AT_abstract_origin
.uleb128 0x9 # (DIE (0xb05) DW_TAG_GNU_call_site)
.quad .LVL77 # DW_AT_low_pc
.long 0x884 # DW_AT_abstract_origin
.uleb128 0x7 # (DIE (0xb12) DW_TAG_GNU_call_site)
.quad .LVL86 # DW_AT_low_pc
.long 0x1ed # DW_AT_abstract_origin
.long 0xb38 # DW_AT_sibling
.uleb128 0x8 # (DIE (0xb23) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x35 # DW_OP_lit5
.uleb128 0x8 # (DIE (0xb28) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x61 # DW_OP_reg17
.byte 0xb # DW_AT_GNU_call_site_value
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x40150000 # fp or vector constant word 1
.byte 0 # end of children of DIE 0xb12
.uleb128 0x7 # (DIE (0xb38) DW_TAG_GNU_call_site)
.quad .LVL87 # DW_AT_low_pc
.long 0x3de # DW_AT_abstract_origin
.long 0xb50 # DW_AT_sibling
.uleb128 0x8 # (DIE (0xb49) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x2 # DW_AT_GNU_call_site_value
.byte 0x8 # DW_OP_const1u
.byte 0x64
.byte 0 # end of children of DIE 0xb38
.uleb128 0x7 # (DIE (0xb50) DW_TAG_GNU_call_site)
.quad .LVL88 # DW_AT_low_pc
.long 0x423 # DW_AT_abstract_origin
.long 0xb68 # DW_AT_sibling
.uleb128 0x8 # (DIE (0xb61) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x2 # DW_AT_GNU_call_site_value
.byte 0x8 # DW_OP_const1u
.byte 0xc8
.byte 0 # end of children of DIE 0xb50
.uleb128 0x19 # (DIE (0xb68) DW_TAG_GNU_call_site)
.quad .LVL91 # DW_AT_low_pc
.long 0x188 # DW_AT_abstract_origin
.uleb128 0x8 # (DIE (0xb75) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x31 # DW_OP_lit1
.uleb128 0x8 # (DIE (0xb7a) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x61 # DW_OP_reg17
.byte 0xb # DW_AT_GNU_call_site_value
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x3ff40000 # fp or vector constant word 1
.byte 0 # end of children of DIE 0xb68
.byte 0 # end of children of DIE 0x8d5
.uleb128 0x1d # (DIE (0xb8b) DW_TAG_variable)
.ascii "v\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-entry-value.cc)
.byte 0x12 # DW_AT_decl_line
.long 0xb9e # DW_AT_type
.byte 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad _ZL1v
.uleb128 0x1e # (DIE (0xb9e) DW_TAG_volatile_type)
.long 0x38 # DW_AT_type
.byte 0 # end of children of DIE 0xb
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x55 # (DW_AT_ranges)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x52 # (DW_AT_entry_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x6 # (DW_FORM_data4)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0
.byte 0
.uleb128 0x4 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0xa # (DW_FORM_block1)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x5 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0x6 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x6 # (DW_FORM_data4)
.byte 0
.byte 0
.uleb128 0x7 # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0x1 # DW_children_yes
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x8 # (abbrev code)
.uleb128 0x410a # (TAG: DW_TAG_GNU_call_site_parameter)
.byte 0 # DW_children_no
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.uleb128 0x2111 # (DW_AT_GNU_call_site_value)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0x9 # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0 # DW_children_no
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xa # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0 # DW_children_no
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x2115 # (DW_AT_GNU_tail_call)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xb # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0xa # (DW_FORM_block1)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xc # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0x1 # DW_children_yes
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x2115 # (DW_AT_GNU_tail_call)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xd # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0x1 # DW_children_yes
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x2115 # (DW_AT_GNU_tail_call)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xe # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xf # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x6 # (DW_FORM_data4)
.byte 0
.byte 0
.uleb128 0x10 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0x11 # (abbrev code)
.uleb128 0xb # (TAG: DW_TAG_lexical_block)
.byte 0x1 # DW_children_yes
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.byte 0
.byte 0
.uleb128 0x12 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0x13 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x6 # (DW_FORM_data4)
.byte 0
.byte 0
.uleb128 0x14 # (abbrev code)
.uleb128 0x26 # (TAG: DW_TAG_const_type)
.byte 0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x15 # (abbrev code)
.uleb128 0x10 # (TAG: DW_TAG_reference_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x16 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0xa # (DW_FORM_block1)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.byte 0
.byte 0
.uleb128 0x17 # (abbrev code)
.uleb128 0xf # (TAG: DW_TAG_pointer_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x18 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x19 # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0x1 # DW_children_yes
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x1a # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x1b # (abbrev code)
.uleb128 0xb # (TAG: DW_TAG_lexical_block)
.byte 0x1 # DW_children_yes
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x1c # (abbrev code)
.uleb128 0x410a # (TAG: DW_TAG_GNU_call_site_parameter)
.byte 0 # DW_children_no
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.uleb128 0x2111 # (DW_AT_GNU_call_site_value)
.uleb128 0xa # (DW_FORM_block1)
.uleb128 0x2112 # (DW_AT_GNU_call_site_data_value)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0x1d # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0x1e # (abbrev code)
.uleb128 0x35 # (TAG: DW_TAG_volatile_type)
.byte 0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.byte 0
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.quad .LVL1 # Location list begin address (*.LLST0)
.quad .LVL1 # Location list end address (*.LLST0)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL1 # Location list begin address (*.LLST0)
.quad .LVL3 # Location list end address (*.LLST0)
.value 0x3 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 1
.byte 0x9f # DW_OP_stack_value
.quad .LVL3 # Location list begin address (*.LLST0)
.quad .LFE1 # Location list end address (*.LLST0)
.value 0x6 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x1
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST0)
.quad 0 # Location list terminator end (*.LLST0)
.LLST1:
.quad .LVL1 # Location list begin address (*.LLST1)
.quad .LVL1 # Location list end address (*.LLST1)
.value 0x1 # Location expression size
.byte 0x61 # DW_OP_reg17
.quad .LVL1 # Location list begin address (*.LLST1)
.quad .LVL2 # Location list end address (*.LLST1)
.value 0x10 # Location expression size
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x11
.uleb128 0x31
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x3ff00000 # fp or vector constant word 1
.byte 0x22 # DW_OP_plus
.byte 0x9f # DW_OP_stack_value
.quad .LVL2 # Location list begin address (*.LLST1)
.quad .LFE1 # Location list end address (*.LLST1)
.value 0x12 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x3
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x11
.uleb128 0x31
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x31
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x3ff00000 # fp or vector constant word 1
.byte 0x22 # DW_OP_plus
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST1)
.quad 0 # Location list terminator end (*.LLST1)
.LLST2:
.quad .LVL8 # Location list begin address (*.LLST2)
.quad .LVL10 # Location list end address (*.LLST2)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL10 # Location list begin address (*.LLST2)
.quad .LFE3 # Location list end address (*.LLST2)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST2)
.quad 0 # Location list terminator end (*.LLST2)
.LLST3:
.quad .LVL8 # Location list begin address (*.LLST3)
.quad .LVL9 # Location list end address (*.LLST3)
.value 0x1 # Location expression size
.byte 0x61 # DW_OP_reg17
.quad .LVL9 # Location list begin address (*.LLST3)
.quad .LFE3 # Location list end address (*.LLST3)
.value 0x6 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x3
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x11
.uleb128 0x31
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST3)
.quad 0 # Location list terminator end (*.LLST3)
.LLST4:
.quad .LVL12 # Location list begin address (*.LLST4)
.quad .LVL14 # Location list end address (*.LLST4)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL14 # Location list begin address (*.LLST4)
.quad .LVL15-1 # Location list end address (*.LLST4)
.value 0x3 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 -1
.byte 0x9f # DW_OP_stack_value
.quad .LVL15-1 # Location list begin address (*.LLST4)
.quad .LFE4 # Location list end address (*.LLST4)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST4)
.quad 0 # Location list terminator end (*.LLST4)
.LLST5:
.quad .LVL12 # Location list begin address (*.LLST5)
.quad .LVL13 # Location list end address (*.LLST5)
.value 0x1 # Location expression size
.byte 0x61 # DW_OP_reg17
.quad .LVL13 # Location list begin address (*.LLST5)
.quad .LFE4 # Location list end address (*.LLST5)
.value 0x6 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x3
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x11
.uleb128 0x31
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST5)
.quad 0 # Location list terminator end (*.LLST5)
.LLST6:
.quad .LVL16 # Location list begin address (*.LLST6)
.quad .LVL18 # Location list end address (*.LLST6)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL18 # Location list begin address (*.LLST6)
.quad .LVL19-1 # Location list end address (*.LLST6)
.value 0x3 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 -2
.byte 0x9f # DW_OP_stack_value
.quad .LVL19-1 # Location list begin address (*.LLST6)
.quad .LFE5 # Location list end address (*.LLST6)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST6)
.quad 0 # Location list terminator end (*.LLST6)
.LLST7:
.quad .LVL16 # Location list begin address (*.LLST7)
.quad .LVL17 # Location list end address (*.LLST7)
.value 0x1 # Location expression size
.byte 0x61 # DW_OP_reg17
.quad .LVL17 # Location list begin address (*.LLST7)
.quad .LFE5 # Location list end address (*.LLST7)
.value 0x6 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x3
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x11
.uleb128 0x31
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST7)
.quad 0 # Location list terminator end (*.LLST7)
.LLST8:
.quad .LVL20 # Location list begin address (*.LLST8)
.quad .LVL21 # Location list end address (*.LLST8)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL21 # Location list begin address (*.LLST8)
.quad .LVL22-1 # Location list end address (*.LLST8)
.value 0x3 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 -7
.byte 0x9f # DW_OP_stack_value
.quad .LVL22-1 # Location list begin address (*.LLST8)
.quad .LFE6 # Location list end address (*.LLST8)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST8)
.quad 0 # Location list terminator end (*.LLST8)
.LLST9:
.quad .LVL23 # Location list begin address (*.LLST9)
.quad .LVL24 # Location list end address (*.LLST9)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL24 # Location list begin address (*.LLST9)
.quad .LVL25-1 # Location list end address (*.LLST9)
.value 0x3 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 -6
.byte 0x9f # DW_OP_stack_value
.quad .LVL25-1 # Location list begin address (*.LLST9)
.quad .LFE7 # Location list end address (*.LLST9)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST9)
.quad 0 # Location list terminator end (*.LLST9)
.LLST10:
.quad .LVL26 # Location list begin address (*.LLST10)
.quad .LVL27 # Location list end address (*.LLST10)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL27 # Location list begin address (*.LLST10)
.quad .LVL28-1 # Location list end address (*.LLST10)
.value 0x3 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 -5
.byte 0x9f # DW_OP_stack_value
.quad .LVL28-1 # Location list begin address (*.LLST10)
.quad .LFE8 # Location list end address (*.LLST10)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST10)
.quad 0 # Location list terminator end (*.LLST10)
.LLST11:
.quad .LVL29 # Location list begin address (*.LLST11)
.quad .LVL30 # Location list end address (*.LLST11)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL30 # Location list begin address (*.LLST11)
.quad .LVL31-1 # Location list end address (*.LLST11)
.value 0x3 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 -4
.byte 0x9f # DW_OP_stack_value
.quad .LVL31-1 # Location list begin address (*.LLST11)
.quad .LVL31 # Location list end address (*.LLST11)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad .LVL31 # Location list begin address (*.LLST11)
.quad .LVL32 # Location list end address (*.LLST11)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL32 # Location list begin address (*.LLST11)
.quad .LVL33-1 # Location list end address (*.LLST11)
.value 0x3 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 -3
.byte 0x9f # DW_OP_stack_value
.quad .LVL33-1 # Location list begin address (*.LLST11)
.quad .LFE9 # Location list end address (*.LLST11)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST11)
.quad 0 # Location list terminator end (*.LLST11)
.LLST12:
.quad .LVL34 # Location list begin address (*.LLST12)
.quad .LVL35 # Location list end address (*.LLST12)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL35 # Location list begin address (*.LLST12)
.quad .LVL36-1 # Location list end address (*.LLST12)
.value 0x3 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 -2
.byte 0x9f # DW_OP_stack_value
.quad .LVL36-1 # Location list begin address (*.LLST12)
.quad .LFE10 # Location list end address (*.LLST12)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST12)
.quad 0 # Location list terminator end (*.LLST12)
.LLST13:
.quad .LVL37 # Location list begin address (*.LLST13)
.quad .LVL38 # Location list end address (*.LLST13)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL38 # Location list begin address (*.LLST13)
.quad .LVL39-1 # Location list end address (*.LLST13)
.value 0x3 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 -1
.byte 0x9f # DW_OP_stack_value
.quad .LVL39-1 # Location list begin address (*.LLST13)
.quad .LFE11 # Location list end address (*.LLST13)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST13)
.quad 0 # Location list terminator end (*.LLST13)
.LLST14:
.quad .LFB13 # Location list begin address (*.LLST14)
.quad .LCFI0 # Location list end address (*.LLST14)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad .LCFI0 # Location list begin address (*.LLST14)
.quad .LCFI1 # Location list end address (*.LLST14)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 16
.quad .LCFI1 # Location list begin address (*.LLST14)
.quad .LCFI2 # Location list end address (*.LLST14)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad .LCFI2 # Location list begin address (*.LLST14)
.quad .LCFI3 # Location list end address (*.LLST14)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 16
.quad .LCFI3 # Location list begin address (*.LLST14)
.quad .LFE13 # Location list end address (*.LLST14)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad 0 # Location list terminator begin (*.LLST14)
.quad 0 # Location list terminator end (*.LLST14)
.LLST15:
.quad .LVL40 # Location list begin address (*.LLST15)
.quad .LVL41 # Location list end address (*.LLST15)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL41 # Location list begin address (*.LLST15)
.quad .LVL43 # Location list end address (*.LLST15)
.value 0x1 # Location expression size
.byte 0x53 # DW_OP_reg3
.quad .LVL43 # Location list begin address (*.LLST15)
.quad .LVL44-1 # Location list end address (*.LLST15)
.value 0x3 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 -2
.byte 0x9f # DW_OP_stack_value
.quad .LVL44-1 # Location list begin address (*.LLST15)
.quad .LVL44 # Location list end address (*.LLST15)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad .LVL44 # Location list begin address (*.LLST15)
.quad .LVL45 # Location list end address (*.LLST15)
.value 0x1 # Location expression size
.byte 0x53 # DW_OP_reg3
.quad .LVL45 # Location list begin address (*.LLST15)
.quad .LVL46 # Location list end address (*.LLST15)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL46 # Location list begin address (*.LLST15)
.quad .LFE13 # Location list end address (*.LLST15)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST15)
.quad 0 # Location list terminator end (*.LLST15)
.LLST16:
.quad .LVL48 # Location list begin address (*.LLST16)
.quad .LVL49-1 # Location list end address (*.LLST16)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL49-1 # Location list begin address (*.LLST16)
.quad .LFE12 # Location list end address (*.LLST16)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST16)
.quad 0 # Location list terminator end (*.LLST16)
.LLST17:
.quad .LVL50 # Location list begin address (*.LLST17)
.quad .LVL51 # Location list end address (*.LLST17)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL51 # Location list begin address (*.LLST17)
.quad .LFE14 # Location list end address (*.LLST17)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST17)
.quad 0 # Location list terminator end (*.LLST17)
.LLST18:
.quad .LVL50 # Location list begin address (*.LLST18)
.quad .LVL53-1 # Location list end address (*.LLST18)
.value 0x1 # Location expression size
.byte 0x54 # DW_OP_reg4
.quad .LVL53-1 # Location list begin address (*.LLST18)
.quad .LFE14 # Location list end address (*.LLST18)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x54 # DW_OP_reg4
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST18)
.quad 0 # Location list terminator end (*.LLST18)
.LLST19:
.quad .LVL50 # Location list begin address (*.LLST19)
.quad .LVL53-1 # Location list end address (*.LLST19)
.value 0x1 # Location expression size
.byte 0x51 # DW_OP_reg1
.quad .LVL53-1 # Location list begin address (*.LLST19)
.quad .LFE14 # Location list end address (*.LLST19)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x51 # DW_OP_reg1
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST19)
.quad 0 # Location list terminator end (*.LLST19)
.LLST20:
.quad .LVL50 # Location list begin address (*.LLST20)
.quad .LVL53-1 # Location list end address (*.LLST20)
.value 0x1 # Location expression size
.byte 0x52 # DW_OP_reg2
.quad .LVL53-1 # Location list begin address (*.LLST20)
.quad .LFE14 # Location list end address (*.LLST20)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x52 # DW_OP_reg2
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST20)
.quad 0 # Location list terminator end (*.LLST20)
.LLST21:
.quad .LVL50 # Location list begin address (*.LLST21)
.quad .LVL53-1 # Location list end address (*.LLST21)
.value 0x1 # Location expression size
.byte 0x58 # DW_OP_reg8
.quad .LVL53-1 # Location list begin address (*.LLST21)
.quad .LFE14 # Location list end address (*.LLST21)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x58 # DW_OP_reg8
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST21)
.quad 0 # Location list terminator end (*.LLST21)
.LLST22:
.quad .LVL50 # Location list begin address (*.LLST22)
.quad .LVL53-1 # Location list end address (*.LLST22)
.value 0x1 # Location expression size
.byte 0x59 # DW_OP_reg9
.quad .LVL53-1 # Location list begin address (*.LLST22)
.quad .LFE14 # Location list end address (*.LLST22)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x59 # DW_OP_reg9
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST22)
.quad 0 # Location list terminator end (*.LLST22)
.LLST23:
.quad .LVL50 # Location list begin address (*.LLST23)
.quad .LVL50 # Location list end address (*.LLST23)
.value 0x2 # Location expression size
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.quad .LVL50 # Location list begin address (*.LLST23)
.quad .LFE14 # Location list end address (*.LLST23)
.value 0x2 # Location expression size
.byte 0x33 # DW_OP_lit3
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST23)
.quad 0 # Location list terminator end (*.LLST23)
.LLST24:
.quad .LVL50 # Location list begin address (*.LLST24)
.quad .LVL50 # Location list end address (*.LLST24)
.value 0x2 # Location expression size
.byte 0x91 # DW_OP_fbreg
.sleb128 8
.quad .LVL50 # Location list begin address (*.LLST24)
.quad .LFE14 # Location list end address (*.LLST24)
.value 0x2 # Location expression size
.byte 0x34 # DW_OP_lit4
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST24)
.quad 0 # Location list terminator end (*.LLST24)
.LLST25:
.quad .LVL50 # Location list begin address (*.LLST25)
.quad .LVL52 # Location list end address (*.LLST25)
.value 0x1 # Location expression size
.byte 0x61 # DW_OP_reg17
.quad .LVL52 # Location list begin address (*.LLST25)
.quad .LFE14 # Location list end address (*.LLST25)
.value 0x6 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x3
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x11
.uleb128 0x31
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST25)
.quad 0 # Location list terminator end (*.LLST25)
.LLST26:
.quad .LVL50 # Location list begin address (*.LLST26)
.quad .LVL53-1 # Location list end address (*.LLST26)
.value 0x1 # Location expression size
.byte 0x62 # DW_OP_reg18
.quad .LVL53-1 # Location list begin address (*.LLST26)
.quad .LFE14 # Location list end address (*.LLST26)
.value 0x6 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x3
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x12
.uleb128 0x31
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST26)
.quad 0 # Location list terminator end (*.LLST26)
.LLST27:
.quad .LVL50 # Location list begin address (*.LLST27)
.quad .LVL53-1 # Location list end address (*.LLST27)
.value 0x1 # Location expression size
.byte 0x63 # DW_OP_reg19
.quad .LVL53-1 # Location list begin address (*.LLST27)
.quad .LFE14 # Location list end address (*.LLST27)
.value 0x6 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x3
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x13
.uleb128 0x31
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST27)
.quad 0 # Location list terminator end (*.LLST27)
.LLST28:
.quad .LVL50 # Location list begin address (*.LLST28)
.quad .LVL53-1 # Location list end address (*.LLST28)
.value 0x1 # Location expression size
.byte 0x64 # DW_OP_reg20
.quad .LVL53-1 # Location list begin address (*.LLST28)
.quad .LFE14 # Location list end address (*.LLST28)
.value 0x6 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x3
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x14
.uleb128 0x31
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST28)
.quad 0 # Location list terminator end (*.LLST28)
.LLST29:
.quad .LVL50 # Location list begin address (*.LLST29)
.quad .LVL53-1 # Location list end address (*.LLST29)
.value 0x1 # Location expression size
.byte 0x65 # DW_OP_reg21
.quad .LVL53-1 # Location list begin address (*.LLST29)
.quad .LFE14 # Location list end address (*.LLST29)
.value 0x6 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x3
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x15
.uleb128 0x31
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST29)
.quad 0 # Location list terminator end (*.LLST29)
.LLST30:
.quad .LVL50 # Location list begin address (*.LLST30)
.quad .LVL53-1 # Location list end address (*.LLST30)
.value 0x1 # Location expression size
.byte 0x66 # DW_OP_reg22
.quad .LVL53-1 # Location list begin address (*.LLST30)
.quad .LFE14 # Location list end address (*.LLST30)
.value 0x6 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x3
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x16
.uleb128 0x31
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST30)
.quad 0 # Location list terminator end (*.LLST30)
.LLST31:
.quad .LVL50 # Location list begin address (*.LLST31)
.quad .LVL53-1 # Location list end address (*.LLST31)
.value 0x1 # Location expression size
.byte 0x67 # DW_OP_reg23
.quad .LVL53-1 # Location list begin address (*.LLST31)
.quad .LFE14 # Location list end address (*.LLST31)
.value 0x6 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x3
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x17
.uleb128 0x31
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST31)
.quad 0 # Location list terminator end (*.LLST31)
.LLST32:
.quad .LVL50 # Location list begin address (*.LLST32)
.quad .LVL53-1 # Location list end address (*.LLST32)
.value 0x1 # Location expression size
.byte 0x68 # DW_OP_reg24
.quad .LVL53-1 # Location list begin address (*.LLST32)
.quad .LFE14 # Location list end address (*.LLST32)
.value 0x6 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x3
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x18
.uleb128 0x31
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST32)
.quad 0 # Location list terminator end (*.LLST32)
.LLST33:
.quad .LVL50 # Location list begin address (*.LLST33)
.quad .LVL50 # Location list end address (*.LLST33)
.value 0x2 # Location expression size
.byte 0x91 # DW_OP_fbreg
.sleb128 16
.quad .LVL50 # Location list begin address (*.LLST33)
.quad .LFE14 # Location list end address (*.LLST33)
.value 0xa # Location expression size
.byte 0x9e # DW_OP_implicit_value
.uleb128 0x8
.long 0 # fp or vector constant word 0
.long 0x400c0000 # fp or vector constant word 1
.quad 0 # Location list terminator begin (*.LLST33)
.quad 0 # Location list terminator end (*.LLST33)
.LLST34:
.quad .LVL50 # Location list begin address (*.LLST34)
.quad .LVL50 # Location list end address (*.LLST34)
.value 0x2 # Location expression size
.byte 0x91 # DW_OP_fbreg
.sleb128 24
.quad .LVL50 # Location list begin address (*.LLST34)
.quad .LFE14 # Location list end address (*.LLST34)
.value 0xa # Location expression size
.byte 0x9e # DW_OP_implicit_value
.uleb128 0x8
.long 0 # fp or vector constant word 0
.long 0x40120000 # fp or vector constant word 1
.quad 0 # Location list terminator begin (*.LLST34)
.quad 0 # Location list terminator end (*.LLST34)
.LLST35:
.quad .LVL55 # Location list begin address (*.LLST35)
.quad .LVL56 # Location list end address (*.LLST35)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL56 # Location list begin address (*.LLST35)
.quad .LFE15 # Location list end address (*.LLST35)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST35)
.quad 0 # Location list terminator end (*.LLST35)
.LLST36:
.quad .LVL55 # Location list begin address (*.LLST36)
.quad .LVL57-1 # Location list end address (*.LLST36)
.value 0x1 # Location expression size
.byte 0x54 # DW_OP_reg4
.quad .LVL57-1 # Location list begin address (*.LLST36)
.quad .LFE15 # Location list end address (*.LLST36)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x54 # DW_OP_reg4
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST36)
.quad 0 # Location list terminator end (*.LLST36)
.LLST37:
.quad .LVL55 # Location list begin address (*.LLST37)
.quad .LVL57-1 # Location list end address (*.LLST37)
.value 0x1 # Location expression size
.byte 0x51 # DW_OP_reg1
.quad .LVL57-1 # Location list begin address (*.LLST37)
.quad .LFE15 # Location list end address (*.LLST37)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x51 # DW_OP_reg1
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST37)
.quad 0 # Location list terminator end (*.LLST37)
.LLST38:
.quad .LVL55 # Location list begin address (*.LLST38)
.quad .LVL57-1 # Location list end address (*.LLST38)
.value 0x1 # Location expression size
.byte 0x52 # DW_OP_reg2
.quad .LVL57-1 # Location list begin address (*.LLST38)
.quad .LFE15 # Location list end address (*.LLST38)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x52 # DW_OP_reg2
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST38)
.quad 0 # Location list terminator end (*.LLST38)
.LLST39:
.quad .LVL55 # Location list begin address (*.LLST39)
.quad .LVL57-1 # Location list end address (*.LLST39)
.value 0x1 # Location expression size
.byte 0x58 # DW_OP_reg8
.quad .LVL57-1 # Location list begin address (*.LLST39)
.quad .LFE15 # Location list end address (*.LLST39)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x58 # DW_OP_reg8
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST39)
.quad 0 # Location list terminator end (*.LLST39)
.LLST40:
.quad .LVL55 # Location list begin address (*.LLST40)
.quad .LVL57-1 # Location list end address (*.LLST40)
.value 0x1 # Location expression size
.byte 0x59 # DW_OP_reg9
.quad .LVL57-1 # Location list begin address (*.LLST40)
.quad .LFE15 # Location list end address (*.LLST40)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x59 # DW_OP_reg9
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST40)
.quad 0 # Location list terminator end (*.LLST40)
.LLST41:
.quad .LVL55 # Location list begin address (*.LLST41)
.quad .LVL57-1 # Location list end address (*.LLST41)
.value 0x3 # Location expression size
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0x6 # DW_OP_deref
.quad 0 # Location list terminator begin (*.LLST41)
.quad 0 # Location list terminator end (*.LLST41)
.LLST42:
.quad .LVL55 # Location list begin address (*.LLST42)
.quad .LVL57-1 # Location list end address (*.LLST42)
.value 0x3 # Location expression size
.byte 0x91 # DW_OP_fbreg
.sleb128 8
.byte 0x6 # DW_OP_deref
.quad 0 # Location list terminator begin (*.LLST42)
.quad 0 # Location list terminator end (*.LLST42)
.LLST43:
.quad .LFB20 # Location list begin address (*.LLST43)
.quad .LCFI4 # Location list end address (*.LLST43)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad .LCFI4 # Location list begin address (*.LLST43)
.quad .LCFI5 # Location list end address (*.LLST43)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 16
.quad .LCFI5 # Location list begin address (*.LLST43)
.quad .LFE20 # Location list end address (*.LLST43)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad 0 # Location list terminator begin (*.LLST43)
.quad 0 # Location list terminator end (*.LLST43)
.LLST44:
.quad .LVL60 # Location list begin address (*.LLST44)
.quad .LVL61 # Location list end address (*.LLST44)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL61 # Location list begin address (*.LLST44)
.quad .LVL63 # Location list end address (*.LLST44)
.value 0x1 # Location expression size
.byte 0x53 # DW_OP_reg3
.quad .LVL63 # Location list begin address (*.LLST44)
.quad .LFE20 # Location list end address (*.LLST44)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad 0 # Location list terminator begin (*.LLST44)
.quad 0 # Location list terminator end (*.LLST44)
.LLST45:
.quad .LFB21 # Location list begin address (*.LLST45)
.quad .LCFI6 # Location list end address (*.LLST45)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad .LCFI6 # Location list begin address (*.LLST45)
.quad .LCFI7 # Location list end address (*.LLST45)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 16
.quad .LCFI7 # Location list begin address (*.LLST45)
.quad .LFE21 # Location list end address (*.LLST45)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad 0 # Location list terminator begin (*.LLST45)
.quad 0 # Location list terminator end (*.LLST45)
.LLST46:
.quad .LVL64 # Location list begin address (*.LLST46)
.quad .LVL64 # Location list end address (*.LLST46)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad 0 # Location list terminator begin (*.LLST46)
.quad 0 # Location list terminator end (*.LLST46)
.LLST47:
.quad .LVL64 # Location list begin address (*.LLST47)
.quad .LVL65-1 # Location list end address (*.LLST47)
.value 0x1 # Location expression size
.byte 0x54 # DW_OP_reg4
.quad .LVL65-1 # Location list begin address (*.LLST47)
.quad .LVL66 # Location list end address (*.LLST47)
.value 0x1 # Location expression size
.byte 0x53 # DW_OP_reg3
.quad .LVL66 # Location list begin address (*.LLST47)
.quad .LFE21 # Location list end address (*.LLST47)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad 0 # Location list terminator begin (*.LLST47)
.quad 0 # Location list terminator end (*.LLST47)
.LLST48:
.quad .LVL67 # Location list begin address (*.LLST48)
.quad .LVL68 # Location list end address (*.LLST48)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL68 # Location list begin address (*.LLST48)
.quad .LFE22 # Location list end address (*.LLST48)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST48)
.quad 0 # Location list terminator end (*.LLST48)
.LLST49:
.quad .LFB23 # Location list begin address (*.LLST49)
.quad .LCFI8 # Location list end address (*.LLST49)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad .LCFI8 # Location list begin address (*.LLST49)
.quad .LCFI9 # Location list end address (*.LLST49)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 16
.quad .LCFI9 # Location list begin address (*.LLST49)
.quad .LCFI10 # Location list end address (*.LLST49)
.value 0x3 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 64
.quad .LCFI10 # Location list begin address (*.LLST49)
.quad .LCFI11 # Location list end address (*.LLST49)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 16
.quad .LCFI11 # Location list begin address (*.LLST49)
.quad .LCFI12 # Location list end address (*.LLST49)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad .LCFI12 # Location list begin address (*.LLST49)
.quad .LFE23 # Location list end address (*.LLST49)
.value 0x3 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 64
.quad 0 # Location list terminator begin (*.LLST49)
.quad 0 # Location list terminator end (*.LLST49)
.LLST50:
.quad .LVL80 # Location list begin address (*.LLST50)
.quad .LVL81 # Location list end address (*.LLST50)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad .LVL81 # Location list begin address (*.LLST50)
.quad .LVL89 # Location list end address (*.LLST50)
.value 0x1 # Location expression size
.byte 0x53 # DW_OP_reg3
.quad .LVL90 # Location list begin address (*.LLST50)
.quad .LFE23 # Location list end address (*.LLST50)
.value 0x1 # Location expression size
.byte 0x53 # DW_OP_reg3
.quad 0 # Location list terminator begin (*.LLST50)
.quad 0 # Location list terminator end (*.LLST50)
.section .debug_aranges,"",@progbits
.long 0x3c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 16 byte boundary
.value 0
.quad .Ltext0 # Address
.quad .Letext0-.Ltext0 # Length
.quad .LFB23 # Address
.quad .LFE23-.LFB23 # Length
.quad 0
.quad 0
.section .debug_ranges,"",@progbits
.Ldebug_ranges0:
.quad .Ltext0 # Offset 0
.quad .Letext0
.quad .LFB23 # Offset 0x10
.quad .LFE23
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF4:
.string "locexpr"
.LASF13:
.string "reference"
.LASF18:
.string "regcopy"
.LASF31:
.string "regvar"
.LASF30:
.string "invalid"
.LASF29:
.string "born"
.LASF17:
.string "stackparam2"
.LASF24:
.string "data"
.LASF20:
.string "stackcopy1"
.LASF2:
.string "gdb.arch/amd64-entry-value.cc"
.LASF23:
.string "datap"
.LASF28:
.string "lost"
.LASF0:
.string "double"
.LASF32:
.string "nodatavarp"
.LASF35:
.string "main"
.LASF10:
.string "self"
.LASF9:
.string "amb_a"
.LASF8:
.string "amb_b"
.LASF26:
.string "different"
.LASF1:
.string "GNU C++ 4.7.0 20110912 (experimental)"
.LASF33:
.string "stackvar1"
.LASF34:
.string "stackvar2"
.LASF12:
.string "stacktest"
.LASF25:
.string "data2"
.LASF19:
.string "nodatacopy"
.LASF7:
.string "amb_x"
.LASF6:
.string "amb_y"
.LASF5:
.string "amb_z"
.LASF15:
.string "nodataparam"
.LASF3:
.string ""
.LASF21:
.string "stackcopy2"
.LASF16:
.string "stackparam1"
.LASF14:
.string "regparam"
.LASF11:
.string "self2"
.LASF22:
.string "datap_input"
.LASF27:
.string "validity"
.ident "GCC: (GNU) 4.7.0 20110912 (experimental)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 2,571
|
gdb/testsuite/gdb.arch/i386-disp-step.S
|
/* Copyright 2009-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
This file is part of the gdb testsuite.
It tests displaced stepping over various insns that require special
handling. */
.text
.global main
main:
nop
/***********************************************/
/* Test call/ret. */
nop
.global test_call
test_call:
call test_call_subr
nop
.global test_ret_end
test_ret_end:
nop
/***********************************************/
/* Absolute jump with leading prefixes.
These don't occur in normal code, but gdb should still DTRT. */
nop
.global test_prefixed_abs_jump
test_prefixed_abs_jump:
ds
jmp *test_prefixed_abs_jump_addr
.data
test_prefixed_abs_jump_addr:
.4byte test_prefixed_abs_jump_target
.text
test_prefixed_abs_jump_target:
nop
.global test_prefixed_abs_jump_end
test_prefixed_abs_jump_end:
nop
/***********************************************/
/* Test syscall. */
mov $0x14,%eax /* getpid */
.global test_syscall
test_syscall:
int $0x80
nop
.global test_syscall_end
test_syscall_end:
nop
/***********************************************/
/* Test syscall again, this time with a prefix.
These don't occur in normal code, but gdb should still DTRT. */
mov $0x14,%eax /* getpid */
.global test_prefixed_syscall
test_prefixed_syscall:
repnz
int $0x80
nop
.global test_prefixed_syscall_end
test_prefixed_syscall_end:
nop
/***********************************************/
/* Test stepping over int3.
The prefixes are pointless, but it's possible, so we exercise it. */
nop
.global test_int3
test_int3:
repz
repz
int3
nop
.global test_int3_end
test_int3_end:
nop
/***********************************************/
/* all done */
pushl $0
call exit
hlt
/***********************************************/
/* subroutine to help test call/ret */
test_call_subr:
nop
.global test_call_end
test_call_end:
nop
.global test_ret
test_ret:
ret
|
stsp/binutils-ia16
| 1,909
|
gdb/testsuite/gdb.arch/ppc64-isa207-atomic-inst.S
|
/* This file is part of GDB, the GNU debugger.
Copyright 2017-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.align 2
.globl test_atomic_sequences
#if _CALL_ELF == 2
.type test_atomic_sequences,@function
test_atomic_sequences:
#else
.section ".opd","aw"
.align 3
test_atomic_sequences:
.quad .test_atomic_sequences,.TOC.@tocbase,0
.size test_atomic_sequences,.-test_atomic_sequences
.previous
.globl .test_atomic_sequences
.type .test_atomic_sequences,@function
.test_atomic_sequences:
#endif
li 0,0
addi 4,1,-8
stb 0,0(4)
1: lbarx 5,0,4
cmpdi 5,0
bne 2f
addi 5,5,1
stbcx. 5,0,4
bne 1b
sth 0,0(4)
2: lharx 5,0,4
cmpdi 5,0
bne 3f
addi 5,5,1
sthcx. 5,0,4
bne 2b
#ifdef __BIG_ENDIAN__
li 10,0
li 6,0
li 7,1
std 10,-16(1)
li 10,1
std 10,-8(1)
addi 4,1,-16
#else
std 9,40(1)
li 9,1
addi 4,1,32
std 9,32(1)
mr 8,9
ld 3,8(4)
#endif
3: lqarx 10,0,4
#ifdef __BIG_ENDIAN__
li 8,0
li 9,2
mr 5,10
xor 10,11,7
xor 5,5,6
or. 4,5,10
bne 4f
addi 10,1,-16
stqcx. 8,0,10
#else
xor 9,11,8
mr 6,11
xor 11,10,3
or. 0,9,11
bne 4f
li 14,0
li 15,2
stqcx. 14,0,4
#endif
bne 3b
4: li 3,0
blr
#if _CALL_ELF == 2
.size test_atomic_sequences,.-test_atomic_sequences
#else
.size .test_atomic_sequences,.-.test_atomic_sequences
#endif
|
stsp/binutils-ia16
| 1,478
|
gdb/testsuite/gdb.arch/powerpc-plxv-nonrel.s
|
# Copyright 2021-2022 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# test to verify that the prefixed instructions that
# load/store non-relative values work OK.
.global main
.type main,function
main:
nop
lnia 4
addi 4,4,40
plxv 4,4(4),0
plxv 5,12(4),0
plxv 6,20(4),0
plxv 7,28(4),0
check_here:
blr
mydata:
.long 0xa1b1c1d1 # <<-
.long 0xa2b2c2d2 # <<- loaded into vs4
.long 0xa3b3c3d3 # <<- loaded into vs4
.long 0xa4b4c4d4 # <<- loaded into vs4, vs5
.long 0xa5b5c5d5 # <<- loaded into vs4, vs5
.long 0xa6b6c6d6 # <<- loaded into vs5, vs6
.long 0xa7b7c7d7 # <<- loaded into vs5, vs6
.long 0xa8b8c8d8 # <<- loaded into vs6, vs7
.long 0xa9b9c9d9 # <<- loaded into vs6, vs7
.long 0xaabacada # <<- loaded into vs7
.long 0xabbbcbdb # <<- loaded into vs7
.long 0xacbcccdc # <<-
|
stsp/binutils-ia16
| 1,234
|
gdb/testsuite/gdb.arch/amd64-break-on-asm-line.S
|
/* Copyright 2019-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
This file is part of the gdb testsuite.
Test that a breakpoint placed by line number in an assembler file
will stop at the specified line. Previously versions of GDB have
incorrectly invoked the prologue analysis logic and skipped
forward. */
.text
.global main
main:
nop
test:
/* The next two instructions are required to look like an
x86-64 prologue so that GDB's prologue scanner will spot
them and skip forward. */
push %rbp /* Break here. */
mov %rsp, %rbp
nop /* Incorrect. */
nop
nop
|
stsp/binutils-ia16
| 17,538
|
gdb/testsuite/gdb.arch/amd64-tailcall-self.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2015-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This source file was generated by:
gcc -o gdb.arch/amd64-tailcall-self.S -S gdb.arch/amd64-tailcall-self.c -Wall -g -dA -Os
*/
.file "amd64-tailcall-self.c"
.text
.Ltext0:
.section .text.unlikely,"ax",@progbits
.LCOLDB0:
.text
.LHOTB0:
.section .text.unlikely
.Ltext_cold0:
.text
.type b, @function
b:
.LFB0:
.file 1 "amd64-tailcall-self.c"
# amd64-tailcall-self.c:1
.loc 1 1 0
.cfi_startproc
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (FALLTHRU)
# amd64-tailcall-self.c:2
.loc 1 2 0
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE0:
.size b, .-b
.section .text.unlikely
.LCOLDE0:
.text
.LHOTE0:
.section .text.unlikely
.LCOLDB1:
.text
.LHOTB1:
.globl c
.type c, @function
c:
.LFB1:
# amd64-tailcall-self.c:7
.loc 1 7 0
.cfi_startproc
.LVL0:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (FALLTHRU)
# amd64-tailcall-self.c:8
.loc 1 8 0
leal 1(%rdi), %eax
# SUCC: EXIT [100.0%]
# amd64-tailcall-self.c:9
.loc 1 9 0
ret
.cfi_endproc
.LFE1:
.size c, .-c
.section .text.unlikely
.LCOLDE1:
.text
.LHOTE1:
.section .text.unlikely
.LCOLDB2:
.text
.LHOTB2:
.globl a
.type a, @function
a:
.LFB2:
# amd64-tailcall-self.c:11
.loc 1 11 0
.cfi_startproc
.LVL1:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (FALLTHRU) 3 [100.0%] (DFS_BACK,CAN_FALLTHRU)
.L5:
# amd64-tailcall-self.c:12
.loc 1 12 0
#APP
# 12 "amd64-tailcall-self.c" 1
nop;nop;nop
# 0 "" 2
# amd64-tailcall-self.c:13
.loc 1 13 0
#NO_APP
movl i(%rip), %edi
leal -1(%rdi), %eax
cmpl $9, %eax
# SUCC: 3 [91.0%] (FALLTHRU,CAN_FALLTHRU) 4 [9.0%] (CAN_FALLTHRU,LOOP_EXIT)
ja .L4
# BLOCK 3 freq:9100 seq:1
# PRED: 2 [91.0%] (FALLTHRU,CAN_FALLTHRU)
# amd64-tailcall-self.c:14
.loc 1 14 0
orl $1, %edi
movl %edi, i(%rip)
# SUCC: 2 [100.0%] (DFS_BACK,CAN_FALLTHRU)
jmp .L5
.Lfirsttailcall:
# BLOCK 4 freq:900 seq:2
# PRED: 2 [9.0%] (CAN_FALLTHRU,LOOP_EXIT)
.L4:
# amd64-tailcall-self.c:16
.loc 1 16 0
cmpl $0, %edi
# SUCC: 5 [19.9%] (FALLTHRU,CAN_FALLTHRU) 6 [80.1%] (CAN_FALLTHRU)
jne .L3
# BLOCK 5 freq:179 seq:3
# PRED: 4 [19.9%] (FALLTHRU,CAN_FALLTHRU)
# SUCC: EXIT [100.0%] (ABNORMAL,SIBCALL)
# amd64-tailcall-self.c:17
.loc 1 17 0
jmp b
.LVL2:
# BLOCK 6 freq:721 seq:4
# PRED: 4 [80.1%] (CAN_FALLTHRU)
.L3:
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE2:
.size a, .-a
.section .text.unlikely
.LCOLDE2:
.text
.LHOTE2:
.section .text.unlikely
.LCOLDB3:
.section .text.startup,"ax",@progbits
.LHOTB3:
.globl main
.type main, @function
main:
.LFB3:
# amd64-tailcall-self.c:20
.loc 1 20 0
.cfi_startproc
.LVL3:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (FALLTHRU)
# amd64-tailcall-self.c:21
.loc 1 21 0
call a
.LVL4:
# amd64-tailcall-self.c:23
.loc 1 23 0
xorl %eax, %eax
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE3:
.size main, .-main
.section .text.unlikely
.LCOLDE3:
.section .text.startup
.LHOTE3:
.comm i,4,4
.text
.Letext0:
.section .text.unlikely
.Letext_cold0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 2f-1f # Length of Compilation Unit Info
1:
.value 0x4 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF4 # DW_AT_producer: "GNU C 4.9.2 20150212 (Red Hat 4.9.2-6) -mtune=generic -march=x86-64 -g -Os"
.byte 0x1 # DW_AT_language
.long .LASF5 # DW_AT_name: "amd64-tailcall-self.c"
.long .LASF6 # DW_AT_comp_dir: "/home/jkratoch/t"
.long .Ldebug_ranges0+0 # DW_AT_ranges
.quad 0 # DW_AT_low_pc
.long .Ldebug_line0 # DW_AT_stmt_list
die29:
.uleb128 0x2 # (DIE (0x29) DW_TAG_subprogram)
.ascii "b\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (amd64-tailcall-self.c)
.byte 0x1 # DW_AT_decl_line
# DW_AT_prototyped
.quad .LFB0 # DW_AT_low_pc
.quad .LFE0-.LFB0 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
.uleb128 0x3 # (DIE (0x40) DW_TAG_subprogram)
# DW_AT_external
.ascii "c\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (amd64-tailcall-self.c)
.byte 0x7 # DW_AT_decl_line
# DW_AT_prototyped
.long die6b - .Ldebug_info0 # DW_AT_type
.quad .LFB1 # DW_AT_low_pc
.quad .LFE1-.LFB1 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
.uleb128 0x4 # (DIE (0x5f) DW_TAG_formal_parameter)
.ascii "q\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (amd64-tailcall-self.c)
.byte 0x7 # DW_AT_decl_line
.long die6b - .Ldebug_info0 # DW_AT_type
.uleb128 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0 # end of children of DIE 0x40
die6b:
.uleb128 0x5 # (DIE (0x6b) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
die72:
.uleb128 0x6 # (DIE (0x72) DW_TAG_subprogram)
# DW_AT_external
.ascii "a\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (amd64-tailcall-self.c)
.byte 0xb # DW_AT_decl_line
# DW_AT_prototyped
.quad .LFB2 # DW_AT_low_pc
.quad .LFE2-.LFB2 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
.uleb128 0x4 # (DIE (0x8d) DW_TAG_formal_parameter)
.ascii "q\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (amd64-tailcall-self.c)
.byte 0xb # DW_AT_decl_line
.long die6b - .Ldebug_info0 # DW_AT_type
.uleb128 0x4 # DW_AT_location
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.uleb128 0x7 # (DIE () DW_TAG_GNU_call_site)
.quad .Lfirsttailcall # DW_AT_low_pc
# DW_AT_GNU_tail_call
.long die72 - .Ldebug_info0 # DW_AT_abstract_origin
.uleb128 0x7 # (DIE (0x9b) DW_TAG_GNU_call_site)
.quad .LVL2 # DW_AT_low_pc
# DW_AT_GNU_tail_call
.long die29 - .Ldebug_info0 # DW_AT_abstract_origin
.byte 0 # end of children of DIE 0x72
.uleb128 0x8 # (DIE (0xa9) DW_TAG_subprogram)
# DW_AT_external
.long .LASF0 # DW_AT_name: "main"
.byte 0x1 # DW_AT_decl_file (amd64-tailcall-self.c)
.byte 0x14 # DW_AT_decl_line
# DW_AT_prototyped
.long die6b - .Ldebug_info0 # DW_AT_type
.quad .LFB3 # DW_AT_low_pc
.quad .LFE3-.LFB3 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
.uleb128 0x9 # (DIE (0xca) DW_TAG_formal_parameter)
.long .LASF1 # DW_AT_name: "argc"
.byte 0x1 # DW_AT_decl_file (amd64-tailcall-self.c)
.byte 0x14 # DW_AT_decl_line
.long die6b - .Ldebug_info0 # DW_AT_type
.long .LLST0 # DW_AT_location
.uleb128 0x9 # (DIE (0xd9) DW_TAG_formal_parameter)
.long .LASF2 # DW_AT_name: "argv"
.byte 0x1 # DW_AT_decl_file (amd64-tailcall-self.c)
.byte 0x14 # DW_AT_decl_line
.long diefe - .Ldebug_info0 # DW_AT_type
.long .LLST1 # DW_AT_location
.uleb128 0xa # (DIE (0xe8) DW_TAG_GNU_call_site)
.quad .LVL4 # DW_AT_low_pc
.long die72 - .Ldebug_info0 # DW_AT_abstract_origin
.uleb128 0xb # (DIE (0xf5) DW_TAG_GNU_call_site_parameter)
.uleb128 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.uleb128 0x3 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0 # end of children of DIE 0xe8
.byte 0 # end of children of DIE 0xa9
diefe:
.uleb128 0xc # (DIE (0xfe) DW_TAG_pointer_type)
.byte 0x8 # DW_AT_byte_size
.long die104 - .Ldebug_info0 # DW_AT_type
die104:
.uleb128 0xc # (DIE (0x104) DW_TAG_pointer_type)
.byte 0x8 # DW_AT_byte_size
.long die10a - .Ldebug_info0 # DW_AT_type
die10a:
.uleb128 0xd # (DIE (0x10a) DW_TAG_base_type)
.byte 0x1 # DW_AT_byte_size
.byte 0x6 # DW_AT_encoding
.long .LASF3 # DW_AT_name: "char"
.uleb128 0xe # (DIE (0x111) DW_TAG_variable)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (amd64-tailcall-self.c)
.byte 0x5 # DW_AT_decl_line
.long die6b - .Ldebug_info0 # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad i
.byte 0 # end of children of DIE 0xb
2:
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x55 # (DW_AT_ranges)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x17 # (DW_FORM_sec_offset)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.byte 0
.byte 0
.uleb128 0x4 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x5 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0
.byte 0
.uleb128 0x6 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.byte 0
.byte 0
.uleb128 0x7 # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0 # DW_children_no
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x2115 # (DW_AT_GNU_tail_call)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x8 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.byte 0
.byte 0
.uleb128 0x9 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x17 # (DW_FORM_sec_offset)
.byte 0
.byte 0
.uleb128 0xa # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0x1 # DW_children_yes
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xb # (abbrev code)
.uleb128 0x410a # (TAG: DW_TAG_GNU_call_site_parameter)
.byte 0 # DW_children_no
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2111 # (DW_AT_GNU_call_site_value)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0xc # (abbrev code)
.uleb128 0xf # (TAG: DW_TAG_pointer_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xd # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.byte 0
.byte 0
.uleb128 0xe # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.byte 0
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.quad .LVL3 # Location list begin address (*.LLST0)
.quad .LVL4-1 # Location list end address (*.LLST0)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL4-1 # Location list begin address (*.LLST0)
.quad .LFE3 # Location list end address (*.LLST0)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST0)
.quad 0 # Location list terminator end (*.LLST0)
.LLST1:
.quad .LVL3 # Location list begin address (*.LLST1)
.quad .LVL4-1 # Location list end address (*.LLST1)
.value 0x1 # Location expression size
.byte 0x54 # DW_OP_reg4
.quad .LVL4-1 # Location list begin address (*.LLST1)
.quad .LFE3 # Location list end address (*.LLST1)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x54 # DW_OP_reg4
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST1)
.quad 0 # Location list terminator end (*.LLST1)
.section .debug_aranges,"",@progbits
.long 0x3c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 16 byte boundary
.value 0
.quad .Ltext0 # Address
.quad .Letext0-.Ltext0 # Length
.quad .LFB3 # Address
.quad .LFE3-.LFB3 # Length
.quad 0
.quad 0
.section .debug_ranges,"",@progbits
.Ldebug_ranges0:
.quad .Ltext0 # Offset 0
.quad .Letext0
.quad .LFB3 # Offset 0x10
.quad .LFE3
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF1:
.string "argc"
.LASF0:
.string "main"
.LASF4:
.string "GNU C 4.9.2 20150212 (Red Hat 4.9.2-6) -mtune=generic -march=x86-64 -g -Os"
.LASF5:
.string "amd64-tailcall-self.c"
.LASF6:
.string ""
.LASF3:
.string "char"
.LASF2:
.string "argv"
.ident "GCC: (GNU) 4.9.2 20150212 (Red Hat 4.9.2-6)"
|
stsp/binutils-ia16
| 7,422
|
gdb/testsuite/gdb.arch/arm-disp-step.S
|
/* Copyright 2010-2022 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.syntax unified
.text
.type main,%function
#if defined (__thumb__)
.code 16
.thumb_func
#endif
.globl main
main:
push {r7, lr}
add sp, sp, #4
mov r7, sp
/* Test call and return */
.global test_call
test_call:
bl test_call_subr
.global test_ret_end
test_ret_end:
nop @ Location test_ret_end
/* Test branch */
bl test_branch
/* Test ldr from pc */
bl test_ldr_pc
/* Test ldm/stm only in ARM mode */
#if !defined (__thumb__)
bl test_ldm_stm_pc
#endif
/* Test ldrX literal in ARM and Thumb-2 */
#if !defined (__thumb__) || defined(__thumb2__)
bl test_ldr_literal
#endif
/* Test ldr literal in Thumb */
#if defined(__thumb__)
bl test_ldr_literal_16
#endif
/* Test cbnz/cbz in Thumb-2 */
#if defined(__thumb2__)
bl test_cbz_cbnz
#endif
/* Test adr in Thumb and Thumb-2 */
#if defined(__thumb__)
bl test_adr
#endif
/* Test 32-bit adr in ARM and Thumb-2 */
#if defined(__thumb2__) || !defined(__thumb__)
bl test_adr_32bit
#endif
bl test_pop_pc
/* Test str in ARM mode and Thumb-2 */
#if !defined(__thumb__)
bl test_str_pc
#endif
/* Test add with pc in Thumb and Thumb-2 */
#if defined(__thumb__)
bl test_add_rn_pc
#endif
/* Return */
mov sp, r7
sub sp, sp, #4
movs r0, #0
pop {r7, pc}
.size main, .-main
.global test_call_subr
#if defined (__thumb__)
.code 16
.thumb_func
#endif
.type test_call_subr, %function
test_call_subr:
nop
.global test_call_end
test_call_end:
nop @ Location test_call_end
.global test_ret
test_ret:
bx lr
.size test_call_subr, .-test_call_subr
.global test_branch
#if defined (__thumb__)
.code 16
.thumb_func
#endif
.type test_branch, %function
test_branch:
b L_branch
.global L_branch
L_branch:
bx lr
.size test_branch, .-test_branch
.global test_ldr_pc
#if defined (__thumb__)
.code 16
.thumb_func
#endif
.type test_ldr_pc, %function
test_ldr_pc:
ldr r1, [pc, #0]
.global test_ldr_pc_ret
test_ldr_pc_ret:
bx lr
.size test_ldr_pc, .-test_ldr_pc
#if !defined (__thumb__)
.global test_ldm_stm_pc
.type test_ldm_stm_pc, %function
test_ldm_stm_pc:
stmdb sp!, {lr, pc}
ldmia sp!, {r0, r1}
ldr r0, .L1
stmdb sp!, {r0}
.global test_ldm_pc
test_ldm_pc:
ldmia sp!, {pc}
.global test_ldm_stm_pc_ret
test_ldm_stm_pc_ret:
bx lr
.align 2
.L1:
.word test_ldm_stm_pc_ret
.size test_ldm_stm_pc, .-test_ldm_stm_pc
#endif
#if !defined (__thumb__) || defined(__thumb2__)
.global test_ldr_literal
.type test_ldr_literal, %function
test_ldr_literal:
ldrh r0, [pc]
.global test_ldrsb_literal
test_ldrsb_literal:
ldrsb r0, [pc]
.global test_ldrsh_literal
test_ldrsh_literal:
ldrsh r0, [pc]
.global test_ldr_literal_end
test_ldr_literal_end:
bx lr
.size test_ldr_literal, .-test_ldr_literal
#endif
#if defined(__thumb__)
.global test_ldr_literal_16
.code 16
.thumb_func
test_ldr_literal_16:
ldr r0, .L2
.global test_ldr_literal_16_end
test_ldr_literal_16_end:
bx lr
.align 2
.L2:
.word test_ldr_literal_16
.size test_ldr_literal_16, .-test_ldr_literal_16
#endif
#if defined(__thumb2__)
.global test_cbz_cbnz
.code 16
.thumb_func
test_cbz_cbnz:
movs r0, #0
.global test_zero_cbnz
test_zero_cbnz:
cbnz r0, .L3
.global test_zero_cbz
test_zero_cbz:
cbz r0, .L3
.L3:
movs r0, #1
.global test_non_zero_cbz
test_non_zero_cbz:
cbz r0, .L4
.global test_non_zero_cbnz
test_non_zero_cbnz:
cbnz r0, .L4
nop
.L4:
.global test_cbz_cbnz_end
test_cbz_cbnz_end:
bx lr
.size test_cbz_cbnz, .-test_cbz_cbnz
#endif
#if defined(__thumb__)
.global test_adr
.code 16
.thumb_func
test_adr:
adr r0, .L8
nop
nop
nop
.L8:
.global test_adr_end
test_adr_end:
bx lr
.size test_adr, .-test_adr
#endif
#if defined(__thumb2__) || !defined(__thumb__)
.global test_adr_32bit
#if defined(__thumb2__)
.code 16
.thumb_func
#endif
test_adr_32bit:
adr r0, .L6
nop
.L6:
nop
.global test_adr_32bit_after
test_adr_32bit_after:
adr r0, .L6
.global test_adr_32bit_end
test_adr_32bit_end:
bx lr
.size test_adr_32bit, .-test_adr_32bit
#endif
.global test_pop_pc
.type test_pop_pc, %function
#if defined(__thumb__)
.code 16
.thumb_func
#endif
test_pop_pc:
ldr r1, .L1_right
ldr r2, .L1_wrong
#if defined(__thumb__)
movs r0, #1
orrs r1, r0
orrs r2, r0
#endif
push {r1}
push {r2}
.global test_pop_pc_1
test_pop_pc_1:
pop {r1, pc}
test_pop_pc_2_start:
ldr r1, .L2_right
#if defined(__thumb__)
movs r0, #1
orrs r1, r0
#endif
push {r1}
.global test_pop_pc_2
test_pop_pc_2:
pop {pc}
/* Test pop instruction with full register list. */
test_pop_pc_3_start:
ldr r1, .L3_right
ldr r2, .L3_wrong
#if defined(__thumb__)
movs r0, #1
orrs r1, r0
orrs r2, r0
#endif
push {r7}
push {r1} /* Push the right address so that PC will get it. */
/* Push the wrong address so r0-r7 will get the wrong a ddress. If PC
is set from any of them, we can get a FAIL. */
push {r2}
push {r2}
push {r2}
push {r2}
push {r2}
push {r2}
push {r2}
push {r2}
test_pop_pc_3:
pop {r0,r1,r2,r3,r4,r5,r6,r7,pc}
.global test_pop_pc_ret
test_pop_pc_ret:
pop {r7}
bx lr
.global test_pop_pc_1_right
test_pop_pc_1_right:
b test_pop_pc_2_start /* right */
.global test_pop_pc_1_wrong
test_pop_pc_1_wrong:
b test_pop_pc_2_start /* wrong */
.global test_pop_pc_2_right
test_pop_pc_2_right:
b test_pop_pc_3_start /* right */
.global test_pop_pc_2_wrong
test_pop_pc_2_wrong:
b test_pop_pc_3_start /* wrong */
.global test_pop_pc_3_right
test_pop_pc_3_right:
b test_pop_pc_ret /* right */
.global test_pop_pc_3_wrong
test_pop_pc_3_wrong:
b test_pop_pc_ret /* wrong */
.align 2
.L1_right:
.word test_pop_pc_1_right
.L1_wrong:
.word test_pop_pc_1_wrong
.L2_right:
.word test_pop_pc_2_right
.L2_wrong:
.word test_pop_pc_2_wrong
.L3_right:
.word test_pop_pc_3_right
.L3_wrong:
.word test_pop_pc_3_wrong
.size test_pop_pc, .-test_pop_pc
#if !defined(__thumb__)
#if defined (__thumb2__)
.code 16
.thumb_func
#endif
.global test_str_pc
.type test_str_pc, %function
test_str_pc:
str pc, [sp, #-4]
ldr r0, [sp, #-4]
sub r0, r0, pc
/* compute offset again without displaced stepping. */
str pc, [sp, #-4]
ldr r1, [sp, #-4]
sub r1, r1, pc
/* r0 should be equal to r1. */
cmp r0, r1
bne pc_offset_wrong
.global pc_offset_right
pc_offset_right:
b test_str_pc_end
.global pc_offset_wrong
pc_offset_wrong:
nop
.global test_str_pc_end
test_str_pc_end:
bx lr
#endif
#if defined(__thumb__)
.global test_add_rn_pc
.code 16
.thumb_func
test_add_rn_pc:
mov r3, 4
test_add_rn_pc_start:
add r3, pc
.global test_add_rn_pc_end
test_add_rn_pc_end:
bx lr
.size test_add_rn_pc, .-test_add_rn_pc
#endif
|
stsp/binutils-ia16
| 1,199
|
gdb/testsuite/gdb.arch/powerpc-addpcis.s
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2021-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Test to confirm that gdb is properly single stepping over the
displaced addpcis instruction. */
.global main
.type main,function
# addpcis: the sum of NIA + ( D || 0x0000) is placed in RT.
main:
subpcis 3,+0x100 # /* set r3 */
subpcis 4,+0x10 # /* set r4 */
subpcis 5,+0x1 # /* set r5 */
lnia 6 # /* set r6 */
addpcis 7,+0x1 # /* set r7 */
addpcis 8,+0x10 # /* set r8 */
addpcis 9,+0x100 # /* set r9 */
blr
|
stsp/binutils-ia16
| 23,200
|
gdb/testsuite/gdb.arch/amd64-entry-value-param-dwarf5.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2012-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This file is compiled from gdb.arch/amd64-entry-value-param-dwarf5.c
using -g -dA -S -O2. */
.file "amd64-entry-value-param-dwarf5.c"
.text
.Ltext0:
.p2align 4,,15
.type foo.isra.0.constprop.2, @function
foo.isra.0.constprop.2:
.LFB4:
/* gdb.arch/amd64-entry-value-param-dwarf5.c:21 */
.LM1:
.cfi_startproc
.LVL0:
/* BLOCK 2 freq:10000 seq:0 */
/* PRED: ENTRY [100.0%] (FALLTHRU) */
/* gdb.arch/amd64-entry-value-param-dwarf5.c:26 */
.LM2:
movl vv(%rip), %eax
addl $1, %eax
movl %eax, vv(%rip)
/* gdb.arch/amd64-entry-value-param-dwarf5.c:27 */
.LM3:
leal 3(%rdi), %eax
/* SUCC: EXIT [100.0%] */
/* gdb.arch/amd64-entry-value-param-dwarf5.c:28 */
.LM4:
ret
.cfi_endproc
.LFE4:
.size foo.isra.0.constprop.2, .-foo.isra.0.constprop.2
.p2align 4,,15
.type bar.constprop.1, @function
bar.constprop.1:
.LFB5:
/* gdb.arch/amd64-entry-value-param-dwarf5.c:31 */
.LM5:
.cfi_startproc
/* BLOCK 2 freq:10000 seq:0 */
/* PRED: ENTRY [100.0%] (FALLTHRU) */
.LVL1:
/* gdb.arch/amd64-entry-value-param-dwarf5.c:33 */
.LM6:
movl $10, %edi
call foo.isra.0.constprop.2
.LVL2:
movl $10, %edi
movl %eax, %edx
call foo.isra.0.constprop.2
.LVL3:
movl $16, %edi
addl %eax, %edx
call foo.isra.0.constprop.2
.LVL4:
leal 10(%rdx,%rax), %eax
/* SUCC: EXIT [100.0%] */
/* gdb.arch/amd64-entry-value-param-dwarf5.c:34 */
.LM7:
ret
.cfi_endproc
.LFE5:
.size bar.constprop.1, .-bar.constprop.1
.section .text.startup,"ax",@progbits
.p2align 4,,15
.globl main
.type main, @function
main:
.LFB2:
/* gdb.arch/amd64-entry-value-param-dwarf5.c:38 */
.LM8:
.cfi_startproc
/* BLOCK 2 freq:10000 seq:0 */
/* PRED: ENTRY [100.0%] (FALLTHRU) */
/* SUCC: EXIT [100.0%] (ABNORMAL,SIBCALL) */
/* gdb.arch/amd64-entry-value-param-dwarf5.c:39 */
.LM9:
jmp bar.constprop.1
.LVL5:
.cfi_endproc
.LFE2:
.size main, .-main
.comm vv,4,4
.text
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0x199 /* Length of Compilation Unit Info */
.value 0x5 /* DWARF version number */
.byte 0x1 /* DW_UT_compile */
.byte 0x8 /* Pointer Size (in bytes) */
.long .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.uleb128 0xa /* (DIE (0xc) DW_TAG_compile_unit) */
.long .LASF2 /* DW_AT_producer: "GNU C11 7.0.1 20170218 (experimental) -mtune=generic -march=x86-64 -gdwarf-5 -O2" */
.byte 0x1d /* DW_AT_language */
.long .LASF0 /* DW_AT_name: "gdb.arch/amd64-entry-value-param-dwarf5.c" */
.long .LASF1 /* DW_AT_comp_dir: "" */
.long .LLRL0 /* DW_AT_ranges */
.quad 0 /* DW_AT_low_pc */
.long .Ldebug_line0 /* DW_AT_stmt_list */
.uleb128 0xb /* (DIE (0x2a) DW_TAG_variable) */
.ascii "vv\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (gdb.arch/amd64-entry-value-param-dwarf5.c) */
.byte 0x12 /* DW_AT_decl_line */
.long 0x45 /* DW_AT_type */
/* DW_AT_external */
.uleb128 0x9 /* DW_AT_location */
.byte 0x3 /* DW_OP_addr */
.quad vv
.uleb128 0xc /* (DIE (0x3e) DW_TAG_base_type) */
.byte 0x4 /* DW_AT_byte_size */
.byte 0x5 /* DW_AT_encoding */
.ascii "int\0" /* DW_AT_name */
.uleb128 0xd /* (DIE (0x45) DW_TAG_volatile_type) */
.long 0x3e /* DW_AT_type */
.uleb128 0xe /* (DIE (0x4a) DW_TAG_subprogram) */
/* DW_AT_external */
.long .LASF3 /* DW_AT_name: "main" */
.byte 0x1 /* DW_AT_decl_file (gdb.arch/amd64-entry-value-param-dwarf5.c) */
.byte 0x25 /* DW_AT_decl_line */
/* DW_AT_prototyped */
.long 0x3e /* DW_AT_type */
.quad .LFB2 /* DW_AT_low_pc */
.quad .LFE2-.LFB2 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_AT_frame_base */
.byte 0x9c /* DW_OP_call_frame_cfa */
/* DW_AT_call_all_calls */
.long 0x79 /* DW_AT_sibling */
.uleb128 0xf /* (DIE (0x6b) DW_TAG_call_site) */
.quad .LVL5 /* DW_AT_call_return_pc */
/* DW_AT_call_tail_call */
.long 0x125 /* DW_AT_call_origin */
.byte 0 /* end of children of DIE 0x4a */
.uleb128 0x5 /* (DIE (0x79) DW_TAG_subprogram) */
.ascii "bar\0" /* DW_AT_name */
/* DW_AT_decl_file (1, gdb.arch/amd64-entry-value-param-dwarf5.c) */
.byte 0x1f /* DW_AT_decl_line */
/* DW_AT_prototyped */
.long 0x3e /* DW_AT_type */
.byte 0x1 /* DW_AT_inline */
.long 0x91 /* DW_AT_sibling */
.uleb128 0x1 /* (DIE (0x88) DW_TAG_formal_parameter) */
.ascii "x\0" /* DW_AT_name */
/* DW_AT_decl_file (1, gdb.arch/amd64-entry-value-param-dwarf5.c) */
.byte 0x1f /* DW_AT_decl_line */
.long 0x3e /* DW_AT_type */
.byte 0 /* end of children of DIE 0x79 */
.uleb128 0x5 /* (DIE (0x91) DW_TAG_subprogram) */
.ascii "foo\0" /* DW_AT_name */
/* DW_AT_decl_file (1, gdb.arch/amd64-entry-value-param-dwarf5.c) */
.byte 0x15 /* DW_AT_decl_line */
/* DW_AT_prototyped */
.long 0x3e /* DW_AT_type */
.byte 0 /* DW_AT_inline */
.long 0xd1 /* DW_AT_sibling */
.uleb128 0x1 /* (DIE (0xa0) DW_TAG_formal_parameter) */
.ascii "x\0" /* DW_AT_name */
/* DW_AT_decl_file (1, gdb.arch/amd64-entry-value-param-dwarf5.c) */
.byte 0x15 /* DW_AT_decl_line */
.long 0x3e /* DW_AT_type */
.uleb128 0x1 /* (DIE (0xa8) DW_TAG_formal_parameter) */
.ascii "y\0" /* DW_AT_name */
/* DW_AT_decl_file (1, gdb.arch/amd64-entry-value-param-dwarf5.c) */
.byte 0x15 /* DW_AT_decl_line */
.long 0x3e /* DW_AT_type */
.uleb128 0x1 /* (DIE (0xb0) DW_TAG_formal_parameter) */
.ascii "z\0" /* DW_AT_name */
/* DW_AT_decl_file (1, gdb.arch/amd64-entry-value-param-dwarf5.c) */
.byte 0x15 /* DW_AT_decl_line */
.long 0x3e /* DW_AT_type */
.uleb128 0x2 /* (DIE (0xb8) DW_TAG_variable) */
.ascii "a\0" /* DW_AT_name */
/* DW_AT_decl_file (1, gdb.arch/amd64-entry-value-param-dwarf5.c) */
.byte 0x17 /* DW_AT_decl_line */
.long 0x3e /* DW_AT_type */
.uleb128 0x2 /* (DIE (0xc0) DW_TAG_variable) */
.ascii "b\0" /* DW_AT_name */
/* DW_AT_decl_file (1, gdb.arch/amd64-entry-value-param-dwarf5.c) */
.byte 0x18 /* DW_AT_decl_line */
.long 0x3e /* DW_AT_type */
.uleb128 0x2 /* (DIE (0xc8) DW_TAG_variable) */
.ascii "c\0" /* DW_AT_name */
/* DW_AT_decl_file (1, gdb.arch/amd64-entry-value-param-dwarf5.c) */
.byte 0x19 /* DW_AT_decl_line */
.long 0x3e /* DW_AT_type */
.byte 0 /* end of children of DIE 0x91 */
.uleb128 0x10 /* (DIE (0xd1) DW_TAG_subprogram) */
.long 0x91 /* DW_AT_abstract_origin */
.quad .LFB4 /* DW_AT_low_pc */
.quad .LFE4-.LFB4 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_AT_frame_base */
.byte 0x9c /* DW_OP_call_frame_cfa */
/* DW_AT_call_all_calls */
.long 0x125 /* DW_AT_sibling */
.uleb128 0x6 /* (DIE (0xec) DW_TAG_formal_parameter) */
.long 0xa0 /* DW_AT_abstract_origin */
.uleb128 0x1 /* DW_AT_location */
.byte 0x55 /* DW_OP_reg5 */
.uleb128 0x6 /* (DIE (0xf3) DW_TAG_formal_parameter) */
.long 0xa8 /* DW_AT_abstract_origin */
.uleb128 0x6 /* DW_AT_location */
.byte 0xfa /* DW_OP_GNU_parameter_ref */
.long 0xa8
.byte 0x9f /* DW_OP_stack_value */
.uleb128 0x7 /* (DIE (0xff) DW_TAG_variable) */
.long 0xb8 /* DW_AT_abstract_origin */
.uleb128 0x5 /* DW_AT_location */
.byte 0x75 /* DW_OP_breg5 */
.sleb128 0
.byte 0x31 /* DW_OP_lit1 */
.byte 0x24 /* DW_OP_shl */
.byte 0x9f /* DW_OP_stack_value */
.uleb128 0x7 /* (DIE (0x10a) DW_TAG_variable) */
.long 0xc0 /* DW_AT_abstract_origin */
.uleb128 0x8 /* DW_AT_location */
.byte 0xfa /* DW_OP_GNU_parameter_ref */
.long 0xa8
.byte 0x31 /* DW_OP_lit1 */
.byte 0x24 /* DW_OP_shl */
.byte 0x9f /* DW_OP_stack_value */
.uleb128 0x11 /* (DIE (0x118) DW_TAG_variable) */
.long 0xc8 /* DW_AT_abstract_origin */
.byte 0x6 /* DW_AT_const_value */
.uleb128 0x8 /* (DIE (0x11e) DW_TAG_formal_parameter) */
.long 0xb0 /* DW_AT_abstract_origin */
.byte 0x3 /* DW_AT_const_value */
.byte 0 /* end of children of DIE 0xd1 */
.uleb128 0x12 /* (DIE (0x125) DW_TAG_subprogram) */
.long 0x79 /* DW_AT_abstract_origin */
.quad .LFB5 /* DW_AT_low_pc */
.quad .LFE5-.LFB5 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_AT_frame_base */
.byte 0x9c /* DW_OP_call_frame_cfa */
/* DW_AT_call_all_calls */
.uleb128 0x8 /* (DIE (0x13c) DW_TAG_formal_parameter) */
.long 0x88 /* DW_AT_abstract_origin */
.byte 0xa /* DW_AT_const_value */
.uleb128 0x9 /* (DIE (0x142) DW_TAG_call_site) */
.quad .LVL2 /* DW_AT_call_return_pc */
.long 0xd1 /* DW_AT_call_origin */
.long 0x161 /* DW_AT_sibling */
.uleb128 0x3 /* (DIE (0x153) DW_TAG_call_site_parameter) */
.uleb128 0x1 /* DW_AT_location */
.byte 0x55 /* DW_OP_reg5 */
.uleb128 0x2 /* DW_AT_call_value */
.byte 0x75 /* DW_OP_breg5 */
.sleb128 0
.uleb128 0x4 /* (DIE (0x159) DW_TAG_call_site_parameter) */
.long 0xa8 /* DW_AT_call_parameter */
.uleb128 0x1 /* DW_AT_call_value */
.byte 0x32 /* DW_OP_lit2 */
.byte 0 /* end of children of DIE 0x142 */
.uleb128 0x9 /* (DIE (0x161) DW_TAG_call_site) */
.quad .LVL3 /* DW_AT_call_return_pc */
.long 0xd1 /* DW_AT_call_origin */
.long 0x180 /* DW_AT_sibling */
.uleb128 0x3 /* (DIE (0x172) DW_TAG_call_site_parameter) */
.uleb128 0x1 /* DW_AT_location */
.byte 0x55 /* DW_OP_reg5 */
.uleb128 0x2 /* DW_AT_call_value */
.byte 0x75 /* DW_OP_breg5 */
.sleb128 0
.uleb128 0x4 /* (DIE (0x178) DW_TAG_call_site_parameter) */
.long 0xa8 /* DW_AT_call_parameter */
.uleb128 0x1 /* DW_AT_call_value */
.byte 0x34 /* DW_OP_lit4 */
.byte 0 /* end of children of DIE 0x161 */
.uleb128 0x13 /* (DIE (0x180) DW_TAG_call_site) */
.quad .LVL4 /* DW_AT_call_return_pc */
.long 0xd1 /* DW_AT_call_origin */
.uleb128 0x3 /* (DIE (0x18d) DW_TAG_call_site_parameter) */
.uleb128 0x1 /* DW_AT_location */
.byte 0x55 /* DW_OP_reg5 */
.uleb128 0x2 /* DW_AT_call_value */
.byte 0x75 /* DW_OP_breg5 */
.sleb128 0
.uleb128 0x4 /* (DIE (0x193) DW_TAG_call_site_parameter) */
.long 0xa8 /* DW_AT_call_parameter */
.uleb128 0x1 /* DW_AT_call_value */
.byte 0x3a /* DW_OP_lit10 */
.byte 0 /* end of children of DIE 0x180 */
.byte 0 /* end of children of DIE 0x125 */
.byte 0 /* end of children of DIE 0xc */
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
.byte 0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0x21 /* (DW_FORM_implicit_const) */
.sleb128 1 /* (gdb.arch/amd64-entry-value-param-dwarf5.c) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0x2 /* (abbrev code) */
.uleb128 0x34 /* (TAG: DW_TAG_variable) */
.byte 0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0x21 /* (DW_FORM_implicit_const) */
.sleb128 1 /* (gdb.arch/amd64-entry-value-param-dwarf5.c) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0x3 /* (abbrev code) */
.uleb128 0x49 /* (TAG: DW_TAG_call_site_parameter) */
.byte 0 /* DW_children_no */
.uleb128 0x2 /* (DW_AT_location) */
.uleb128 0x18 /* (DW_FORM_exprloc) */
.uleb128 0x7e /* (DW_AT_call_value) */
.uleb128 0x18 /* (DW_FORM_exprloc) */
.byte 0
.byte 0
.uleb128 0x4 /* (abbrev code) */
.uleb128 0x49 /* (TAG: DW_TAG_call_site_parameter) */
.byte 0 /* DW_children_no */
.uleb128 0x80 /* (DW_AT_call_parameter) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x7e /* (DW_AT_call_value) */
.uleb128 0x18 /* (DW_FORM_exprloc) */
.byte 0
.byte 0
.uleb128 0x5 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0x21 /* (DW_FORM_implicit_const) */
.sleb128 1 /* (gdb.arch/amd64-entry-value-param-dwarf5.c) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x27 /* (DW_AT_prototyped) */
.uleb128 0x19 /* (DW_FORM_flag_present) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x20 /* (DW_AT_inline) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x1 /* (DW_AT_sibling) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0x6 /* (abbrev code) */
.uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
.byte 0 /* DW_children_no */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x2 /* (DW_AT_location) */
.uleb128 0x18 /* (DW_FORM_exprloc) */
.byte 0
.byte 0
.uleb128 0x7 /* (abbrev code) */
.uleb128 0x34 /* (TAG: DW_TAG_variable) */
.byte 0 /* DW_children_no */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x2 /* (DW_AT_location) */
.uleb128 0x18 /* (DW_FORM_exprloc) */
.byte 0
.byte 0
.uleb128 0x8 /* (abbrev code) */
.uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
.byte 0 /* DW_children_no */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x1c /* (DW_AT_const_value) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0
.byte 0
.uleb128 0x9 /* (abbrev code) */
.uleb128 0x48 /* (TAG: DW_TAG_call_site) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x7d /* (DW_AT_call_return_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x7f /* (DW_AT_call_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x1 /* (DW_AT_sibling) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0xa /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0xe /* (DW_FORM_strp) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x1f /* (DW_FORM_line_strp) */
.uleb128 0x1b /* (DW_AT_comp_dir) */
.uleb128 0x1f /* (DW_FORM_line_strp) */
.uleb128 0x55 /* (DW_AT_ranges) */
.uleb128 0x17 /* (DW_FORM_sec_offset) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x10 /* (DW_AT_stmt_list) */
.uleb128 0x17 /* (DW_FORM_sec_offset) */
.byte 0
.byte 0
.uleb128 0xb /* (abbrev code) */
.uleb128 0x34 /* (TAG: DW_TAG_variable) */
.byte 0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0x19 /* (DW_FORM_flag_present) */
.uleb128 0x2 /* (DW_AT_location) */
.uleb128 0x18 /* (DW_FORM_exprloc) */
.byte 0
.byte 0
.uleb128 0xc /* (abbrev code) */
.uleb128 0x24 /* (TAG: DW_TAG_base_type) */
.byte 0 /* DW_children_no */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3e /* (DW_AT_encoding) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.byte 0
.byte 0
.uleb128 0xd /* (abbrev code) */
.uleb128 0x35 /* (TAG: DW_TAG_volatile_type) */
.byte 0 /* DW_children_no */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0xe /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0x19 /* (DW_FORM_flag_present) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0xe /* (DW_FORM_strp) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x27 /* (DW_AT_prototyped) */
.uleb128 0x19 /* (DW_FORM_flag_present) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x7 /* (DW_FORM_data8) */
.uleb128 0x40 /* (DW_AT_frame_base) */
.uleb128 0x18 /* (DW_FORM_exprloc) */
.uleb128 0x7a /* (DW_AT_call_all_calls) */
.uleb128 0x19 /* (DW_FORM_flag_present) */
.uleb128 0x1 /* (DW_AT_sibling) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0xf /* (abbrev code) */
.uleb128 0x48 /* (TAG: DW_TAG_call_site) */
.byte 0 /* DW_children_no */
.uleb128 0x7d /* (DW_AT_call_return_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x82 /* (DW_AT_call_tail_call) */
.uleb128 0x19 /* (DW_FORM_flag_present) */
.uleb128 0x7f /* (DW_AT_call_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0x10 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x7 /* (DW_FORM_data8) */
.uleb128 0x40 /* (DW_AT_frame_base) */
.uleb128 0x18 /* (DW_FORM_exprloc) */
.uleb128 0x7a /* (DW_AT_call_all_calls) */
.uleb128 0x19 /* (DW_FORM_flag_present) */
.uleb128 0x1 /* (DW_AT_sibling) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0x11 /* (abbrev code) */
.uleb128 0x34 /* (TAG: DW_TAG_variable) */
.byte 0 /* DW_children_no */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x1c /* (DW_AT_const_value) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0
.byte 0
.uleb128 0x12 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x7 /* (DW_FORM_data8) */
.uleb128 0x40 /* (DW_AT_frame_base) */
.uleb128 0x18 /* (DW_FORM_exprloc) */
.uleb128 0x7a /* (DW_AT_call_all_calls) */
.uleb128 0x19 /* (DW_FORM_flag_present) */
.byte 0
.byte 0
.uleb128 0x13 /* (abbrev code) */
.uleb128 0x48 /* (TAG: DW_TAG_call_site) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x7d /* (DW_AT_call_return_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x7f /* (DW_AT_call_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.byte 0
.section .debug_aranges,"",@progbits
.long 0x3c /* Length of Address Ranges Info */
.value 0x2 /* DWARF Version */
.long .Ldebug_info0 /* Offset of Compilation Unit Info */
.byte 0x8 /* Size of Address */
.byte 0 /* Size of Segment Descriptor */
.value 0 /* Pad to 16 byte boundary */
.value 0
.quad .Ltext0 /* Address */
.quad .Letext0-.Ltext0 /* Length */
.quad .LFB2 /* Address */
.quad .LFE2-.LFB2 /* Length */
.quad 0
.quad 0
.section .debug_rnglists,"",@progbits
.Ldebug_ranges0:
.long .Ldebug_ranges3-.Ldebug_ranges2 /* Length of Range Lists */
.Ldebug_ranges2:
.value 0x5 /* DWARF Version */
.byte 0x8 /* Address Size */
.byte 0 /* Segment Size */
.long 0 /* Offset Entry Count */
.LLRL0:
.byte 0x7 /* DW_RLE_start_length (*.LLRL0) */
.quad .Ltext0 /* Range begin address (*.LLRL0) */
.uleb128 .Letext0-.Ltext0 /* Range length (*.LLRL0) */
.byte 0x7 /* DW_RLE_start_length (*.LLRL0) */
.quad .LFB2 /* Range begin address (*.LLRL0) */
.uleb128 .LFE2-.LFB2 /* Range length (*.LLRL0) */
.byte 0 /* DW_RLE_end_of_list (*.LLRL0) */
.Ldebug_ranges3:
.section .debug_line,"",@progbits
.Ldebug_line0:
.long .LELT0-.LSLT0 /* Length of Source Line Info */
.LSLT0:
.value 0x5 /* DWARF Version */
.byte 0x8 /* Address Size */
.byte 0 /* Segment Size */
.long .LELTP0-.LASLTP0 /* Prolog Length */
.LASLTP0:
.byte 0x1 /* Minimum Instruction Length */
.byte 0x1 /* Maximum Operations Per Instruction */
.byte 0x1 /* Default is_stmt_start flag */
.byte 0xf6 /* Line Base Value (Special Opcodes) */
.byte 0xf2 /* Line Range Value (Special Opcodes) */
.byte 0xd /* Special Opcode Base */
.byte 0 /* opcode: 0x1 has 0 args */
.byte 0x1 /* opcode: 0x2 has 1 args */
.byte 0x1 /* opcode: 0x3 has 1 args */
.byte 0x1 /* opcode: 0x4 has 1 args */
.byte 0x1 /* opcode: 0x5 has 1 args */
.byte 0 /* opcode: 0x6 has 0 args */
.byte 0 /* opcode: 0x7 has 0 args */
.byte 0 /* opcode: 0x8 has 0 args */
.byte 0x1 /* opcode: 0x9 has 1 args */
.byte 0 /* opcode: 0xa has 0 args */
.byte 0 /* opcode: 0xb has 0 args */
.byte 0x1 /* opcode: 0xc has 1 args */
.byte 0x1 /* Directory entry format count */
.uleb128 0x1 /* DW_LNCT_path */
.uleb128 0x1f /* DW_FORM_line_strp */
.uleb128 0x2 /* Directories count */
.long .LASF1 /* Directory Entry: 0: "" */
.long .LASF4 /* Directory Entry: 0: "gdb.arch" */
.byte 0x2 /* File name entry format count */
.uleb128 0x1 /* DW_LNCT_path */
.uleb128 0x1f /* DW_FORM_line_strp */
.uleb128 0x2 /* DW_LNCT_directory_index */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x2 /* File names count */
.long .LASF0 /* File Entry: 0: "gdb.arch/amd64-entry-value-param-dwarf5.c" */
.byte 0
.long .LASF5 /* File Entry: 0: "amd64-entry-value-param-dwarf5.c" */
.byte 0x1
.LELTP0:
.byte 0 /* set address *.LM8 */
.uleb128 0x9
.byte 0x2
.quad .LM8
.byte 0x3c /* line 38 */
.byte 0 /* set address *.LM9 */
.uleb128 0x9
.byte 0x2
.quad .LM9
.byte 0x18 /* line 39 */
.byte 0 /* set address *.LFE2 */
.uleb128 0x9
.byte 0x2
.quad .LFE2
.byte 0 /* end sequence */
.uleb128 0x1
.byte 0x1
.byte 0 /* set address *.LM1 */
.uleb128 0x9
.byte 0x2
.quad .LM1
.byte 0x2b /* line 21 */
.byte 0 /* set address *.LM2 */
.uleb128 0x9
.byte 0x2
.quad .LM2
.byte 0x1c /* line 26 */
.byte 0 /* set address *.LM3 */
.uleb128 0x9
.byte 0x2
.quad .LM3
.byte 0x18 /* line 27 */
.byte 0 /* set address *.LM4 */
.uleb128 0x9
.byte 0x2
.quad .LM4
.byte 0x18 /* line 28 */
.byte 0 /* set address *.LM5 */
.uleb128 0x9
.byte 0x2
.quad .LM5
.byte 0x1a /* line 31 */
.byte 0 /* set address *.LM6 */
.uleb128 0x9
.byte 0x2
.quad .LM6
.byte 0x19 /* line 33 */
.byte 0 /* set address *.LM7 */
.uleb128 0x9
.byte 0x2
.quad .LM7
.byte 0x18 /* line 34 */
.byte 0 /* set address *.Letext0 */
.uleb128 0x9
.byte 0x2
.quad .Letext0
.byte 0 /* end sequence */
.uleb128 0x1
.byte 0x1
.LELT0:
.section .debug_str,"MS",@progbits,1
.LASF2:
.string "GNU C11 7.0.1 20170218 (experimental) -mtune=generic -march=x86-64 -gdwarf-5 -O2"
.LASF3:
.string "main"
.section .debug_line_str,"MS",@progbits,1
.LASF5:
.string "amd64-entry-value-param-dwarf5.c"
.LASF0:
.string "gdb.arch/amd64-entry-value-param-dwarf5.c"
.LASF1:
.string ""
.LASF4:
.string "gdb.arch"
.ident "GCC: (GNU) 7.0.1 20170218 (experimental)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 1,233
|
gdb/testsuite/gdb.arch/i386-float.S
|
/* Copyright 2009-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
This file is part of the gdb testsuite. */
#define CONCAT1(a, b) CONCAT2(a, b)
#define CONCAT2(a, b) a ## b
#ifdef SYMBOL_PREFIX
# define SYMBOL(str) CONCAT1(SYMBOL_PREFIX, str)
#else
# define SYMBOL(str) str
#endif
.text
.globl SYMBOL(main)
SYMBOL(main):
fninit
fldt val
fldt bigval
fldt smallval
ret
.data
val: .byte 0x00,0x00,0x45,0x07,0x11,0x19,0x22,0xe9,0xfe,0xbf
smallval: .byte 0xe9,0xd0,0xd7,0x65,0x81,0xb7,0x43,0xc6,0x5c,0x6a
bigval: .byte 0x6a,0x45,0x90,0xdc,0x03,0xc1,0xf8,0xc6,0xe5,0x03
|
stsp/binutils-ia16
| 4,520
|
gdb/testsuite/gdb.arch/powerpc-altivec3.s
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2014-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
.globl func
func:
.long 0x117e0001 /* vmul10cuq v11,v30 */
.long 0x13c1b807 /* vcmpneb v30,v1,v23 */
.long 0x13d3f77b /* vpermr v30,v19,v30,v29 */
.long 0x12948841 /* vmul10ecuq v20,v20,v17 */
.long 0x1373f847 /* vcmpneh v27,v19,v31 */
.long 0x10c9b885 /* vrlwmi v6,v9,v23 */
.long 0x12da0887 /* vcmpnew v22,v26,v1 */
.long 0x131ec8c5 /* vrldmi v24,v30,v25 */
.long 0x127db107 /* vcmpnezb v19,v29,v22 */
.long 0x11179947 /* vcmpnezh v8,v23,v19 */
.long 0x13785985 /* vrlwnm v27,v24,v11 */
.long 0x12ad5187 /* vcmpnezw v21,v13,v10 */
.long 0x10b4e9c5 /* vrldnm v5,v20,v29 */
.long 0x13d30201 /* vmul10uq v30,v19 */
.long 0x130caa0d /* vextractub v24,v21,12 */
.long 0x1013e241 /* vmul10euq v0,v19,v28 */
.long 0x114c1a4d /* vextractuh v10,v3,12 */
.long 0x1387628d /* vextractuw v28,v12,7 */
.long 0x13c1dacd /* vextractd v30,v27,1 */
.long 0x1324fb0d /* vinsertb v25,v31,4 */
.long 0x12aef341 /* bcdcpsgn. v21,v14,v30 */
.long 0x12c5934d /* vinserth v22,v18,5 */
.long 0x13a1b38d /* vinsertw v29,v22,1 */
.long 0x13a76bcd /* vinsertd v29,v13,7 */
.long 0x12d94407 /* vcmpneb. v22,v25,v8 */
.long 0x120fac47 /* vcmpneh. v16,v15,v21 */
.long 0x12d5fc81 /* bcdus. v22,v21,v31 */
.long 0x102c6487 /* vcmpnew. v1,v12,v12 */
.long 0x10a346c1 /* bcds. v5,v3,v8,1 */
.long 0x13760d01 /* bcdtrunc. v27,v22,v1,0 */
.long 0x105a0507 /* vcmpnezb. v2,v26,v0 */
.long 0x134e3d41 /* bcdutrunc. v26,v14,v7 */
.long 0x12056547 /* vcmpnezh. v16,v5,v12 */
.long 0x13002d81 /* bcdctsq. v24,v5 */
.long 0x10e20581 /* bcdcfsq. v7,v0,0 */
.long 0x13c46781 /* bcdctz. v30,v12,1 */
.long 0x1225bd81 /* bcdctn. v17,v23 */
.long 0x10867f81 /* bcdcfz. v4,v15,1 */
.long 0x13a72f81 /* bcdcfn. v29,v5,1 */
.long 0x137f6581 /* bcdsetsgn. v27,v12,0 */
.long 0x11dccd87 /* vcmpnezw. v14,v28,v25 */
.long 0x104237c1 /* bcdsr. v2,v2,v6,1 */
.long 0x13202dcc /* vbpermd v25,v0,v5 */
.long 0x1380ce02 /* vclzlsbb r28,v25 */
.long 0x1041c602 /* vctzlsbb r2,v24 */
.long 0x12a65e02 /* vnegw v21,v11 */
.long 0x1227de02 /* vnegd v17,v27 */
.long 0x13e8be02 /* vprtybw v31,v23 */
.long 0x12a9be02 /* vprtybd v21,v23 */
.long 0x12aa9602 /* vprtybq v21,v18 */
.long 0x13d02602 /* vextsb2w v30,v4 */
.long 0x1071d602 /* vextsh2w v3,v26 */
.long 0x11788e02 /* vextsb2d v11,v17 */
.long 0x10b95602 /* vextsh2d v5,v10 */
.long 0x11bace02 /* vextsw2d v13,v25 */
.long 0x133c1602 /* vctzb v25,v2 */
.long 0x101d1e02 /* vctzh v0,v3 */
.long 0x12de3602 /* vctzw v22,v6 */
.long 0x135fc602 /* vctzd v26,v24 */
.long 0x10df160d /* vextublx r6,r31,v2 */
.long 0x11a0964d /* vextuhlx r13,r0,v18 */
.long 0x11defe8d /* vextuwlx r14,r30,v31 */
.long 0x11ec7704 /* vsrv v15,v12,v14 */
.long 0x128af70d /* vextubrx r20,r10,v30 */
.long 0x12b51744 /* vslv v21,v21,v2 */
.long 0x11e90f4d /* vextuhrx r15,r9,v1 */
.long 0x12b1878d /* vextuwrx r21,r17,v16 */
.long 0x1295b5e3 /* vmsumudm v20,v21,v22,v23 */
|
stsp/binutils-ia16
| 20,770
|
gdb/testsuite/gdb.arch/amd64-tailcall-noret.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2013-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This source file was generated by:
gcc -o gdb.arch/amd64-tailcall-noret.S gdb.arch/amd64-tailcall-noret.c -Wall -S -dA -O2 -g
*/
.file "amd64-tailcall-noret.c"
.text
.Ltext0:
.section .text.unlikely,"ax",@progbits
.type noret, @function
noret:
.LFB9:
.file 1 "gdb.arch/amd64-tailcall-noret.c"
# gdb.arch/amd64-tailcall-noret.c:24
.loc 1 24 0
.cfi_startproc
.LVL0:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
pushq %rax
.LCFI0:
.cfi_def_cfa_offset 16
# gdb.arch/amd64-tailcall-noret.c:25
.loc 1 25 0
call abort
.LVL1:
# SUCC:
.cfi_endproc
.LFE9:
.size noret, .-noret
.text
.p2align 4,,15
.type mayret, @function
mayret:
.LFB10:
# gdb.arch/amd64-tailcall-noret.c:30
.loc 1 30 0
.cfi_startproc
.LVL2:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-tailcall-noret.c:31
.loc 1 31 0
movl v(%rip), %eax
testl %eax, %eax
# SUCC: 4 [0.0%] (can_fallthru) 3 [100.0%] (fallthru,can_fallthru)
jne .L8
# BLOCK 3 freq:9996 seq:1
# PRED: 2 [100.0%] (fallthru,can_fallthru)
# SUCC: EXIT [100.0%]
rep
ret
# BLOCK 4 freq:4 seq:2
# PRED: 2 [0.0%] (can_fallthru)
.L8:
# gdb.arch/amd64-tailcall-noret.c:30
.loc 1 30 0
pushq %rdx
.LCFI1:
.cfi_def_cfa_offset 16
# gdb.arch/amd64-tailcall-noret.c:32
.loc 1 32 0
xorl %eax, %eax
call noret
.LVL3:
# SUCC:
.cfi_endproc
.LFE10:
.size mayret, .-mayret
.p2align 4,,15
.type tailcall, @function
tailcall:
.LFB11:
# gdb.arch/amd64-tailcall-noret.c:37
.loc 1 37 0
.cfi_startproc
.LVL4:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# gdb.arch/amd64-tailcall-noret.c:38
.loc 1 38 0
jmp mayret
.LVL5:
# SUCC: EXIT [100.0%] (ab,sibcall)
.cfi_endproc
.LFE11:
.size tailcall, .-tailcall
.section .text.startup,"ax",@progbits
.p2align 4,,15
.globl main
.type main, @function
main:
.LFB12:
# gdb.arch/amd64-tailcall-noret.c:43
.loc 1 43 0
.cfi_startproc
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
subq $8, %rsp
.LCFI2:
.cfi_def_cfa_offset 16
# gdb.arch/amd64-tailcall-noret.c:44
.loc 1 44 0
movl $1, %edi
call tailcall
.LVL6:
# gdb.arch/amd64-tailcall-noret.c:46
.loc 1 46 0
xorl %eax, %eax
addq $8, %rsp
.LCFI3:
.cfi_def_cfa_offset 8
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE12:
.size main, .-main
.globl v
.data
.align 4
.type v, @object
.size v, 4
v:
.long 1
.text
.Letext0:
.file 2 "/usr/include/stdlib.h"
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0x19d # Length of Compilation Unit Info
.value 0x2 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF14 # DW_AT_producer: "GNU C 4.7.3 20130221 (prerelease)"
.byte 0x1 # DW_AT_language
.long .LASF15 # DW_AT_name: "gdb.arch/amd64-tailcall-noret.c"
.long .LASF16 # DW_AT_comp_dir: ""
.long .Ldebug_ranges0+0 # DW_AT_ranges
.quad 0 # DW_AT_low_pc
.quad 0 # DW_AT_entry_pc
.long .Ldebug_line0 # DW_AT_stmt_list
.uleb128 0x2 # (DIE (0x31) DW_TAG_base_type)
.byte 0x8 # DW_AT_byte_size
.byte 0x7 # DW_AT_encoding
.long .LASF0 # DW_AT_name: "long unsigned int"
.uleb128 0x3 # (DIE (0x38) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
.uleb128 0x2 # (DIE (0x3f) DW_TAG_base_type)
.byte 0x1 # DW_AT_byte_size
.byte 0x8 # DW_AT_encoding
.long .LASF1 # DW_AT_name: "unsigned char"
.uleb128 0x2 # (DIE (0x46) DW_TAG_base_type)
.byte 0x2 # DW_AT_byte_size
.byte 0x7 # DW_AT_encoding
.long .LASF2 # DW_AT_name: "short unsigned int"
.uleb128 0x2 # (DIE (0x4d) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x7 # DW_AT_encoding
.long .LASF3 # DW_AT_name: "unsigned int"
.uleb128 0x2 # (DIE (0x54) DW_TAG_base_type)
.byte 0x1 # DW_AT_byte_size
.byte 0x6 # DW_AT_encoding
.long .LASF4 # DW_AT_name: "signed char"
.uleb128 0x2 # (DIE (0x5b) DW_TAG_base_type)
.byte 0x2 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.long .LASF5 # DW_AT_name: "short int"
.uleb128 0x2 # (DIE (0x62) DW_TAG_base_type)
.byte 0x8 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.long .LASF6 # DW_AT_name: "long int"
.uleb128 0x2 # (DIE (0x69) DW_TAG_base_type)
.byte 0x8 # DW_AT_byte_size
.byte 0x7 # DW_AT_encoding
.long .LASF7 # DW_AT_name: "sizetype"
.uleb128 0x2 # (DIE (0x70) DW_TAG_base_type)
.byte 0x1 # DW_AT_byte_size
.byte 0x6 # DW_AT_encoding
.long .LASF8 # DW_AT_name: "char"
.uleb128 0x2 # (DIE (0x77) DW_TAG_base_type)
.byte 0x8 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.long .LASF9 # DW_AT_name: "long long int"
.uleb128 0x2 # (DIE (0x7e) DW_TAG_base_type)
.byte 0x8 # DW_AT_byte_size
.byte 0x7 # DW_AT_encoding
.long .LASF10 # DW_AT_name: "long long unsigned int"
.uleb128 0x4 # (DIE (0x85) DW_TAG_volatile_type)
.long 0x38 # DW_AT_type
.uleb128 0x5 # (DIE (0x8a) DW_TAG_subprogram)
.long .LASF11 # DW_AT_name: "noret"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-tailcall-noret.c)
.byte 0x17 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.quad .LFB9 # DW_AT_low_pc
.quad .LFE9 # DW_AT_high_pc
.long .LLST0 # DW_AT_frame_base
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0xc7 # DW_AT_sibling
.uleb128 0x6 # (DIE (0xab) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-tailcall-noret.c)
.byte 0x17 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST1 # DW_AT_location
.uleb128 0x7 # (DIE (0xb8) DW_TAG_unspecified_parameters)
.uleb128 0x8 # (DIE (0xb9) DW_TAG_GNU_call_site)
.quad .LVL1 # DW_AT_low_pc
.long 0x195 # DW_AT_abstract_origin
.byte 0 # end of children of DIE 0x8a
.uleb128 0x5 # (DIE (0xc7) DW_TAG_subprogram)
.long .LASF12 # DW_AT_name: "mayret"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-tailcall-noret.c)
.byte 0x1d # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.quad .LFB10 # DW_AT_low_pc
.quad .LFE10 # DW_AT_high_pc
.long .LLST2 # DW_AT_frame_base
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x103 # DW_AT_sibling
.uleb128 0x6 # (DIE (0xe8) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-tailcall-noret.c)
.byte 0x1d # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST3 # DW_AT_location
.uleb128 0x8 # (DIE (0xf5) DW_TAG_GNU_call_site)
.quad .LVL3 # DW_AT_low_pc
.long 0x8a # DW_AT_abstract_origin
.byte 0 # end of children of DIE 0xc7
.uleb128 0x9 # (DIE (0x103) DW_TAG_subprogram)
.long .LASF13 # DW_AT_name: "tailcall"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-tailcall-noret.c)
.byte 0x24 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.quad .LFB11 # DW_AT_low_pc
.quad .LFE11 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x147 # DW_AT_sibling
.uleb128 0x6 # (DIE (0x123) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-tailcall-noret.c)
.byte 0x24 # DW_AT_decl_line
.long 0x38 # DW_AT_type
.long .LLST4 # DW_AT_location
.uleb128 0xa # (DIE (0x130) DW_TAG_GNU_call_site)
.quad .LVL5 # DW_AT_low_pc
.byte 0x1 # DW_AT_GNU_tail_call
.long 0xc7 # DW_AT_abstract_origin
.uleb128 0xb # (DIE (0x13e) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x3 # DW_AT_GNU_call_site_value
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0 # end of children of DIE 0x130
.byte 0 # end of children of DIE 0x103
.uleb128 0xc # (DIE (0x147) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF17 # DW_AT_name: "main"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-tailcall-noret.c)
.byte 0x2a # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x38 # DW_AT_type
.quad .LFB12 # DW_AT_low_pc
.quad .LFE12 # DW_AT_high_pc
.long .LLST5 # DW_AT_frame_base
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x181 # DW_AT_sibling
.uleb128 0xd # (DIE (0x16d) DW_TAG_GNU_call_site)
.quad .LVL6 # DW_AT_low_pc
.long 0x103 # DW_AT_abstract_origin
.uleb128 0xb # (DIE (0x17a) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x31 # DW_OP_lit1
.byte 0 # end of children of DIE 0x16d
.byte 0 # end of children of DIE 0x147
.uleb128 0xe # (DIE (0x181) DW_TAG_variable)
.ascii "v\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-tailcall-noret.c)
.byte 0x14 # DW_AT_decl_line
.long 0x85 # DW_AT_type
.byte 0x1 # DW_AT_external
.byte 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad v
.uleb128 0xf # (DIE (0x195) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF18 # DW_AT_name: "abort"
.byte 0x2 # DW_AT_decl_file (/usr/include/stdlib.h)
.value 0x202 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.byte 0x1 # DW_AT_declaration
.byte 0 # end of children of DIE 0xb
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x55 # (DW_AT_ranges)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x52 # (DW_AT_entry_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x6 # (DW_FORM_data4)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0
.byte 0
.uleb128 0x4 # (abbrev code)
.uleb128 0x35 # (TAG: DW_TAG_volatile_type)
.byte 0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x5 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x6 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x6 # (DW_FORM_data4)
.byte 0
.byte 0
.uleb128 0x7 # (abbrev code)
.uleb128 0x18 # (TAG: DW_TAG_unspecified_parameters)
.byte 0 # DW_children_no
.byte 0
.byte 0
.uleb128 0x8 # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0 # DW_children_no
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x9 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0xa # (DW_FORM_block1)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xa # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0x1 # DW_children_yes
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x2115 # (DW_AT_GNU_tail_call)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xb # (abbrev code)
.uleb128 0x410a # (TAG: DW_TAG_GNU_call_site_parameter)
.byte 0 # DW_children_no
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.uleb128 0x2111 # (DW_AT_GNU_call_site_value)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0xc # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xd # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0x1 # DW_children_yes
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xe # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0xf # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0 # DW_children_no
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0x5 # (DW_FORM_data2)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3c # (DW_AT_declaration)
.uleb128 0xc # (DW_FORM_flag)
.byte 0
.byte 0
.byte 0
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.quad .LFB9 # Location list begin address (*.LLST0)
.quad .LCFI0 # Location list end address (*.LLST0)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad .LCFI0 # Location list begin address (*.LLST0)
.quad .LFE9 # Location list end address (*.LLST0)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 16
.quad 0 # Location list terminator begin (*.LLST0)
.quad 0 # Location list terminator end (*.LLST0)
.LLST1:
.quad .LVL0 # Location list begin address (*.LLST1)
.quad .LVL1-1 # Location list end address (*.LLST1)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL1-1 # Location list begin address (*.LLST1)
.quad .LFE9 # Location list end address (*.LLST1)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST1)
.quad 0 # Location list terminator end (*.LLST1)
.LLST2:
.quad .LFB10 # Location list begin address (*.LLST2)
.quad .LCFI1 # Location list end address (*.LLST2)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad .LCFI1 # Location list begin address (*.LLST2)
.quad .LFE10 # Location list end address (*.LLST2)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 16
.quad 0 # Location list terminator begin (*.LLST2)
.quad 0 # Location list terminator end (*.LLST2)
.LLST3:
.quad .LVL2 # Location list begin address (*.LLST3)
.quad .LVL3-1 # Location list end address (*.LLST3)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL3-1 # Location list begin address (*.LLST3)
.quad .LFE10 # Location list end address (*.LLST3)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST3)
.quad 0 # Location list terminator end (*.LLST3)
.LLST4:
.quad .LVL4 # Location list begin address (*.LLST4)
.quad .LVL5-1 # Location list end address (*.LLST4)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL5-1 # Location list begin address (*.LLST4)
.quad .LFE11 # Location list end address (*.LLST4)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST4)
.quad 0 # Location list terminator end (*.LLST4)
.LLST5:
.quad .LFB12 # Location list begin address (*.LLST5)
.quad .LCFI2 # Location list end address (*.LLST5)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad .LCFI2 # Location list begin address (*.LLST5)
.quad .LCFI3 # Location list end address (*.LLST5)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 16
.quad .LCFI3 # Location list begin address (*.LLST5)
.quad .LFE12 # Location list end address (*.LLST5)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad 0 # Location list terminator begin (*.LLST5)
.quad 0 # Location list terminator end (*.LLST5)
.section .debug_aranges,"",@progbits
.long 0x4c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 16 byte boundary
.value 0
.quad .Ltext0 # Address
.quad .Letext0-.Ltext0 # Length
.quad .LFB9 # Address
.quad .LFE9-.LFB9 # Length
.quad .LFB12 # Address
.quad .LFE12-.LFB12 # Length
.quad 0
.quad 0
.section .debug_ranges,"",@progbits
.Ldebug_ranges0:
.quad .Ltext0 # Offset 0
.quad .Letext0
.quad .LFB9 # Offset 0x10
.quad .LFE9
.quad .LFB12 # Offset 0x20
.quad .LFE12
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF9:
.string "long long int"
.LASF14:
.string "GNU C 4.7.3 20130221 (prerelease)"
.LASF3:
.string "unsigned int"
.LASF17:
.string "main"
.LASF0:
.string "long unsigned int"
.LASF10:
.string "long long unsigned int"
.LASF16:
.string ""
.LASF13:
.string "tailcall"
.LASF1:
.string "unsigned char"
.LASF8:
.string "char"
.LASF6:
.string "long int"
.LASF11:
.string "noret"
.LASF2:
.string "short unsigned int"
.LASF4:
.string "signed char"
.LASF12:
.string "mayret"
.LASF18:
.string "abort"
.LASF5:
.string "short int"
.LASF7:
.string "sizetype"
.LASF15:
.string "gdb.arch/amd64-tailcall-noret.c"
.ident "GCC: (GNU) 4.7.3 20130221 (prerelease)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 9,010
|
gdb/testsuite/gdb.arch/amd64-optimout-repeat.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2012-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This file is compiled from gdb.arch/amd64-entry-value-param.c
using -g -dA -S -O2. */
.file "amd64-optimout-repeat.c"
.text
.Ltext0:
.section .text.unlikely,"ax",@progbits
.LCOLDB0:
.section .text.startup,"ax",@progbits
.LHOTB0:
.p2align 4,,15
.section .text.unlikely
.Ltext_cold0:
.section .text.startup
.globl main
.type main, @function
main:
.LFB0:
.file 1 "gdb.arch/amd64-optimout-repeat.c"
# gdb.arch/amd64-optimout-repeat.c:20
.loc 1 20 0
.cfi_startproc
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (FALLTHRU)
.LVL0:
# gdb.arch/amd64-optimout-repeat.c:29
.loc 1 29 0
xorl %eax, %eax
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .text.unlikely
.LCOLDE0:
.section .text.startup
.LHOTE0:
.text
.Letext0:
.section .text.unlikely
.Letext_cold0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0x97 # Length of Compilation Unit Info
.value 0x4 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF1 # DW_AT_producer: "GNU C 4.9.1 20140709 (prerelease) -mtune=generic -march=x86-64 -g -O2"
.byte 0x1 # DW_AT_language
.long .LASF2 # DW_AT_name: "gdb.arch/amd64-optimout-repeat.c"
.long .LASF3 # DW_AT_comp_dir: ""
.long .Ldebug_ranges0+0 # DW_AT_ranges
.quad 0 # DW_AT_low_pc
.long .Ldebug_line0 # DW_AT_stmt_list
.uleb128 0x2 # (DIE (0x29) DW_TAG_subprogram)
# DW_AT_external
.long .LASF4 # DW_AT_name: "main"
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-optimout-repeat.c)
.byte 0x13 # DW_AT_decl_line
# DW_AT_prototyped
.long 0x7c # DW_AT_type
.quad .LFB0 # DW_AT_low_pc
.quad .LFE0-.LFB0 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
.long 0x7c # DW_AT_sibling
.uleb128 0x3 # (DIE (0x4a) DW_TAG_structure_type)
.value 0x404 # DW_AT_byte_size
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-optimout-repeat.c)
.byte 0x15 # DW_AT_decl_line
.long 0x6a # DW_AT_sibling
.uleb128 0x4 # (DIE (0x53) DW_TAG_member)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-optimout-repeat.c)
.byte 0x17 # DW_AT_decl_line
.long 0x7c # DW_AT_type
.byte 0 # DW_AT_data_member_location
.uleb128 0x4 # (DIE (0x5d) DW_TAG_member)
.ascii "xxx\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-optimout-repeat.c)
.byte 0x18 # DW_AT_decl_line
.long 0x83 # DW_AT_type
.byte 0x4 # DW_AT_data_member_location
.byte 0 # end of children of DIE 0x4a
.uleb128 0x5 # (DIE (0x6a) DW_TAG_variable)
.ascii "v\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (gdb.arch/amd64-optimout-repeat.c)
.byte 0x1a # DW_AT_decl_line
.long 0x4a # DW_AT_type
.uleb128 0x7 # DW_AT_location
.byte 0x30 # DW_OP_lit0
.byte 0x9f # DW_OP_stack_value
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x93 # DW_OP_piece
.uleb128 0x400
.byte 0 # end of children of DIE 0x29
.uleb128 0x6 # (DIE (0x7c) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
.uleb128 0x7 # (DIE (0x83) DW_TAG_array_type)
.long 0x7c # DW_AT_type
.long 0x93 # DW_AT_sibling
.uleb128 0x8 # (DIE (0x8c) DW_TAG_subrange_type)
.long 0x93 # DW_AT_type
.byte 0xff # DW_AT_upper_bound
.byte 0 # end of children of DIE 0x83
.uleb128 0x9 # (DIE (0x93) DW_TAG_base_type)
.byte 0x8 # DW_AT_byte_size
.byte 0x7 # DW_AT_encoding
.long .LASF0 # DW_AT_name: "sizetype"
.byte 0 # end of children of DIE 0xb
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x55 # (DW_AT_ranges)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x17 # (DW_FORM_sec_offset)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0x13 # (TAG: DW_TAG_structure_type)
.byte 0x1 # DW_children_yes
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0x5 # (DW_FORM_data2)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x4 # (abbrev code)
.uleb128 0xd # (TAG: DW_TAG_member)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x38 # (DW_AT_data_member_location)
.uleb128 0xb # (DW_FORM_data1)
.byte 0
.byte 0
.uleb128 0x5 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x6 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0
.byte 0
.uleb128 0x7 # (abbrev code)
.uleb128 0x1 # (TAG: DW_TAG_array_type)
.byte 0x1 # DW_children_yes
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x8 # (abbrev code)
.uleb128 0x21 # (TAG: DW_TAG_subrange_type)
.byte 0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2f # (DW_AT_upper_bound)
.uleb128 0xb # (DW_FORM_data1)
.byte 0
.byte 0
.uleb128 0x9 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.byte 0
.byte 0
.byte 0
.section .debug_aranges,"",@progbits
.long 0x2c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 16 byte boundary
.value 0
.quad .LFB0 # Address
.quad .LFE0-.LFB0 # Length
.quad 0
.quad 0
.section .debug_ranges,"",@progbits
.Ldebug_ranges0:
.quad .LFB0 # Offset 0
.quad .LFE0
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF0:
.string "sizetype"
.LASF2:
.string "gdb.arch/amd64-optimout-repeat.c"
.LASF1:
.string "GNU C 4.9.1 20140709 (prerelease) -mtune=generic -march=x86-64 -g -O2"
.LASF3:
.string ""
.LASF4:
.string "main"
.ident "GCC: (GNU) 4.9.1 20140709 (prerelease)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 4,537
|
gdb/testsuite/gdb.dwarf2/dw2-compressed.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2008-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This tests that gdb can read compressed sections. The contents
are the same as dw2-basic.S, but the .debug_abbrev section has been
comrpessed using zlib. */
/* Dummy function to provide debug information for. */
.text
.globl _start
.globl __start
_start:
__start:
.int 0
.Lbegin_text1:
.globl func_cu1
.type func_cu1, %function
func_cu1:
.Lbegin_func_cu1:
.int 0
.Lend_func_cu1:
.size func_cu1, .-func_cu1
.Lend_text1:
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte .Lline1_begin /* DW_AT_stmt_list */
.4byte .Lend_text1 /* DW_AT_high_pc */
.4byte .Lbegin_text1 /* DW_AT_low_pc */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 1 /* DW_AT_language (C) */
/* func_cu1 */
.uleb128 2 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.byte 1 /* DW_AT_decl_file */
.byte 2 /* DW_AT_decl_line */
.ascii "func_cu1\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.4byte .Lbegin_func_cu1 /* DW_AT_low_pc */
.4byte .Lend_func_cu1 /* DW_AT_high_pc */
.byte 1 /* DW_AT_frame_base: length */
.byte 0x55 /* DW_AT_frame_base: DW_OP_reg5 */
.Ltype_int:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
.ascii "int\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Line table */
.section .debug_line
.Lline1_begin:
.4byte .Lline1_end - .Lline1_start /* Initial length */
.Lline1_start:
.2byte 2 /* Version */
.4byte .Lline1_lines - .Lline1_hdr /* header_length */
.Lline1_hdr:
.byte 1 /* Minimum insn length */
.byte 1 /* default_is_stmt */
.byte 1 /* line_base */
.byte 1 /* line_range */
.byte 0x10 /* opcode_base */
/* Standard lengths */
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 0
/* Include directories */
.byte 0
/* File names */
.ascii "file1.txt\0"
.uleb128 0
.uleb128 0
.uleb128 0
.byte 0
.Lline1_lines:
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lbegin_func_cu1
.byte 3 /* DW_LNS_advance_line */
.sleb128 3 /* ... to 4 */
.byte 1 /* DW_LNS_copy */
.byte 1 /* DW_LNS_copy (second time as an end-of-prologue marker) */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lend_func_cu1
.byte 0 /* DW_LNE_end_of_sequence */
.uleb128 1
.byte 1
.Lline1_end:
/* Abbrev table -- compressed */
.section .zdebug_abbrev
.Labbrev1_begin:
.ascii "ZLIB"
.4byte 0
.2byte 0
.byte 0
.byte 51
.byte 0x78
.byte 0x5e
.byte 0x63
.byte 0x14
.byte 0x64
.byte 0x14
.byte 0x60
.byte 0x13
.byte 0x62
.byte 0x14
.byte 0x64
.byte 0x64
.byte 0xe6
.byte 0x50
.byte 0xe5
.byte 0x10
.byte 0xe6
.byte 0x66
.byte 0x60
.byte 0x60
.byte 0xd2
.byte 0x63
.byte 0xb0
.byte 0xe7
.byte 0xb1
.byte 0xe2
.byte 0xb6
.byte 0xe6
.byte 0x66
.byte 0xe6
.byte 0xf0
.byte 0x14
.byte 0x16
.byte 0x64
.byte 0x14
.byte 0x62
.byte 0x74
.byte 0xe0
.byte 0x02
.byte 0x00
.byte 0x25
.byte 0x78
.byte 0x02
.byte 0x81
.byte 0x78
.byte 0x9c
.byte 0x63
.byte 0x60
.byte 0x60
.byte 0x56
.byte 0x61
.byte 0x60
.byte 0xe6
.byte 0xe0
.byte 0xe6
.byte 0xb6
.byte 0xe3
.byte 0x66
.byte 0x00
.byte 0x02
.byte 0x00
.byte 0x04
.byte 0x9c
.byte 0x00
.byte 0x92
|
stsp/binutils-ia16
| 2,826
|
gdb/testsuite/gdb.dwarf2/dw4-sig-type-unused.S
|
/* Copyright 2011-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.section .debug_info
debug_start:
.4byte debug_end - 1f /* Length of Compilation Unit Info */
1:
.2byte 0x4 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.uleb128 0x3 /* (DIE (0xb) DW_TAG_compile_unit) */
.ascii "GNU C 4.4.3\0" /* DW_AT_producer */
.byte 0x0c /* DW_AT_language = DW_LANG_C99 */
.ascii "1.c\0" /* DW_AT_name */
debug_end:
.section .debug_types
types_start:
.macro unit sig1 sig2 name
.4byte 2f - 1f /* Length of Compilation Unit Info */
1:
.2byte 0x4 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
/* signature */
.4byte \sig1
.4byte \sig2
.4byte 3f-types_start /* offset into type DIE */
.uleb128 0x1 /* DW_TAG_type_unit) */
.byte 0x0c /* DW_AT_language = DW_LANG_C99 */
3:
.uleb128 0x2 /* DW_TAG_structure_type */
.ascii "\name" /* DW_AT_name ... */
.byte 0 /* ... DW_AT_name */
.4byte 0 /* DW_AT_byte_size */
.byte 0x0 /* end of children of CU */
2:
.endm
unit 0x01234567, 0x01234567, foo
/* One duplicate. */
unit 0x01234567, 0x01234567, foo
/* One different, but still unused. */
unit 0x89abcdef, 0x89abcdef, bar
.section .debug_abbrev
.Ldebug_abbrev0:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x41 /* (TAG: DW_TAG_type_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0x0
.byte 0x0
.uleb128 0x2 /* (abbrev code) */
.uleb128 0x13 /* (TAG: DW_TAG_structure_type) */
.byte 0x0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x0b /* (DW_AT_byte_size) */
.uleb128 0x6 /* (DW_FORM_data4) */
.byte 0x0
.byte 0x0
.uleb128 0x3 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x0 /* DW_children_no */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.byte 0x0
.byte 0x0
.byte 0x0
|
stsp/binutils-ia16
| 11,046
|
gdb/testsuite/gdb.dwarf2/pr13961.S
|
/* Copyright 2012-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Testcase to exercise the code path in bug 13961.
Compiled from:
class foo
{
public:
int bar;
};
foo baz;
int
main ()
{
return 0;
}
And then manually edited to insert the necessary DW_AT_specification
entries to trigger the desired code path.
There's no real need to make this architecture-specific, so it has been
further hand-edited to support that.
*/
#define CONCAT1(a, b) CONCAT2(a, b)
#define CONCAT2(a, b) a ## b
#ifdef SYMBOL_PREFIX
# define SYMBOL(str) CONCAT1(SYMBOL_PREFIX, str)
#else
# define SYMBOL(str) str
#endif
.file "pr13961.cc"
.globl baz
.data /* Previously this used .bss, but it's not portable. */
.align 4
.type baz, %object
.size baz, 4
baz:
#if 0
/* This is disabled because when it was accidentally left out it
caused a segv when used with .gdb_index. */
.file 1 "foo.c"
.loc 1 12 0
#endif
.zero 4
.text
.Ltext0:
.globl SYMBOL(main)
.type SYMBOL(main), %function
SYMBOL(main):
.LFB0:
.4byte 0
.LFE0:
.size SYMBOL(main), .-SYMBOL(main)
.Letext0:
.section .debug_types,"",%progbits
.Ldebug_types0:
.4byte .Ltu_end - .Ltu_start /* Length of Compilation Unit Info */
.Ltu_start:
.2byte 0x4 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.byte 0x19 /* Type Signature */
.byte 0x8b
.byte 0x7e
.byte 0xac
.byte 0xce
.byte 0xf1
.byte 0x22
.byte 0x90
.4byte .Ltu_class_type - .Ldebug_types0 /* Offset to Type DIE */
.uleb128 0x1 /* DW_TAG_type_unit */
.byte 0x4 /* DW_AT_language */
.byte 0x73 /* DW_AT_GNU_odr_signature */
.byte 0xea
.byte 0x85
.byte 0x23
.byte 0x75
.byte 0x8a
.byte 0x7e
.byte 0x87
.4byte .Ldebug_line0 /* DW_AT_stmt_list */
/* Manually inserted to have a DW_AT_specification refering to
something and appearing ahead of it. */
.uleb128 0x8 /* DW_TAG_class_type */
.4byte .Ltu_class_type - .Ldebug_types0
/* End of manual insertion */
.Ltu_class_type:
.uleb128 0x2 /* (DW_TAG_class_type) */
.ascii "foo\0" /* DW_AT_name */
.byte 0x4 /* DW_AT_byte_size */
.byte 0x1 /* DW_AT_decl_file (pr13961.cc) */
.byte 0x1 /* DW_AT_decl_line */
.4byte .Ltu_base_type - .Ldebug_types0 /* DW_AT_sibling */
.uleb128 0x3 /* (DW_TAG_member) */
.ascii "bar\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (pr13961.cc) */
.byte 0x4 /* DW_AT_decl_line */
.4byte .Ltu_base_type - .Ldebug_types0 /* DW_AT_type */
.byte 0 /* DW_AT_data_member_location */
.byte 0x1 /* DW_AT_accessibility */
.byte 0 /* end of children */
.Ltu_base_type:
.uleb128 0x4 /* DW_TAG_base_type */
.byte 0x4 /* DW_AT_byte_size */
.byte 0x5 /* DW_AT_encoding */
.ascii "int\0" /* DW_AT_name */
.byte 0 /* end of children */
.Ltu_end:
.section .debug_info,"",%progbits
.Ldebug_info0:
.4byte .Lcu_end - .Lcu_start /* Length of Compilation Unit Info */
.Lcu_start:
.2byte 0x4 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.uleb128 0x5 /* (DW_TAG_compile_unit) */
.4byte .LASF0 /* DW_AT_producer: "GNU C++ 4.6.3 20120306" */
.byte 0x4 /* DW_AT_language */
.4byte .LASF1 /* DW_AT_name: "pr13961.cc" */
.4byte .LASF2 /* DW_AT_comp_dir: "." */
.4byte .Ltext0 /* DW_AT_low_pc */
.4byte .Letext0 /* DW_AT_high_pc */
.4byte .Ldebug_line0 /* DW_AT_stmt_list */
.Lint_base_type:
.uleb128 0x4 /* DW_TAG_base_type */
.byte 0x4 /* DW_AT_byte_size */
.byte 0x5 /* DW_AT_encoding */
.ascii "int\0" /* DW_AT_name */
.uleb128 0x6 /* DW_TAG_subprogram */
/* DW_AT_external */
.4byte .LASF3 /* DW_AT_name: "main" */
.byte 0x1 /* DW_AT_decl_file (pr13961.cc) */
.byte 0xa /* DW_AT_decl_line */
.4byte .Lint_base_type - .Ldebug_info0 /* DW_AT_type */
.4byte .LFB0 /* DW_AT_low_pc */
.4byte .LFE0 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_AT_frame_base */
.byte 0x9c /* DW_OP_call_frame_cfa */
/* DW_AT_GNU_all_call_sites */
.uleb128 0x7 /* DW_TAG_variable */
.ascii "baz\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (pr13961.cc) */
.byte 0x7 /* DW_AT_decl_line */
.byte 0x19 /* DW_AT_type */
.byte 0x8b
.byte 0x7e
.byte 0xac
.byte 0xce
.byte 0xf1
.byte 0x22
.byte 0x90
/* DW_AT_external */
.uleb128 0x5 /* DW_AT_location */
.byte 0x3 /* DW_OP_addr */
.4byte baz
/* Manually inserted to have a DW_AT_specification refering to
something and appearing ahead of it. */
.uleb128 0x8 /* DW_TAG_class_type */
.4byte .Lcu_class_type - .Ldebug_info0 /* DW_AT_specification */
.Lcu_int_type:
.uleb128 0x4 /* DW_TAG_base_type */
.byte 0x4 /* DW_AT_byte_size */
.byte 0x5 /* DW_AT_encoding */
.ascii "int\0" /* DW_AT_name */
.Lcu_class_type:
.uleb128 0x2 /* DW_TAG_class_type */
.ascii "foo2\0" /* DW_AT_name */
.byte 0x4 /* DW_AT_byte_size */
.byte 0x1 /* DW_AT_decl_file (pr13961.cc) */
.byte 0x1 /* DW_AT_decl_line */
.4byte .Lcu_second_int_type - .Ldebug_info0 /* DW_AT_sibling */
.uleb128 0x3 /* DW_TAG_member */
.ascii "bar\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (pr13961.cc) */
.byte 0x4 /* DW_AT_decl_line */
.4byte .Lcu_second_int_type - .Ldebug_info0 /* DW_AT_type */
.byte 0 /* DW_AT_data_member_location */
.byte 0x1 /* DW_AT_accessibility */
.byte 0 /* end of children */
.Lcu_second_int_type:
.uleb128 0x4 /* DW_TAG_base_type */
.byte 0x4 /* DW_AT_byte_size */
.byte 0x5 /* DW_AT_encoding */
.ascii "int\0" /* DW_AT_name */
/* End of manual insertion */
.byte 0 /* end of children */
.Lcu_end:
.section .debug_abbrev,"",%progbits
.Ldebug_abbrev0:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x41 /* (TAG: DW_TAG_type_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x210f /* (DW_AT_GNU_odr_signature) */
.uleb128 0x7 /* (DW_FORM_data8) */
.uleb128 0x10 /* (DW_AT_stmt_list) */
.uleb128 0x17 /* (DW_FORM_sec_offset) */
.byte 0
.byte 0
.uleb128 0x2 /* (abbrev code) */
.uleb128 0x2 /* (TAG: DW_TAG_class_type) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x1 /* (DW_AT_sibling) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0x3 /* (abbrev code) */
.uleb128 0xd /* (TAG: DW_TAG_member) */
.byte 0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x38 /* (DW_AT_data_member_location) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x32 /* (DW_AT_accessibility) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0
.byte 0
.uleb128 0x4 /* (abbrev code) */
.uleb128 0x24 /* (TAG: DW_TAG_base_type) */
.byte 0 /* DW_children_no */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3e /* (DW_AT_encoding) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.byte 0
.byte 0
.uleb128 0x5 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0xe /* (DW_FORM_strp) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0xe /* (DW_FORM_strp) */
.uleb128 0x1b /* (DW_AT_comp_dir) */
.uleb128 0xe /* (DW_FORM_strp) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x10 /* (DW_AT_stmt_list) */
.uleb128 0x17 /* (DW_FORM_sec_offset) */
.byte 0
.byte 0
.uleb128 0x6 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0 /* DW_children_no */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0x19 /* (DW_FORM_flag_present) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0xe /* (DW_FORM_strp) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x40 /* (DW_AT_frame_base) */
.uleb128 0x18 /* (DW_FORM_exprloc) */
.uleb128 0x2117 /* (DW_AT_GNU_all_call_sites) */
.uleb128 0x19 /* (DW_FORM_flag_present) */
.byte 0
.byte 0
.uleb128 0x7 /* (abbrev code) */
.uleb128 0x34 /* (TAG: DW_TAG_variable) */
.byte 0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x20 /* (DW_FORM_ref_sig8) */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0x19 /* (DW_FORM_flag_present) */
.uleb128 0x2 /* (DW_AT_location) */
.uleb128 0x18 /* (DW_FORM_exprloc) */
.byte 0
.byte 0
/* Manually inserted. */
.uleb128 0x8 /* abbrev code */
.uleb128 0x2 /* DW_TAG_class_type */
.byte 0x0 /* DW_has_children_no */
.uleb128 0x47 /* DW_AT_specification */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
/* End of manual insertion. */
.byte 0
.section .debug_aranges,"",%progbits
.4byte 0x1c /* Length of Address Ranges Info */
.2byte 0x2 /* DWARF Version */
.4byte .Ldebug_info0 /* Offset of Compilation Unit Info */
.byte 0x4 /* Size of Address */
.byte 0 /* Size of Segment Descriptor */
.2byte 0 /* Pad to 8 byte boundary */
.2byte 0
.4byte .Ltext0 /* Address */
.4byte .Letext0-.Ltext0 /* Length */
.4byte 0
.4byte 0
.section .debug_line,"",%progbits
.Ldebug_line0:
.section .debug_str,"MS",%progbits,1
.LASF0:
.string "GNU C++ 4.6.3 20120306"
.LASF2:
.string "."
.LASF1:
.string "pr13961.cc"
.LASF3:
.string "main"
|
stsp/binutils-ia16
| 3,140
|
gdb/testsuite/gdb.dwarf2/dw2-inheritance.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2009-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Test DW_TAG_inheritance using constant DW_AT_data_member_location
introduced by GCC PR debug/40659. */
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte .Lline1_begin /* DW_AT_stmt_list */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 4 /* DW_LANG_C_plus_plus (C++) */
.Lbase:
.uleb128 3 /* Abbrev: DW_TAG_class_type */
.ascii "base\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 0 /* End of children of "base" */
.uleb128 3 /* Abbrev: DW_TAG_class_type */
.ascii "inherited\0" /* DW_AT_name */
.byte 8 /* DW_AT_byte_size */
.uleb128 2 /* Abbrev: DW_TAG_inheritance */
.4byte .Lbase-.Lcu1_begin /* DW_AT_type */
.byte 0 /* DW_AT_data_member_location */
.byte 0 /* End of children of "inherited" */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x10 /* DW_AT_stmt_list */
.uleb128 0x6 /* DW_FORM_data4 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x1c /* DW_TAG_inheritance */
.byte 0 /* has_children */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x38 /* DW_AT_data_member_location */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x02 /* DW_TAG_class_type */
.byte 1 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
|
stsp/binutils-ia16
| 7,117
|
gdb/testsuite/gdb.dwarf2/dw2-anonymous-func.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2004-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Test a minimal file containing DWARF-2 information. This test also
serves as a skeleton for other DWARF-2 tests. Most other tests will
not be this extensively itemized and commented... */
/* Dummy function to provide debug information for. */
.text
.Lbegin_text1:
.globl func_cu1
.type func_cu1, %function
func_cu1:
.Lbegin_func_cu1:
.int 0
.Lend_func_cu1:
.size func_cu1, .-func_cu1
.globl func_cu2
.type func_cu2, %function
func_cu2:
.Lbegin_func_cu2:
.int 0
.Lend_func_cu2:
.size func_cu2, .-func_cu2
.Lend_text1:
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte .Lline1_begin /* DW_AT_stmt_list */
.4byte .Lend_text1 /* DW_AT_high_pc */
.4byte .Lbegin_text1 /* DW_AT_low_pc */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 0x0d /* DW_AT_language (Ada95) */
/* func_cu1 */
.uleb128 2 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.byte 1 /* DW_AT_decl_file */
.byte 2 /* DW_AT_decl_line */
.ascii "func_cu1\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.4byte .Lbegin_func_cu1 /* DW_AT_low_pc */
.4byte .Lend_func_cu1 /* DW_AT_high_pc */
.byte 1 /* DW_AT_frame_base: length */
.byte 0x55 /* DW_AT_frame_base: DW_OP_reg5 */
/* Nested function missing a name attribute. */
.uleb128 4 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.byte 1 /* DW_AT_decl_file */
.byte 2 /* DW_AT_decl_line */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.4byte .Lbegin_func_cu2 /* DW_AT_low_pc */
.4byte .Lend_func_cu2 /* DW_AT_high_pc */
.byte 1 /* DW_AT_frame_base: length */
.byte 0x55 /* DW_AT_frame_base: DW_OP_reg5 */
.byte 0x0 /* End of children of func_cu1 */
/* Non-nested function missing a name attribute. */
.uleb128 4 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.byte 1 /* DW_AT_decl_file */
.byte 2 /* DW_AT_decl_line */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.4byte .Lbegin_func_cu2 /* DW_AT_low_pc */
.4byte .Lend_func_cu2 /* DW_AT_high_pc */
.byte 1 /* DW_AT_frame_base: length */
.byte 0x55 /* DW_AT_frame_base: DW_OP_reg5 */
.Ltype_int:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
.ascii "int\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x10 /* DW_AT_stmt_list */
.uleb128 0x6 /* DW_FORM_data4 */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 1 /* has_children */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3a /* DW_AT_decl_file */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3b /* DW_AT_decl_line */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x40 /* DW_AT_frame_base */
.uleb128 0xa /* DW_FORM_block1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 4 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 0 /* has_children */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3a /* DW_AT_decl_file */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3b /* DW_AT_decl_line */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x40 /* DW_AT_frame_base */
.uleb128 0xa /* DW_FORM_block1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
/* Line table */
.section .debug_line
.Lline1_begin:
.4byte .Lline1_end - .Lline1_start /* Initial length */
.Lline1_start:
.2byte 2 /* Version */
.4byte .Lline1_lines - .Lline1_hdr /* header_length */
.Lline1_hdr:
.byte 1 /* Minimum insn length */
.byte 1 /* default_is_stmt */
.byte 1 /* line_base */
.byte 1 /* line_range */
.byte 0x10 /* opcode_base */
/* Standard lengths */
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 0
/* Include directories */
.byte 0
/* File names */
.ascii "file1.txt\0"
.uleb128 0
.uleb128 0
.uleb128 0
.byte 0
.Lline1_lines:
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lbegin_func_cu1
.byte 3 /* DW_LNS_advance_line */
.sleb128 3 /* ... to 4 */
.byte 1 /* DW_LNS_copy */
.byte 1 /* DW_LNS_copy (second time as an end-of-prologue marker) */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lend_func_cu1
.byte 0 /* DW_LNE_end_of_sequence */
.uleb128 1
.byte 1
.Lline1_end:
|
stsp/binutils-ia16
| 14,398
|
gdb/testsuite/gdb.dwarf2/fission-reread.S
|
/* Copyright 2012-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Testcase to exercise the code path in bug 13961 for Fission.
http://gcc.gnu.org/wiki/DebugFission
Compiled from:
class foo
{
public:
int bar;
};
foo baz;
int
main ()
{
return 0;
}
And then manually edited to insert the necessary DW_AT_specification
entries to trigger the desired code path.
There's no real need to make this architecture-specific, so it has been
further hand-edited to support that.
*/
#define CONCAT1(a, b) CONCAT2(a, b)
#define CONCAT2(a, b) a ## b
#ifdef SYMBOL_PREFIX
# define SYMBOL(str) CONCAT1(SYMBOL_PREFIX, str)
#else
# define SYMBOL(str) str
#endif
.file "fission-reread.cc"
.globl SYMBOL(baz)
.data /* Previously this used .bss, but it's not portable. */
.align 4
.type SYMBOL(baz), %object
.size SYMBOL(baz), 4
SYMBOL(baz):
.zero 4
.text
.Ltext0:
.globl SYMBOL(main)
.type SYMBOL(main), %function
SYMBOL(main):
.LFB0:
.file 1 "fission-reread.cc"
.loc 1 11 0
.4byte 0
.LFE0:
.size SYMBOL(main), .-SYMBOL(main)
.Letext0:
.section .debug_types.dwo
.Ltu_start_dwo:
.4byte .Ltu_end_dwo - .Ltu_start_dwo - 4 /* Length of Compilation Unit Info */
.2byte 0x4 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.byte 0x19 /* Type Signature */
.byte 0x8b
.byte 0x7e
.byte 0xac
.byte 0xce
.byte 0xf1
.byte 0x22
.byte 0x90
.4byte .Ltu_class_type - .Ltu_start_dwo /* Offset to Type DIE */
.uleb128 0x1 /* (DIE (0x17) DW_TAG_type_unit) */
.byte 0x4 /* DW_AT_language */
.byte 0x73 /* DW_AT_GNU_odr_signature */
.byte 0xea
.byte 0x85
.byte 0x23
.byte 0x75
.byte 0x8a
.byte 0x7e
.byte 0x87
.4byte .Lskeleton_debug_line0 /* DW_AT_stmt_list */
/* Manually inserted to have a DW_AT_specification refering to
something and appearing ahead of it. */
.uleb128 0x8 /* DW_TAG_class_type */
.4byte .Ltu_class_type - .Ltu_start_dwo
/* End of manual insertion */
.Ltu_class_type:
.uleb128 0x2 /* (DIE (0x25) DW_TAG_class_type) */
.ascii "foo\0" /* DW_AT_name */
.byte 0x4 /* DW_AT_byte_size */
.byte 0x1 /* DW_AT_decl_file (fission-reread.cc) */
.byte 0x1 /* DW_AT_decl_line */
.4byte .Ltu_int - .Ltu_start_dwo /* DW_AT_sibling */
.uleb128 0x3 /* (DIE (0x31) DW_TAG_member) */
.ascii "bar\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (fission-reread.cc) */
.byte 0x4 /* DW_AT_decl_line */
.4byte .Ltu_int - .Ltu_start_dwo /* DW_AT_type */
.byte 0 /* DW_AT_data_member_location */
.byte 0x1 /* DW_AT_accessibility */
.byte 0 /* end of children of DIE 0x25 */
.Ltu_int:
.uleb128 0x4 /* (DIE (0x3f) DW_TAG_base_type) */
.byte 0x4 /* DW_AT_byte_size */
.byte 0x5 /* DW_AT_encoding */
.ascii "int\0" /* DW_AT_name */
.byte 0 /* end of children of DIE 0x17 */
.Ltu_end_dwo:
.section .debug_types
.Ltu_start:
.4byte .Ltu_end - .Ltu_start - 4 /* Length of Type Unit Info */
.2byte 0x4 /* DWARF version number */
.4byte .Lskeleton_debug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.byte 0x19 /* Type Signature */
.byte 0x8b
.byte 0x7e
.byte 0xac
.byte 0xce
.byte 0xf1
.byte 0x22
.byte 0x90
.4byte 0 /* Offset to Type DIE */
.uleb128 0x2 /* (DIE (0) DW_TAG_type_unit) */
.ascii "/tmp/src/gdb/testsuite\0" /* DW_AT_comp_dir */
.asciz DWO /* DW_AT_GNU_dwo_name */
.4byte .Ldebug_pubnames0 /* DW_AT_GNU_pubnames */
.4byte .Ldebug_pubtypes0 /* DW_AT_GNU_pubtypes */
.4byte .Ldebug_addr0 /* DW_AT_GNU_addr_base */
.Ltu_end:
.section .debug_info.dwo
.Lcu_start_dwo:
.4byte .Lcu_end_dwo - .Lcu_start_dwo - 4 /* Length of Compilation Unit Info */
.2byte 0x4 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.uleb128 0x5 /* (DIE (0xb) DW_TAG_compile_unit) */
.ascii "GNU C++ 4.6.x-fission\0" /* DW_AT_producer */
.byte 0x4 /* DW_AT_language */
.ascii "gdb.dwarf2/fission-reread.cc\0" /* DW_AT_name */
.ascii "/tmp/src/gdb/testsuite\0" /* DW_AT_comp_dir */
.byte 1 /* DW_AT_GNU_dwo_id */
.byte 2
.byte 3
.byte 4
.byte 5
.byte 6
.byte 7
.byte 8
.Lcu_int:
.uleb128 0x4 /* (DIE (0x7f) DW_TAG_base_type) */
.byte 0x4 /* DW_AT_byte_size */
.byte 0x5 /* DW_AT_encoding */
.ascii "int\0" /* DW_AT_name */
.uleb128 0x6 /* (DIE (0x86) DW_TAG_subprogram) */
/* DW_AT_external */
.ascii "main\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (fission-reread.cc) */
.byte 0xa /* DW_AT_decl_line */
.4byte .Lcu_int - .Lcu_start_dwo /* DW_AT_type */
.uleb128 0 /* DW_AT_low_pc */
.4byte .LFE0-.LFB0 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_AT_frame_base */
.byte 0x9c /* DW_OP_call_frame_cfa */
.uleb128 0x7 /* (DIE (0x9d) DW_TAG_variable) */
.ascii "baz\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (fission-reread.cc) */
.byte 0x7 /* DW_AT_decl_line */
.byte 0x19 /* DW_AT_type */
.byte 0x8b
.byte 0x7e
.byte 0xac
.byte 0xce
.byte 0xf1
.byte 0x22
.byte 0x90
/* DW_AT_external */
.uleb128 0x2 /* DW_AT_location */
.byte 0xfb /* DW_OP_GNU_addr_index */
.uleb128 0x1 /* (index into .debug_addr) */
.byte 0 /* end of children of DIE 0xb */
.Lcu_end_dwo:
.section .debug_info
.Lskeleton_debug_info0:
.Lcu_start:
.4byte .Lcu_end - .Lcu_start - 4 /* Length of Compilation Unit Info */
.2byte 0x4 /* DWARF version number */
.4byte .Lskeleton_debug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.uleb128 0x1 /* (DIE (0) DW_TAG_compile_unit) */
.4byte .Ltext0 /* DW_AT_low_pc */
.4byte .Letext0-.Ltext0 /* DW_AT_high_pc */
.4byte .Ldebug_line0 /* DW_AT_stmt_list */
.ascii "/tmp/src/gdb/testsuite\0" /* DW_AT_comp_dir */
.asciz DWO /* DW_AT_GNU_dwo_name */
.4byte .Ldebug_pubnames0 /* DW_AT_GNU_pubnames */
.4byte .Ldebug_pubtypes0 /* DW_AT_GNU_pubtypes */
.4byte .Ldebug_addr0 /* DW_AT_GNU_addr_base */
.byte 1 /* DW_AT_GNU_dwo_id */
.byte 2
.byte 3
.byte 4
.byte 5
.byte 6
.byte 7
.byte 8
.Lcu_end:
.section .debug_abbrev
.Lskeleton_debug_abbrev0:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0 /* DW_children_no */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x6 /* (DW_FORM_data4) */
.uleb128 0x10 /* (DW_AT_stmt_list) */
.uleb128 0x17 /* (DW_FORM_sec_offset) */
.uleb128 0x1b /* (DW_AT_comp_dir) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x2130 /* (DW_AT_GNU_dwo_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x2134 /* (DW_AT_GNU_pubnames) */
.uleb128 0x17 /* (DW_FORM_sec_offset) */
.uleb128 0x2135 /* (DW_AT_GNU_pubtypes) */
.uleb128 0x17 /* (DW_FORM_sec_offset) */
.uleb128 0x2133 /* (DW_AT_GNU_addr_base) */
.uleb128 0x17 /* (DW_FORM_sec_offset) */
.uleb128 0x2131 /* (DW_AT_GNU_dwo_id) */
.uleb128 0x7 /* (DW_FORM_data8) */
.byte 0
.byte 0
.uleb128 0x2 /* (abbrev code) */
.uleb128 0x41 /* (TAG: DW_TAG_type_unit) */
.byte 0 /* DW_children_no */
.uleb128 0x1b /* (DW_AT_comp_dir) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x2130 /* (DW_AT_GNU_dwo_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x2134 /* (DW_AT_GNU_pubnames) */
.uleb128 0x17 /* (DW_FORM_sec_offset) */
.uleb128 0x2135 /* (DW_AT_GNU_pubtypes) */
.uleb128 0x17 /* (DW_FORM_sec_offset) */
.uleb128 0x2133 /* (DW_AT_GNU_addr_base) */
.uleb128 0x17 /* (DW_FORM_sec_offset) */
.byte 0
.byte 0
.byte 0 /* end of skeleton .debug_abbrev */
.section .debug_abbrev.dwo
.Ldebug_abbrev0:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x41 /* (TAG: DW_TAG_type_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x210f /* (DW_AT_GNU_odr_signature) */
.uleb128 0x7 /* (DW_FORM_data8) */
.uleb128 0x10 /* (DW_AT_stmt_list) */
.uleb128 0x17 /* (DW_FORM_sec_offset) */
.byte 0
.byte 0
.uleb128 0x2 /* (abbrev code) */
.uleb128 0x2 /* (TAG: DW_TAG_class_type) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x1 /* (DW_AT_sibling) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0x3 /* (abbrev code) */
.uleb128 0xd /* (TAG: DW_TAG_member) */
.byte 0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x38 /* (DW_AT_data_member_location) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x32 /* (DW_AT_accessibility) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0
.byte 0
.uleb128 0x4 /* (abbrev code) */
.uleb128 0x24 /* (TAG: DW_TAG_base_type) */
.byte 0 /* DW_children_no */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3e /* (DW_AT_encoding) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.byte 0
.byte 0
.uleb128 0x5 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x1b /* (DW_AT_comp_dir) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x2131 /* (DW_AT_GNU_dwo_id) */
.uleb128 0x7 /* (DW_FORM_data8) */
.byte 0
.byte 0
.uleb128 0x6 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0 /* DW_children_no */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0x19 /* (DW_FORM_flag_present) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1f01 /* (DW_FORM_GNU_addr_index) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x6 /* (DW_FORM_data4) */
.uleb128 0x40 /* (DW_AT_frame_base) */
.uleb128 0x18 /* (DW_FORM_exprloc) */
.byte 0
.byte 0
.uleb128 0x7 /* (abbrev code) */
.uleb128 0x34 /* (TAG: DW_TAG_variable) */
.byte 0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x20 /* (DW_FORM_ref_sig8) */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0x19 /* (DW_FORM_flag_present) */
.uleb128 0x2 /* (DW_AT_location) */
.uleb128 0x18 /* (DW_FORM_exprloc) */
.byte 0
.byte 0
/* Manually inserted. */
.uleb128 0x8 /* abbrev code */
.uleb128 0x2 /* DW_TAG_class_type */
.byte 0x0 /* DW_has_children_no */
.uleb128 0x47 /* DW_AT_specification */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
/* End of manual insertion. */
.byte 0
.section .debug_pubnames
.Ldebug_pubnames0:
.4byte 0x1f /* Length of Public Names Info */
.2byte 0x2 /* DWARF Version */
.4byte .Lskeleton_debug_info0 /* Offset of Compilation Unit Info */
.4byte 0xb0 /* Compilation Unit Length */
.4byte 0x86 /* DIE offset */
.ascii "main\0" /* external name */
.4byte 0x9d /* DIE offset */
.ascii "baz\0" /* external name */
.4byte 0
.section .debug_pubtypes
.Ldebug_pubtypes0:
.4byte 0x1e /* Length of Public Type Names Info */
.2byte 0x2 /* DWARF Version */
.4byte .Lskeleton_debug_info0 /* Offset of Compilation Unit Info */
.4byte 0xb0 /* Compilation Unit Length */
.4byte 0x7f /* DIE offset */
.ascii "int\0" /* external name */
.4byte 0x25 /* DIE offset */
.ascii "foo\0" /* external name */
.4byte 0
.section .debug_aranges
.4byte 0x1c /* Length of Address Ranges Info */
.2byte 0x2 /* DWARF Version */
.4byte .Lskeleton_debug_info0 /* Offset of Compilation Unit Info */
.byte 0x4 /* Size of Address */
.byte 0 /* Size of Segment Descriptor */
.2byte 0 /* Pad to 16 byte boundary */
.2byte 0
.4byte .Ltext0 /* Address */
.4byte .Letext0-.Ltext0 /* Length */
.4byte 0
.4byte 0
.section .debug_line
.Ldebug_line0:
.section .debug_line.dwo
.Lskeleton_debug_line0:
.4byte .LELT0-.LSLT0 /* Length of Source Line Info */
.LSLT0:
.2byte 0x4 /* DWARF Version */
.4byte .LELTP0-.LASLTP0 /* Prolog Length */
.LASLTP0:
.byte 0x1 /* Minimum Instruction Length */
.byte 0x1 /* Maximum Operations Per Instruction */
.byte 0x1 /* Default is_stmt_start flag */
.byte 0xf6 /* Line Base Value (Special Opcodes) */
.byte 0xf5 /* Line Range Value (Special Opcodes) */
.byte 0xa /* Special Opcode Base */
.byte 0 /* opcode: 0x1 has 0 args */
.byte 0x1 /* opcode: 0x2 has 1 args */
.byte 0x1 /* opcode: 0x3 has 1 args */
.byte 0x1 /* opcode: 0x4 has 1 args */
.byte 0x1 /* opcode: 0x5 has 1 args */
.byte 0 /* opcode: 0x6 has 0 args */
.byte 0 /* opcode: 0x7 has 0 args */
.byte 0 /* opcode: 0x8 has 0 args */
.byte 0x1 /* opcode: 0x9 has 1 args */
.byte 0 /* End directory table */
.ascii "fission-reread.cc\0" /* File Entry: 0x1 */
.uleb128 0
.uleb128 0
.uleb128 0
.byte 0 /* End file name table */
.LELTP0:
.LELT0:
.section .debug_addr
.Ldebug_addr0:
.4byte .LFB0 /* DW_AT_low_pc */
.4byte SYMBOL(baz) /* DW_AT_location */
|
stsp/binutils-ia16
| 2,575
|
gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.S
|
/* Copyright 2011-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
pc_start:
.4byte 0
pc_end:
.section .debug_info
d:
.4byte .Ldebug_info_end - 1f /* Length of Compilation Unit Info */
1:
.2byte 0x3 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
dieb:
.uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
.ascii "GCC\0" /* DW_AT_producer */
.byte 0x2 /* DW_AT_language = DW_LANG_C */
.ascii "1.c\0" /* DW_AT_name */
.uleb128 0x2 /* (DIE (0xd3) DW_TAG_subprogram) */
.byte 0x1 /* DW_AT_external */
.ascii "realrange\0" /* DW_AT_name */
.4byte pc_start /* DW_AT_low_pc */
.4byte pc_end /* DW_AT_high_pc */
.byte 0x1 /* DW_AT_prototyped */
.uleb128 0x2 /* (DIE (0xd3) DW_TAG_subprogram) */
.byte 0x1 /* DW_AT_external */
.ascii "emptyrange\0" /* DW_AT_name */
.4byte pc_start /* DW_AT_low_pc */
.4byte pc_start /* DW_AT_high_pc */
.byte 0x1 /* DW_AT_prototyped */
.byte 0x0 /* end of children of DIE 0xb */
.Ldebug_info_end:
.section .debug_abbrev
.Ldebug_abbrev0:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.byte 0x0
.byte 0x0
.uleb128 0x2 /* (abbrev code) */
.uleb128 0x2e /* (DW_TAG_subprogram) */
.byte 0x0 /* DW_children_no */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x27 /* (DW_AT_prototyped) */
.uleb128 0xc /* (DW_FORM_flag) */
.byte 0x0
.byte 0x0
.byte 0x0
|
stsp/binutils-ia16
| 11,083
|
gdb/testsuite/gdb.dwarf2/dw2-anon-mptr.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2012-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This test triggers a crash when a physname for a subprogram has
a method pointer to an anonymous struct as a parameter. This
situation is possible with templates and lambda expressions,
reproduced here by the following source code:
class a
{
public:
int doit (void) { return 0; }
};
class crash
{
public:
crash (int (a::*mp) (void)) {}
};
In order to avoid lambdas, the resulting output has been edited to
remove the DW_AT_name attribute from the DIEs describing "class a." */
#define OFFSET(LBL) .Ldie_ ## LBL - .Lcu1_begin
.section .debug_info
.Lcu1_begin:
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit Info */
.Lcu1_start:
.2byte 0x3 /* DWARF version number */
.4byte .Labbrev1_begin /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.Ldie_b:
.uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
.ascii "GNU C++ 4.6.3\0" /* DW_AT_producer */
.byte 0x4 /* DW_AT_language */
.ascii "anon-member-ptr.cc\0" /* DW_AT_name */
.4byte .Ldebug_line0 /* DW_AT_stmt_list */
.Ldie_31:
.uleb128 0x2 /* (DIE (0x31) DW_TAG_class_type */
#if 0
/* This is the "fudging" part... */
.ascii "a\0" /* DW_AT_name */
#endif
.byte 0x1 /* DW_AT_byte_size */
.Ldie_59:
.uleb128 0x4 /* (DIE (0x59) DW_TAG_base_type */
.byte 0x4 /* DW_AT_byte_size */
.byte 0x5 /* DW_AT_encoding */
.ascii "int\0" /* DW_AT_name */
.Ldie_60:
.uleb128 0x5 /* (DIE (0x60) DW_TAG_pointer_type) */
.byte 0x4 /* DW_AT_byte_size */
.4byte OFFSET (31) /* DW_AT_type */
.Ldie_66:
.uleb128 0x6 /* (DIE (0x66) DW_TAG_class_type) */
.ascii "crash\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_byte_size */
.4byte OFFSET (8d) /* DW_AT_sibling */
.Ldie_72:
.uleb128 0x7 /* (DIE (0x72) DW_TAG_subprogram) */
.byte 0x1 /* DW_AT_external */
.ascii "crash\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_accessibility */
.byte 0x1 /* DW_AT_declaration */
.4byte OFFSET (80) /* DW_AT_object_pointer */
.Ldie_80:
.uleb128 0x3 /* (DIE (0x80) DW_TAG_formal_parameter */
.4byte OFFSET (8d) /* DW_AT_type */
.byte 0x1 /* DW_AT_artificial */
.Ldie_86:
.uleb128 0x3 /* (DIE (0x86) DW_TAG_formal_parameter */
.4byte OFFSET (93) /* DW_AT_type */
.byte 0x0 /* DW_AT_artificial */
.byte 0 /* end of children of DIE 0x72 */
.byte 0 /* end of children of DIE 0x66 */
.Ldie_8d:
.uleb128 0x5 /* (DIE (0x8d) DW_TAG_pointer_type */
.byte 0x4 /* DW_AT_size */
.4byte OFFSET (66) /* DW_AT_type */
.Ldie_93:
.uleb128 0x8 /* (DIE (0x93) DW_TAG_structure_type */
.byte 0x10 /* DW_AT_byte_size */
.4byte OFFSET (b4) /* DW_AT_sibling */
.Ldie_9b:
.uleb128 0x9 /* (DIE (0x9b) DW_TAG_member */
.ascii "__pfn\0" /* DW_AT_name */
.4byte OFFSET (c8) /* DW_AT_type */
.byte 0 /* DW_AT_data_member_location */
.Ldie_a7:
.uleb128 0x9 /* (DIE (0xa7) DW_TAG_member */
.ascii "__delta\0" /* DW_AT_name */
.4byte OFFSET (ce) /* DW_AT_type */
.byte 0x8 /* DW_AT_data_member_location */
.byte 0 /* end of children of DIE 0x93 */
.Ldie_b4:
.uleb128 0xa /* (DIE (0xb4) DW_TAG_subroutine_type) */
.4byte OFFSET (59) /* DW_AT_type */
.4byte OFFSET (c1) /* DW_AT_object_pointer */
.4byte OFFSET (c8) /* DW_AT_sibling */
.Ldie_c1:
.uleb128 0x3 /* (DIE (0xc1) DW_TAG_formal_parameter) */
.4byte OFFSET (60) /* DW_AT_type */
.byte 0x1 /* DW_AT_artificial */
.byte 0 /* end of children of DIE 0xb4 */
.Ldie_c8:
.uleb128 0x5 /* (DIE (0xc8) DW_TAG_pointer_type) */
.byte 0x4 /* DW_AT_byte_size */
.4byte OFFSET (b4) /* DW_AT_type */
.Ldie_ce:
.uleb128 0x4 /* (DIE (0xce) DW_TAG_base_type) */
.byte 0x8 /* DW_AT_byte_size */
.byte 0x5 /* DW_AT_encoding */
.ascii "long int\0" /* DW_AT_name */
.Ldie_107:
.uleb128 0xc /* (DIE (0x107) DW_TAG_subprogram) */
.4byte OFFSET (72) /* DW_AT_specification */
.byte 0x2 /* DW_AT_inline */
.4byte OFFSET (115) /* DW_AT_object_pointer */
.4byte OFFSET (12a) /* DW_AT_sibling */
.Ldie_115:
.uleb128 0xd /* (DIE (0x115) DW_TAG_formal_parameter) */
.ascii "this\0" /* DW_AT_name */
.4byte OFFSET (12a) /* DW_AT_type */
.byte 0x1 /* DW_AT_artificial */
.Ldie_11f:
.uleb128 0xd /* (DIE (0x11f) DW_TAG_formal_parameter) */
.ascii "mp\0" /* DW_AT_name */
.4byte OFFSET (93) /* DW_AT_type */
.byte 0x0 /* DW_AT_artificial */
.byte 0 /* end of children of DIE 0x107 */
.Ldie_12a:
.uleb128 0xb /* (DIE (0x12a) DW_TAG_const_type) */
.4byte OFFSET (8d) /* DW_AT_type */
.Ldie_12f:
.uleb128 0xe /* (DIE (0x12f) DW_TAG_subprogram) */
.4byte OFFSET (107) /* DW_AT_abstract_origin */
.4byte 0x20 /* DW_AT_low_pc */
.4byte 0x2c /* DW_AT_high_pc */
.4byte OFFSET (14e) /* DW_AT_object_pointer */
.Ldie_14e:
.uleb128 0xf /* (DIE (0x14e) DW_TAG_formal_parameter) */
.4byte OFFSET (115) /* DW_AT_abstract_origin */
.byte 0x2 /* DW_AT_location */
.byte 0x91
.sleb128 -24
.Ldie_156:
.uleb128 0xf /* (DIE (0x156) DW_TAG_formal_parameter) */
.4byte OFFSET (11f) /* DW_at_abstract_origin */
.byte 0x2 /* DW_AT_location */
.byte 0x91
.sleb128 -40
.byte 0 /* end of children of DIE 0x12f */
.byte 0 /* end of children of DIE 0x5b */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x10 /* (DW_AT_stmt_list) */
.uleb128 0x6 /* (DW_FORM_data4) */
.byte 0
.byte 0
.uleb128 0x2 /* (abbrev code) */
.uleb128 0x2 /* (TAG: DW_TAG_class_type) */
.byte 0x0 /* DW_children_no */
#if 0
/* This is the "fudging" part... */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
#endif
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0
.byte 0
.uleb128 0x3 /* (abbrev code) */
.uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
.byte 0 /* DW_children_no */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x34 /* (DW_AT_artificial) */
.uleb128 0xc /* (DW_FORM_flag) */
.byte 0
.byte 0
.uleb128 0x4 /* (abbrev code) */
.uleb128 0x24 /* (TAG: DW_TAG_base_type) */
.byte 0 /* DW_children_no */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3e /* (DW_AT_encoding) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.byte 0
.byte 0
.uleb128 0x5 /* (abbrev code) */
.uleb128 0xf /* (TAG: DW_TAG_pointer_type) */
.byte 0 /* DW_children_no */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0x6 /* (abbrev code) */
.uleb128 0x2 /* (TAG: DW_TAG_class_type) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x1 /* (DW_AT_sibling) */
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x7 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x32 /* (DW_AT_accessibility) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3c /* (DW_AT_declaration) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x64 /* (DW_AT_object_pointer) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0x8 /* (abbrev code) */
.uleb128 0x13 /* (TAG: DW_TAG_structure_type) */
.byte 0x1 /* DW_children_yes */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x1 /* (DW_AT_sibling) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0x9 /* (abbrev code) */
.uleb128 0xd /* (TAG: DW_TAG_member) */
.byte 0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x38 /* (DW_AT_data_member_location) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0
.byte 0
.uleb128 0xa /* (abbrev code) */
.uleb128 0x15 /* (TAG: DW_TAG_subroutine_type) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x64 /* (DW_AT_object_pointer) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x1 /* (DW_AT_sibling) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0xb /* (abbrev code) */
.uleb128 0x26 /* (TAG: DW_TAG_const_type) */
.byte 0 /* DW_children_no */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0xc /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x47 /* (DW_AT_specification) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x20 /* (DW_AT_inline) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x64 /* (DW_AT_object_pointer) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x1 /* (DW_AT_sibling) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0xd /* (abbrev code) */
.uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
.byte 0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x34 /* (DW_AT_artificial) */
.uleb128 0xc /* (DW_FORM_flag) */
.byte 0
.byte 0
.uleb128 0xe /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x64 /* (DW_AT_object_pointer) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0
.byte 0
.uleb128 0xf /* (abbrev code) */
.uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
.byte 0 /* DW_children_no */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x2 /* (DW_AT_location) */
.uleb128 0xa /* (DW_FORM_block) */
.byte 0
.byte 0
.byte 0
.section .debug_line
.Ldebug_line0:
|
stsp/binutils-ia16
| 48,387
|
gdb/testsuite/gdb.dwarf2/dw2-inline-break.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2012-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This source file was generated using the following command line:
gcc -S -dA -g -O2 ../gdb.opt/inline-break.c -o inline-break.S
*/
.file "inline-break.c"
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.section .debug_line,"",@progbits
.Ldebug_line0:
.text
.Ltext0:
.p2align 4,,15
.globl func2
.type func2, @function
func2:
.LFB1:
.file 1 "../gdb.opt/inline-break.c"
# ../gdb.opt/inline-break.c:39
.loc 1 39 0
.cfi_startproc
.LVL0:
# basic block 2
# ../gdb.opt/inline-break.c:40
.loc 1 40 0
movl %edi, %eax
sall $4, %eax
addl %edi, %eax
# ../gdb.opt/inline-break.c:41
.loc 1 41 0
ret
.cfi_endproc
.LFE1:
.size func2, .-func2
.p2align 4,,15
.globl func4a
.type func4a, @function
func4a:
.LFB5:
# ../gdb.opt/inline-break.c:69
.loc 1 69 0
.cfi_startproc
.LVL1:
# basic block 2
# ../gdb.opt/inline-break.c:70
.loc 1 70 0
movl %edi, %eax
sall $4, %eax
leal (%rax,%rdi), %edi
.LVL2:
.LBB46:
.LBB47:
# ../gdb.opt/inline-break.c:64
.loc 1 64 0
xorl %eax, %eax
cmpl $12, %edi
setg %al
addl $1, %eax
.LBE47:
.LBE46:
# ../gdb.opt/inline-break.c:71
.loc 1 71 0
ret
.cfi_endproc
.LFE5:
.size func4a, .-func4a
.p2align 4,,15
.globl func5b
.type func5b, @function
func5b:
.LFB6:
# ../gdb.opt/inline-break.c:78
.loc 1 78 0
.cfi_startproc
.LVL3:
# basic block 2
# ../gdb.opt/inline-break.c:79
.loc 1 79 0
xorl %eax, %eax
cmpl $11, %edi
setg %al
addl $1, %eax
# ../gdb.opt/inline-break.c:80
.loc 1 80 0
ret
.cfi_endproc
.LFE6:
.size func5b, .-func5b
.p2align 4,,15
.globl func6b
.type func6b, @function
func6b:
.LFB8:
# ../gdb.opt/inline-break.c:93
.loc 1 93 0
.cfi_startproc
.LVL4:
# basic block 2
# ../gdb.opt/inline-break.c:94
.loc 1 94 0
xorl %eax, %eax
cmpl $13, %edi
setle %al
addl $2, %eax
# ../gdb.opt/inline-break.c:95
.loc 1 95 0
ret
.cfi_endproc
.LFE8:
.size func6b, .-func6b
.p2align 4,,15
.globl func6a
.type func6a, @function
func6a:
.LFB9:
# ../gdb.opt/inline-break.c:99
.loc 1 99 0
.cfi_startproc
.LVL5:
# basic block 2
# ../gdb.opt/inline-break.c:100
.loc 1 100 0
movl %edi, %eax
sall $4, %eax
leal (%rax,%rdi), %edi
.LVL6:
.LBB48:
.LBB49:
# ../gdb.opt/inline-break.c:94
.loc 1 94 0
xorl %eax, %eax
cmpl $13, %edi
setle %al
addl $2, %eax
.LBE49:
.LBE48:
# ../gdb.opt/inline-break.c:101
.loc 1 101 0
ret
.cfi_endproc
.LFE9:
.size func6a, .-func6a
.p2align 4,,15
.globl func8b
.type func8b, @function
func8b:
.LFB12:
# ../gdb.opt/inline-break.c:121
.loc 1 121 0
.cfi_startproc
.LVL7:
# basic block 2
# ../gdb.opt/inline-break.c:122
.loc 1 122 0
xorl %eax, %eax
cmpl $6, %edi
setle %al
leal 9(%rax,%rax), %eax
# ../gdb.opt/inline-break.c:123
.loc 1 123 0
ret
.cfi_endproc
.LFE12:
.size func8b, .-func8b
.p2align 4,,15
.globl main
.type main, @function
main:
.LFB14:
# ../gdb.opt/inline-break.c:135
.loc 1 135 0
.cfi_startproc
.LVL8:
# basic block 2
# ../gdb.opt/inline-break.c:140
.loc 1 140 0
movl %edi, -4(%rsp)
.LVL9:
# ../gdb.opt/inline-break.c:142
.loc 1 142 0
movl -4(%rsp), %eax
.LVL10:
.LBB50:
.LBB51:
# ../gdb.opt/inline-break.c:32
.loc 1 32 0
movl $23, %edi
.LVL11:
.LBE51:
.LBE50:
.LBB53:
.LBB54:
# ../gdb.opt/inline-break.c:55
.loc 1 55 0
movl $23, %esi
.LVL12:
.LBE54:
.LBE53:
.LBB58:
.LBB59:
# ../gdb.opt/inline-break.c:85
.loc 1 85 0
movl $23, %ecx
.LBE59:
.LBE58:
.LBB63:
.LBB52:
# ../gdb.opt/inline-break.c:32
.loc 1 32 0
imull %edi, %eax
.LVL13:
.LBE52:
.LBE63:
# ../gdb.opt/inline-break.c:142
.loc 1 142 0
movl %eax, -4(%rsp)
# ../gdb.opt/inline-break.c:144
.loc 1 144 0
movl -4(%rsp), %eax
.LVL14:
.LBB64:
.LBB65:
# ../gdb.opt/inline-break.c:40
.loc 1 40 0
movl %eax, %edx
sall $4, %edx
leal (%rdx,%rax), %eax
.LVL15:
.LBE65:
.LBE64:
# ../gdb.opt/inline-break.c:144
.loc 1 144 0
movl %eax, -4(%rsp)
# ../gdb.opt/inline-break.c:146
.loc 1 146 0
movl -4(%rsp), %eax
.LVL16:
.LBB66:
.LBB57:
# ../gdb.opt/inline-break.c:55
.loc 1 55 0
imull %esi, %eax
.LVL17:
.LBB55:
.LBB56:
# ../gdb.opt/inline-break.c:49
.loc 1 49 0
cmpl $13, %eax
setg %al
.LVL18:
movzbl %al, %eax
addl $1, %eax
.LBE56:
.LBE55:
.LBE57:
.LBE66:
# ../gdb.opt/inline-break.c:146
.loc 1 146 0
movl %eax, -4(%rsp)
# ../gdb.opt/inline-break.c:148
.loc 1 148 0
movl -4(%rsp), %eax
.LVL19:
.LBB67:
.LBB68:
# ../gdb.opt/inline-break.c:70
.loc 1 70 0
movl %eax, %edx
sall $4, %edx
leal (%rdx,%rax), %eax
.LVL20:
.LBB69:
.LBB70:
# ../gdb.opt/inline-break.c:64
.loc 1 64 0
cmpl $12, %eax
setg %al
movzbl %al, %eax
addl $1, %eax
.LBE70:
.LBE69:
.LBE68:
.LBE67:
# ../gdb.opt/inline-break.c:148
.loc 1 148 0
movl %eax, -4(%rsp)
# ../gdb.opt/inline-break.c:150
.loc 1 150 0
movl -4(%rsp), %eax
.LVL21:
.LBB71:
.LBB62:
# ../gdb.opt/inline-break.c:85
.loc 1 85 0
imull %ecx, %eax
.LVL22:
.LBB60:
.LBB61:
# ../gdb.opt/inline-break.c:79
.loc 1 79 0
cmpl $11, %eax
setg %al
.LVL23:
movzbl %al, %eax
addl $1, %eax
.LBE61:
.LBE60:
.LBE62:
.LBE71:
# ../gdb.opt/inline-break.c:150
.loc 1 150 0
movl %eax, -4(%rsp)
# ../gdb.opt/inline-break.c:152
.loc 1 152 0
movl -4(%rsp), %eax
.LVL24:
.LBB72:
.LBB73:
# ../gdb.opt/inline-break.c:100
.loc 1 100 0
movl %eax, %edx
sall $4, %edx
leal (%rdx,%rax), %eax
.LVL25:
.LBE73:
.LBE72:
.LBB77:
.LBB80:
# ../gdb.opt/inline-break.c:114
.loc 1 114 0
movl $29, %edx
.LBE80:
.LBE77:
.LBB89:
.LBB76:
.LBB74:
.LBB75:
# ../gdb.opt/inline-break.c:94
.loc 1 94 0
cmpl $13, %eax
setle %al
movzbl %al, %eax
addl $2, %eax
.LBE75:
.LBE74:
.LBE76:
.LBE89:
# ../gdb.opt/inline-break.c:152
.loc 1 152 0
movl %eax, -4(%rsp)
# ../gdb.opt/inline-break.c:154
.loc 1 154 0
movl -4(%rsp), %eax
.LVL26:
.LBB90:
.LBB79:
# ../gdb.opt/inline-break.c:114
.loc 1 114 0
imull %edx, %eax
.LVL27:
.LBE79:
.LBE90:
# ../gdb.opt/inline-break.c:154
.loc 1 154 0
movl -4(%rsp), %edx
.LVL28:
.LBB91:
.LBB87:
.LBB82:
.LBB84:
# ../gdb.opt/inline-break.c:108
.loc 1 108 0
cmpl $22, %eax
setg %al
.LVL29:
.LBE84:
.LBE82:
.LBE87:
.LBE91:
.LBB92:
.LBB94:
cmpl $22, %edx
setg %dl
.LVL30:
.LBE94:
.LBE92:
.LBB96:
.LBB78:
.LBB81:
.LBB83:
movzbl %al, %eax
.LBE83:
.LBE81:
.LBE78:
.LBE96:
.LBB97:
.LBB93:
movzbl %dl, %edx
.LBE93:
.LBE97:
.LBB98:
.LBB88:
.LBB86:
.LBB85:
leal 1(%rax,%rax,2), %eax
.LBE85:
.LBE86:
.LBE88:
.LBE98:
.LBB99:
.LBB95:
leal 1(%rdx,%rdx,2), %edx
.LBE95:
.LBE99:
# ../gdb.opt/inline-break.c:154
.loc 1 154 0
leal (%rdx,%rax), %eax
.LVL31:
movl %eax, -4(%rsp)
.LVL32:
# ../gdb.opt/inline-break.c:156
.loc 1 156 0
movl -4(%rsp), %edx
.LVL33:
.LBB100:
.LBB101:
# ../gdb.opt/inline-break.c:128
.loc 1 128 0
movl %edx, %eax
.LVL34:
sall $5, %eax
subl %edx, %eax
.LBB102:
.LBB103:
# ../gdb.opt/inline-break.c:122
.loc 1 122 0
xorl %edx, %edx
.LVL35:
cmpl $6, %eax
.LBE103:
.LBE102:
.LBE101:
.LBE100:
# ../gdb.opt/inline-break.c:156
.loc 1 156 0
movl -4(%rsp), %eax
.LVL36:
.LBB107:
.LBB106:
.LBB105:
.LBB104:
# ../gdb.opt/inline-break.c:122
.loc 1 122 0
setle %dl
.LBE104:
.LBE105:
.LBE106:
.LBE107:
.LBB108:
.LBB109:
cmpl $6, %eax
setle %al
.LVL37:
movzbl %al, %eax
leal 9(%rax,%rax), %eax
.LBE109:
.LBE108:
# ../gdb.opt/inline-break.c:156
.loc 1 156 0
leal 9(%rax,%rdx,2), %eax
.LVL38:
movl %eax, -4(%rsp)
.LVL39:
# ../gdb.opt/inline-break.c:158
.loc 1 158 0
movl -4(%rsp), %eax
.LVL40:
# ../gdb.opt/inline-break.c:159
.loc 1 159 0
ret
.cfi_endproc
.LFE14:
.size main, .-main
.Letext0:
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.quad .LVL1-.Ltext0 # Location list begin address (*.LLST0)
.quad .LVL2-.Ltext0 # Location list end address (*.LLST0)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad 0x0 # Location list terminator begin (*.LLST0)
.quad 0x0 # Location list terminator end (*.LLST0)
.LLST1:
.quad .LVL1-.Ltext0 # Location list begin address (*.LLST1)
.quad .LVL2-.Ltext0 # Location list end address (*.LLST1)
.value 0x5 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 0
.byte 0x41 # DW_OP_lit17
.byte 0x1e # DW_OP_mul
.byte 0x9f # DW_OP_stack_value
.quad 0x0 # Location list terminator begin (*.LLST1)
.quad 0x0 # Location list terminator end (*.LLST1)
.LLST2:
.quad .LVL5-.Ltext0 # Location list begin address (*.LLST2)
.quad .LVL6-.Ltext0 # Location list end address (*.LLST2)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad 0x0 # Location list terminator begin (*.LLST2)
.quad 0x0 # Location list terminator end (*.LLST2)
.LLST3:
.quad .LVL5-.Ltext0 # Location list begin address (*.LLST3)
.quad .LVL6-.Ltext0 # Location list end address (*.LLST3)
.value 0x5 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 0
.byte 0x41 # DW_OP_lit17
.byte 0x1e # DW_OP_mul
.byte 0x9f # DW_OP_stack_value
.quad 0x0 # Location list terminator begin (*.LLST3)
.quad 0x0 # Location list terminator end (*.LLST3)
.LLST4:
.quad .LVL8-.Ltext0 # Location list begin address (*.LLST4)
.quad .LVL11-.Ltext0 # Location list end address (*.LLST4)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.quad .LVL11-.Ltext0 # Location list begin address (*.LLST4)
.quad .LFE14-.Ltext0 # Location list end address (*.LLST4)
.value 0x2 # Location expression size
.byte 0x91 # DW_OP_fbreg
.sleb128 -12
.quad 0x0 # Location list terminator begin (*.LLST4)
.quad 0x0 # Location list terminator end (*.LLST4)
.LLST5:
.quad .LVL8-.Ltext0 # Location list begin address (*.LLST5)
.quad .LVL12-.Ltext0 # Location list end address (*.LLST5)
.value 0x1 # Location expression size
.byte 0x54 # DW_OP_reg4
.quad 0x0 # Location list terminator begin (*.LLST5)
.quad 0x0 # Location list terminator end (*.LLST5)
.LLST6:
.quad .LVL9-.Ltext0 # Location list begin address (*.LLST6)
.quad .LVL31-.Ltext0 # Location list end address (*.LLST6)
.value 0x2 # Location expression size
.byte 0x91 # DW_OP_fbreg
.sleb128 -12
.quad .LVL32-.Ltext0 # Location list begin address (*.LLST6)
.quad .LVL34-.Ltext0 # Location list end address (*.LLST6)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad .LVL34-.Ltext0 # Location list begin address (*.LLST6)
.quad .LVL38-.Ltext0 # Location list end address (*.LLST6)
.value 0x2 # Location expression size
.byte 0x91 # DW_OP_fbreg
.sleb128 -12
.quad .LVL39-.Ltext0 # Location list begin address (*.LLST6)
.quad .LVL40-.Ltext0 # Location list end address (*.LLST6)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad .LVL40-.Ltext0 # Location list begin address (*.LLST6)
.quad .LFE14-.Ltext0 # Location list end address (*.LLST6)
.value 0x2 # Location expression size
.byte 0x91 # DW_OP_fbreg
.sleb128 -12
.quad 0x0 # Location list terminator begin (*.LLST6)
.quad 0x0 # Location list terminator end (*.LLST6)
.LLST7:
.quad .LVL10-.Ltext0 # Location list begin address (*.LLST7)
.quad .LVL13-.Ltext0 # Location list end address (*.LLST7)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad 0x0 # Location list terminator begin (*.LLST7)
.quad 0x0 # Location list terminator end (*.LLST7)
.LLST8:
.quad .LVL16-.Ltext0 # Location list begin address (*.LLST8)
.quad .LVL17-.Ltext0 # Location list end address (*.LLST8)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad 0x0 # Location list terminator begin (*.LLST8)
.quad 0x0 # Location list terminator end (*.LLST8)
.LLST9:
.quad .LVL16-.Ltext0 # Location list begin address (*.LLST9)
.quad .LVL17-.Ltext0 # Location list end address (*.LLST9)
.value 0x5 # Location expression size
.byte 0x70 # DW_OP_breg0
.sleb128 0
.byte 0x47 # DW_OP_lit23
.byte 0x1e # DW_OP_mul
.byte 0x9f # DW_OP_stack_value
.quad .LVL17-.Ltext0 # Location list begin address (*.LLST9)
.quad .LVL18-.Ltext0 # Location list end address (*.LLST9)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad 0x0 # Location list terminator begin (*.LLST9)
.quad 0x0 # Location list terminator end (*.LLST9)
.LLST10:
.quad .LVL21-.Ltext0 # Location list begin address (*.LLST10)
.quad .LVL22-.Ltext0 # Location list end address (*.LLST10)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad 0x0 # Location list terminator begin (*.LLST10)
.quad 0x0 # Location list terminator end (*.LLST10)
.LLST11:
.quad .LVL21-.Ltext0 # Location list begin address (*.LLST11)
.quad .LVL22-.Ltext0 # Location list end address (*.LLST11)
.value 0x5 # Location expression size
.byte 0x70 # DW_OP_breg0
.sleb128 0
.byte 0x47 # DW_OP_lit23
.byte 0x1e # DW_OP_mul
.byte 0x9f # DW_OP_stack_value
.quad .LVL22-.Ltext0 # Location list begin address (*.LLST11)
.quad .LVL23-.Ltext0 # Location list end address (*.LLST11)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad 0x0 # Location list terminator begin (*.LLST11)
.quad 0x0 # Location list terminator end (*.LLST11)
.LLST12:
.quad .LVL14-.Ltext0 # Location list begin address (*.LLST12)
.quad .LVL15-.Ltext0 # Location list end address (*.LLST12)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad 0x0 # Location list terminator begin (*.LLST12)
.quad 0x0 # Location list terminator end (*.LLST12)
.LLST13:
.quad .LVL19-.Ltext0 # Location list begin address (*.LLST13)
.quad .LVL20-.Ltext0 # Location list end address (*.LLST13)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad 0x0 # Location list terminator begin (*.LLST13)
.quad 0x0 # Location list terminator end (*.LLST13)
.LLST14:
.quad .LVL19-.Ltext0 # Location list begin address (*.LLST14)
.quad .LVL20-.Ltext0 # Location list end address (*.LLST14)
.value 0x5 # Location expression size
.byte 0x70 # DW_OP_breg0
.sleb128 0
.byte 0x41 # DW_OP_lit17
.byte 0x1e # DW_OP_mul
.byte 0x9f # DW_OP_stack_value
.quad 0x0 # Location list terminator begin (*.LLST14)
.quad 0x0 # Location list terminator end (*.LLST14)
.LLST15:
.quad .LVL24-.Ltext0 # Location list begin address (*.LLST15)
.quad .LVL25-.Ltext0 # Location list end address (*.LLST15)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad 0x0 # Location list terminator begin (*.LLST15)
.quad 0x0 # Location list terminator end (*.LLST15)
.LLST16:
.quad .LVL24-.Ltext0 # Location list begin address (*.LLST16)
.quad .LVL25-.Ltext0 # Location list end address (*.LLST16)
.value 0x5 # Location expression size
.byte 0x70 # DW_OP_breg0
.sleb128 0
.byte 0x41 # DW_OP_lit17
.byte 0x1e # DW_OP_mul
.byte 0x9f # DW_OP_stack_value
.quad 0x0 # Location list terminator begin (*.LLST16)
.quad 0x0 # Location list terminator end (*.LLST16)
.LLST17:
.quad .LVL26-.Ltext0 # Location list begin address (*.LLST17)
.quad .LVL27-.Ltext0 # Location list end address (*.LLST17)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad 0x0 # Location list terminator begin (*.LLST17)
.quad 0x0 # Location list terminator end (*.LLST17)
.LLST18:
.quad .LVL26-.Ltext0 # Location list begin address (*.LLST18)
.quad .LVL27-.Ltext0 # Location list end address (*.LLST18)
.value 0x5 # Location expression size
.byte 0x70 # DW_OP_breg0
.sleb128 0
.byte 0x4d # DW_OP_lit29
.byte 0x1e # DW_OP_mul
.byte 0x9f # DW_OP_stack_value
.quad .LVL27-.Ltext0 # Location list begin address (*.LLST18)
.quad .LVL29-.Ltext0 # Location list end address (*.LLST18)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad 0x0 # Location list terminator begin (*.LLST18)
.quad 0x0 # Location list terminator end (*.LLST18)
.LLST19:
.quad .LVL28-.Ltext0 # Location list begin address (*.LLST19)
.quad .LVL30-.Ltext0 # Location list end address (*.LLST19)
.value 0x1 # Location expression size
.byte 0x51 # DW_OP_reg1
.quad 0x0 # Location list terminator begin (*.LLST19)
.quad 0x0 # Location list terminator end (*.LLST19)
.LLST20:
.quad .LVL33-.Ltext0 # Location list begin address (*.LLST20)
.quad .LVL35-.Ltext0 # Location list end address (*.LLST20)
.value 0x1 # Location expression size
.byte 0x51 # DW_OP_reg1
.quad 0x0 # Location list terminator begin (*.LLST20)
.quad 0x0 # Location list terminator end (*.LLST20)
.LLST21:
.quad .LVL33-.Ltext0 # Location list begin address (*.LLST21)
.quad .LVL35-.Ltext0 # Location list end address (*.LLST21)
.value 0x5 # Location expression size
.byte 0x71 # DW_OP_breg1
.sleb128 0
.byte 0x4f # DW_OP_lit31
.byte 0x1e # DW_OP_mul
.byte 0x9f # DW_OP_stack_value
.quad 0x0 # Location list terminator begin (*.LLST21)
.quad 0x0 # Location list terminator end (*.LLST21)
.LLST22:
.quad .LVL36-.Ltext0 # Location list begin address (*.LLST22)
.quad .LVL37-.Ltext0 # Location list end address (*.LLST22)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad 0x0 # Location list terminator begin (*.LLST22)
.quad 0x0 # Location list terminator end (*.LLST22)
.section .debug_info
.long 0x540 # Length of Compilation Unit Info
.value 0x3 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF17 # DW_AT_producer: "GNU C 4.5.1 20100924 (Red Hat 4.5.1-4)"
.byte 0x1 # DW_AT_language
.long .LASF18 # DW_AT_name: "../gdb.opt/inline-break.c"
.long .LASF19 # DW_AT_comp_dir: "/home/gary/work/archer/src/gdb/testsuite/gdb.dwarf2"
.quad .Ltext0 # DW_AT_low_pc
.quad .Letext0 # DW_AT_high_pc
.long .Ldebug_line0 # DW_AT_stmt_list
.uleb128 0x2 # (DIE (0x2d) DW_TAG_subprogram)
.long .LASF0 # DW_AT_name: "func3b"
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x2f # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.byte 0x3 # DW_AT_inline
.long 0x48 # DW_AT_sibling
.uleb128 0x3 # (DIE (0x3e) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x2f # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x0 # end of children of DIE 0x2d
.uleb128 0x4 # (DIE (0x48) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
.uleb128 0x2 # (DIE (0x4f) DW_TAG_subprogram)
.long .LASF1 # DW_AT_name: "func7b"
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x6a # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.byte 0x3 # DW_AT_inline
.long 0x6a # DW_AT_sibling
.uleb128 0x3 # (DIE (0x60) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x6a # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x0 # end of children of DIE 0x4f
.uleb128 0x2 # (DIE (0x6a) DW_TAG_subprogram)
.long .LASF2 # DW_AT_name: "func4b"
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x3e # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.byte 0x3 # DW_AT_inline
.long 0x85 # DW_AT_sibling
.uleb128 0x3 # (DIE (0x7b) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x3e # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x0 # end of children of DIE 0x6a
.uleb128 0x5 # (DIE (0x85) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF3 # DW_AT_name: "func5b"
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x4d # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.byte 0x3 # DW_AT_inline
.long 0xa1 # DW_AT_sibling
.uleb128 0x3 # (DIE (0x97) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x4d # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x0 # end of children of DIE 0x85
.uleb128 0x5 # (DIE (0xa1) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF4 # DW_AT_name: "func6b"
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x5c # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.byte 0x3 # DW_AT_inline
.long 0xbd # DW_AT_sibling
.uleb128 0x3 # (DIE (0xb3) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x5c # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x0 # end of children of DIE 0xa1
.uleb128 0x5 # (DIE (0xbd) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF5 # DW_AT_name: "func8b"
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x78 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.byte 0x3 # DW_AT_inline
.long 0xd9 # DW_AT_sibling
.uleb128 0x3 # (DIE (0xcf) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x78 # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x0 # end of children of DIE 0xbd
.uleb128 0x2 # (DIE (0xd9) DW_TAG_subprogram)
.long .LASF6 # DW_AT_name: "func1"
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x1e # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.byte 0x3 # DW_AT_inline
.long 0xf4 # DW_AT_sibling
.uleb128 0x3 # (DIE (0xea) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x1e # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x0 # end of children of DIE 0xd9
.uleb128 0x5 # (DIE (0xf4) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF7 # DW_AT_name: "func2"
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x26 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.byte 0x3 # DW_AT_inline
.long 0x110 # DW_AT_sibling
.uleb128 0x3 # (DIE (0x106) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x26 # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x0 # end of children of DIE 0xf4
.uleb128 0x2 # (DIE (0x110) DW_TAG_subprogram)
.long .LASF8 # DW_AT_name: "func3a"
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x35 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.byte 0x3 # DW_AT_inline
.long 0x12b # DW_AT_sibling
.uleb128 0x3 # (DIE (0x121) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x35 # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x0 # end of children of DIE 0x110
.uleb128 0x5 # (DIE (0x12b) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF9 # DW_AT_name: "func4a"
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x44 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.byte 0x3 # DW_AT_inline
.long 0x147 # DW_AT_sibling
.uleb128 0x3 # (DIE (0x13d) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x44 # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x0 # end of children of DIE 0x12b
.uleb128 0x2 # (DIE (0x147) DW_TAG_subprogram)
.long .LASF10 # DW_AT_name: "func5a"
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x53 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.byte 0x3 # DW_AT_inline
.long 0x162 # DW_AT_sibling
.uleb128 0x3 # (DIE (0x158) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x53 # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x0 # end of children of DIE 0x147
.uleb128 0x5 # (DIE (0x162) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF11 # DW_AT_name: "func6a"
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x62 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.byte 0x3 # DW_AT_inline
.long 0x17e # DW_AT_sibling
.uleb128 0x3 # (DIE (0x174) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x62 # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x0 # end of children of DIE 0x162
.uleb128 0x2 # (DIE (0x17e) DW_TAG_subprogram)
.long .LASF12 # DW_AT_name: "func7a"
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x70 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.byte 0x3 # DW_AT_inline
.long 0x199 # DW_AT_sibling
.uleb128 0x3 # (DIE (0x18f) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x70 # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x0 # end of children of DIE 0x17e
.uleb128 0x2 # (DIE (0x199) DW_TAG_subprogram)
.long .LASF13 # DW_AT_name: "func8a"
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x7e # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.byte 0x3 # DW_AT_inline
.long 0x1b4 # DW_AT_sibling
.uleb128 0x3 # (DIE (0x1aa) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x7e # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x0 # end of children of DIE 0x199
.uleb128 0x6 # (DIE (0x1b4) DW_TAG_subprogram)
.long 0xf4 # DW_AT_abstract_origin
.quad .LFB1 # DW_AT_low_pc
.quad .LFE1 # DW_AT_high_pc
.byte 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
.long 0x1d7 # DW_AT_sibling
.uleb128 0x7 # (DIE (0x1cf) DW_TAG_formal_parameter)
.long 0x106 # DW_AT_abstract_origin
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x0 # end of children of DIE 0x1b4
.uleb128 0x6 # (DIE (0x1d7) DW_TAG_subprogram)
.long 0x12b # DW_AT_abstract_origin
.quad .LFB5 # DW_AT_low_pc
.quad .LFE5 # DW_AT_high_pc
.byte 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
.long 0x21d # DW_AT_sibling
.uleb128 0x8 # (DIE (0x1f2) DW_TAG_formal_parameter)
.long 0x13d # DW_AT_abstract_origin
.long .LLST0 # DW_AT_location
.uleb128 0x9 # (DIE (0x1fb) DW_TAG_inlined_subroutine)
.long 0x6a # DW_AT_abstract_origin
.quad .LBB46 # DW_AT_low_pc
.quad .LBE46 # DW_AT_high_pc
.byte 0x1 # DW_AT_call_file (../gdb.opt/inline-break.c)
.byte 0x46 # DW_AT_call_line
.uleb128 0x8 # (DIE (0x212) DW_TAG_formal_parameter)
.long 0x7b # DW_AT_abstract_origin
.long .LLST1 # DW_AT_location
.byte 0x0 # end of children of DIE 0x1fb
.byte 0x0 # end of children of DIE 0x1d7
.uleb128 0x6 # (DIE (0x21d) DW_TAG_subprogram)
.long 0x85 # DW_AT_abstract_origin
.quad .LFB6 # DW_AT_low_pc
.quad .LFE6 # DW_AT_high_pc
.byte 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
.long 0x240 # DW_AT_sibling
.uleb128 0x7 # (DIE (0x238) DW_TAG_formal_parameter)
.long 0x97 # DW_AT_abstract_origin
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x0 # end of children of DIE 0x21d
.uleb128 0x6 # (DIE (0x240) DW_TAG_subprogram)
.long 0xa1 # DW_AT_abstract_origin
.quad .LFB8 # DW_AT_low_pc
.quad .LFE8 # DW_AT_high_pc
.byte 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
.long 0x263 # DW_AT_sibling
.uleb128 0x7 # (DIE (0x25b) DW_TAG_formal_parameter)
.long 0xb3 # DW_AT_abstract_origin
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x0 # end of children of DIE 0x240
.uleb128 0x6 # (DIE (0x263) DW_TAG_subprogram)
.long 0x162 # DW_AT_abstract_origin
.quad .LFB9 # DW_AT_low_pc
.quad .LFE9 # DW_AT_high_pc
.byte 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
.long 0x2a9 # DW_AT_sibling
.uleb128 0x8 # (DIE (0x27e) DW_TAG_formal_parameter)
.long 0x174 # DW_AT_abstract_origin
.long .LLST2 # DW_AT_location
.uleb128 0x9 # (DIE (0x287) DW_TAG_inlined_subroutine)
.long 0xa1 # DW_AT_abstract_origin
.quad .LBB48 # DW_AT_low_pc
.quad .LBE48 # DW_AT_high_pc
.byte 0x1 # DW_AT_call_file (../gdb.opt/inline-break.c)
.byte 0x64 # DW_AT_call_line
.uleb128 0x8 # (DIE (0x29e) DW_TAG_formal_parameter)
.long 0xb3 # DW_AT_abstract_origin
.long .LLST3 # DW_AT_location
.byte 0x0 # end of children of DIE 0x287
.byte 0x0 # end of children of DIE 0x263
.uleb128 0x6 # (DIE (0x2a9) DW_TAG_subprogram)
.long 0xbd # DW_AT_abstract_origin
.quad .LFB12 # DW_AT_low_pc
.quad .LFE12 # DW_AT_high_pc
.byte 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
.long 0x2cc # DW_AT_sibling
.uleb128 0x7 # (DIE (0x2c4) DW_TAG_formal_parameter)
.long 0xcf # DW_AT_abstract_origin
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x0 # end of children of DIE 0x2a9
.uleb128 0xa # (DIE (0x2cc) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF20 # DW_AT_name: "main"
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x86 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.quad .LFB14 # DW_AT_low_pc
.quad .LFE14 # DW_AT_high_pc
.byte 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
.long 0x52b # DW_AT_sibling
.uleb128 0xb # (DIE (0x2ef) DW_TAG_formal_parameter)
.long .LASF14 # DW_AT_name: "argc"
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x86 # DW_AT_decl_line
.long 0x48 # DW_AT_type
.long .LLST4 # DW_AT_location
.uleb128 0xb # (DIE (0x2fe) DW_TAG_formal_parameter)
.long .LASF15 # DW_AT_name: "argv"
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x86 # DW_AT_decl_line
.long 0x52b # DW_AT_type
.long .LLST5 # DW_AT_location
.uleb128 0xc # (DIE (0x30d) DW_TAG_variable)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.opt/inline-break.c)
.byte 0x8c # DW_AT_decl_line
.long 0x53e # DW_AT_type
.long .LLST6 # DW_AT_location
.uleb128 0xd # (DIE (0x31a) DW_TAG_inlined_subroutine)
.long 0xd9 # DW_AT_abstract_origin
.quad .LBB50 # DW_AT_entry_pc
.long .Ldebug_ranges0+0x0 # DW_AT_ranges
.byte 0x1 # DW_AT_call_file (../gdb.opt/inline-break.c)
.byte 0x8e # DW_AT_call_line
.long 0x33b # DW_AT_sibling
.uleb128 0x8 # (DIE (0x331) DW_TAG_formal_parameter)
.long 0xea # DW_AT_abstract_origin
.long .LLST7 # DW_AT_location
.byte 0x0 # end of children of DIE 0x31a
.uleb128 0xd # (DIE (0x33b) DW_TAG_inlined_subroutine)
.long 0x110 # DW_AT_abstract_origin
.quad .LBB53 # DW_AT_entry_pc
.long .Ldebug_ranges0+0x30 # DW_AT_ranges
.byte 0x1 # DW_AT_call_file (../gdb.opt/inline-break.c)
.byte 0x92 # DW_AT_call_line
.long 0x37d # DW_AT_sibling
.uleb128 0x8 # (DIE (0x352) DW_TAG_formal_parameter)
.long 0x121 # DW_AT_abstract_origin
.long .LLST8 # DW_AT_location
.uleb128 0x9 # (DIE (0x35b) DW_TAG_inlined_subroutine)
.long 0x2d # DW_AT_abstract_origin
.quad .LBB55 # DW_AT_low_pc
.quad .LBE55 # DW_AT_high_pc
.byte 0x1 # DW_AT_call_file (../gdb.opt/inline-break.c)
.byte 0x37 # DW_AT_call_line
.uleb128 0x8 # (DIE (0x372) DW_TAG_formal_parameter)
.long 0x3e # DW_AT_abstract_origin
.long .LLST9 # DW_AT_location
.byte 0x0 # end of children of DIE 0x35b
.byte 0x0 # end of children of DIE 0x33b
.uleb128 0xd # (DIE (0x37d) DW_TAG_inlined_subroutine)
.long 0x147 # DW_AT_abstract_origin
.quad .LBB58 # DW_AT_entry_pc
.long .Ldebug_ranges0+0x60 # DW_AT_ranges
.byte 0x1 # DW_AT_call_file (../gdb.opt/inline-break.c)
.byte 0x96 # DW_AT_call_line
.long 0x3bf # DW_AT_sibling
.uleb128 0x8 # (DIE (0x394) DW_TAG_formal_parameter)
.long 0x158 # DW_AT_abstract_origin
.long .LLST10 # DW_AT_location
.uleb128 0x9 # (DIE (0x39d) DW_TAG_inlined_subroutine)
.long 0x85 # DW_AT_abstract_origin
.quad .LBB60 # DW_AT_low_pc
.quad .LBE60 # DW_AT_high_pc
.byte 0x1 # DW_AT_call_file (../gdb.opt/inline-break.c)
.byte 0x55 # DW_AT_call_line
.uleb128 0x8 # (DIE (0x3b4) DW_TAG_formal_parameter)
.long 0x97 # DW_AT_abstract_origin
.long .LLST11 # DW_AT_location
.byte 0x0 # end of children of DIE 0x39d
.byte 0x0 # end of children of DIE 0x37d
.uleb128 0xe # (DIE (0x3bf) DW_TAG_inlined_subroutine)
.long 0xf4 # DW_AT_abstract_origin
.quad .LBB64 # DW_AT_low_pc
.quad .LBE64 # DW_AT_high_pc
.byte 0x1 # DW_AT_call_file (../gdb.opt/inline-break.c)
.byte 0x90 # DW_AT_call_line
.long 0x3e4 # DW_AT_sibling
.uleb128 0x8 # (DIE (0x3da) DW_TAG_formal_parameter)
.long 0x106 # DW_AT_abstract_origin
.long .LLST12 # DW_AT_location
.byte 0x0 # end of children of DIE 0x3bf
.uleb128 0xe # (DIE (0x3e4) DW_TAG_inlined_subroutine)
.long 0x12b # DW_AT_abstract_origin
.quad .LBB67 # DW_AT_low_pc
.quad .LBE67 # DW_AT_high_pc
.byte 0x1 # DW_AT_call_file (../gdb.opt/inline-break.c)
.byte 0x94 # DW_AT_call_line
.long 0x42a # DW_AT_sibling
.uleb128 0x8 # (DIE (0x3ff) DW_TAG_formal_parameter)
.long 0x13d # DW_AT_abstract_origin
.long .LLST13 # DW_AT_location
.uleb128 0x9 # (DIE (0x408) DW_TAG_inlined_subroutine)
.long 0x6a # DW_AT_abstract_origin
.quad .LBB69 # DW_AT_low_pc
.quad .LBE69 # DW_AT_high_pc
.byte 0x1 # DW_AT_call_file (../gdb.opt/inline-break.c)
.byte 0x46 # DW_AT_call_line
.uleb128 0x8 # (DIE (0x41f) DW_TAG_formal_parameter)
.long 0x7b # DW_AT_abstract_origin
.long .LLST14 # DW_AT_location
.byte 0x0 # end of children of DIE 0x408
.byte 0x0 # end of children of DIE 0x3e4
.uleb128 0xd # (DIE (0x42a) DW_TAG_inlined_subroutine)
.long 0x162 # DW_AT_abstract_origin
.quad .LBB72 # DW_AT_entry_pc
.long .Ldebug_ranges0+0x90 # DW_AT_ranges
.byte 0x1 # DW_AT_call_file (../gdb.opt/inline-break.c)
.byte 0x98 # DW_AT_call_line
.long 0x46c # DW_AT_sibling
.uleb128 0x8 # (DIE (0x441) DW_TAG_formal_parameter)
.long 0x174 # DW_AT_abstract_origin
.long .LLST15 # DW_AT_location
.uleb128 0x9 # (DIE (0x44a) DW_TAG_inlined_subroutine)
.long 0xa1 # DW_AT_abstract_origin
.quad .LBB74 # DW_AT_low_pc
.quad .LBE74 # DW_AT_high_pc
.byte 0x1 # DW_AT_call_file (../gdb.opt/inline-break.c)
.byte 0x64 # DW_AT_call_line
.uleb128 0x8 # (DIE (0x461) DW_TAG_formal_parameter)
.long 0xb3 # DW_AT_abstract_origin
.long .LLST16 # DW_AT_location
.byte 0x0 # end of children of DIE 0x44a
.byte 0x0 # end of children of DIE 0x42a
.uleb128 0xd # (DIE (0x46c) DW_TAG_inlined_subroutine)
.long 0x17e # DW_AT_abstract_origin
.quad .LBB77 # DW_AT_entry_pc
.long .Ldebug_ranges0+0xc0 # DW_AT_ranges
.byte 0x1 # DW_AT_call_file (../gdb.opt/inline-break.c)
.byte 0x9a # DW_AT_call_line
.long 0x4aa # DW_AT_sibling
.uleb128 0x8 # (DIE (0x483) DW_TAG_formal_parameter)
.long 0x18f # DW_AT_abstract_origin
.long .LLST17 # DW_AT_location
.uleb128 0xf # (DIE (0x48c) DW_TAG_inlined_subroutine)
.long 0x4f # DW_AT_abstract_origin
.quad .LBB82 # DW_AT_entry_pc
.long .Ldebug_ranges0+0x120 # DW_AT_ranges
.byte 0x1 # DW_AT_call_file (../gdb.opt/inline-break.c)
.byte 0x72 # DW_AT_call_line
.uleb128 0x8 # (DIE (0x49f) DW_TAG_formal_parameter)
.long 0x60 # DW_AT_abstract_origin
.long .LLST18 # DW_AT_location
.byte 0x0 # end of children of DIE 0x48c
.byte 0x0 # end of children of DIE 0x46c
.uleb128 0xd # (DIE (0x4aa) DW_TAG_inlined_subroutine)
.long 0x4f # DW_AT_abstract_origin
.quad .LBB92 # DW_AT_entry_pc
.long .Ldebug_ranges0+0x160 # DW_AT_ranges
.byte 0x1 # DW_AT_call_file (../gdb.opt/inline-break.c)
.byte 0x9a # DW_AT_call_line
.long 0x4cb # DW_AT_sibling
.uleb128 0x8 # (DIE (0x4c1) DW_TAG_formal_parameter)
.long 0x60 # DW_AT_abstract_origin
.long .LLST19 # DW_AT_location
.byte 0x0 # end of children of DIE 0x4aa
.uleb128 0xd # (DIE (0x4cb) DW_TAG_inlined_subroutine)
.long 0x199 # DW_AT_abstract_origin
.quad .LBB100 # DW_AT_entry_pc
.long .Ldebug_ranges0+0x1a0 # DW_AT_ranges
.byte 0x1 # DW_AT_call_file (../gdb.opt/inline-break.c)
.byte 0x9c # DW_AT_call_line
.long 0x509 # DW_AT_sibling
.uleb128 0x8 # (DIE (0x4e2) DW_TAG_formal_parameter)
.long 0x1aa # DW_AT_abstract_origin
.long .LLST20 # DW_AT_location
.uleb128 0xf # (DIE (0x4eb) DW_TAG_inlined_subroutine)
.long 0xbd # DW_AT_abstract_origin
.quad .LBB102 # DW_AT_entry_pc
.long .Ldebug_ranges0+0x1d0 # DW_AT_ranges
.byte 0x1 # DW_AT_call_file (../gdb.opt/inline-break.c)
.byte 0x80 # DW_AT_call_line
.uleb128 0x8 # (DIE (0x4fe) DW_TAG_formal_parameter)
.long 0xcf # DW_AT_abstract_origin
.long .LLST21 # DW_AT_location
.byte 0x0 # end of children of DIE 0x4eb
.byte 0x0 # end of children of DIE 0x4cb
.uleb128 0x9 # (DIE (0x509) DW_TAG_inlined_subroutine)
.long 0xbd # DW_AT_abstract_origin
.quad .LBB108 # DW_AT_low_pc
.quad .LBE108 # DW_AT_high_pc
.byte 0x1 # DW_AT_call_file (../gdb.opt/inline-break.c)
.byte 0x9c # DW_AT_call_line
.uleb128 0x8 # (DIE (0x520) DW_TAG_formal_parameter)
.long 0xcf # DW_AT_abstract_origin
.long .LLST22 # DW_AT_location
.byte 0x0 # end of children of DIE 0x509
.byte 0x0 # end of children of DIE 0x2cc
.uleb128 0x10 # (DIE (0x52b) DW_TAG_pointer_type)
.byte 0x8 # DW_AT_byte_size
.long 0x531 # DW_AT_type
.uleb128 0x10 # (DIE (0x531) DW_TAG_pointer_type)
.byte 0x8 # DW_AT_byte_size
.long 0x537 # DW_AT_type
.uleb128 0x11 # (DIE (0x537) DW_TAG_base_type)
.byte 0x1 # DW_AT_byte_size
.byte 0x6 # DW_AT_encoding
.long .LASF16 # DW_AT_name: "char"
.uleb128 0x12 # (DIE (0x53e) DW_TAG_volatile_type)
.long 0x48 # DW_AT_type
.byte 0x0 # end of children of DIE 0xb
.section .debug_abbrev
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x6 # (DW_FORM_data4)
.byte 0x0
.byte 0x0
.uleb128 0x2 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x20 # (DW_AT_inline)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0x0
.byte 0x0
.uleb128 0x3 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0x0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0x0
.byte 0x0
.uleb128 0x4 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0x0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0x0
.byte 0x0
.uleb128 0x5 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x20 # (DW_AT_inline)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0x0
.byte 0x0
.uleb128 0x6 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0xa # (DW_FORM_block1)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0x0
.byte 0x0
.uleb128 0x7 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0x0 # DW_children_no
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0x0
.byte 0x0
.uleb128 0x8 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0x0 # DW_children_no
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x6 # (DW_FORM_data4)
.byte 0x0
.byte 0x0
.uleb128 0x9 # (abbrev code)
.uleb128 0x1d # (TAG: DW_TAG_inlined_subroutine)
.byte 0x1 # DW_children_yes
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x58 # (DW_AT_call_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x59 # (DW_AT_call_line)
.uleb128 0xb # (DW_FORM_data1)
.byte 0x0
.byte 0x0
.uleb128 0xa # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0xa # (DW_FORM_block1)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0x0
.byte 0x0
.uleb128 0xb # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0x0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x6 # (DW_FORM_data4)
.byte 0x0
.byte 0x0
.uleb128 0xc # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0x0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x6 # (DW_FORM_data4)
.byte 0x0
.byte 0x0
.uleb128 0xd # (abbrev code)
.uleb128 0x1d # (TAG: DW_TAG_inlined_subroutine)
.byte 0x1 # DW_children_yes
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x52 # (DW_AT_entry_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x55 # (DW_AT_ranges)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x58 # (DW_AT_call_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x59 # (DW_AT_call_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0x0
.byte 0x0
.uleb128 0xe # (abbrev code)
.uleb128 0x1d # (TAG: DW_TAG_inlined_subroutine)
.byte 0x1 # DW_children_yes
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x58 # (DW_AT_call_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x59 # (DW_AT_call_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0x0
.byte 0x0
.uleb128 0xf # (abbrev code)
.uleb128 0x1d # (TAG: DW_TAG_inlined_subroutine)
.byte 0x1 # DW_children_yes
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x52 # (DW_AT_entry_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x55 # (DW_AT_ranges)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x58 # (DW_AT_call_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x59 # (DW_AT_call_line)
.uleb128 0xb # (DW_FORM_data1)
.byte 0x0
.byte 0x0
.uleb128 0x10 # (abbrev code)
.uleb128 0xf # (TAG: DW_TAG_pointer_type)
.byte 0x0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0x0
.byte 0x0
.uleb128 0x11 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0x0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.byte 0x0
.byte 0x0
.uleb128 0x12 # (abbrev code)
.uleb128 0x35 # (TAG: DW_TAG_volatile_type)
.byte 0x0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0x0
.byte 0x0
.byte 0x0
.section .debug_pubnames,"",@progbits
.long 0x58 # Length of Public Names Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.long 0x544 # Compilation Unit Length
.long 0x1b4 # DIE offset
.ascii "func2\0" # external name
.long 0x1d7 # DIE offset
.ascii "func4a\0" # external name
.long 0x21d # DIE offset
.ascii "func5b\0" # external name
.long 0x240 # DIE offset
.ascii "func6b\0" # external name
.long 0x263 # DIE offset
.ascii "func6a\0" # external name
.long 0x2a9 # DIE offset
.ascii "func8b\0" # external name
.long 0x2cc # DIE offset
.ascii "main\0" # external name
.long 0x0
.section .debug_aranges,"",@progbits
.long 0x2c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0x0 # Size of Segment Descriptor
.value 0x0 # Pad to 16 byte boundary
.value 0x0
.quad .Ltext0 # Address
.quad .Letext0-.Ltext0 # Length
.quad 0x0
.quad 0x0
.section .debug_ranges,"",@progbits
.Ldebug_ranges0:
.quad .LBB50-.Ltext0 # Offset 0x0
.quad .LBE50-.Ltext0
.quad .LBB63-.Ltext0
.quad .LBE63-.Ltext0
.quad 0x0
.quad 0x0
.quad .LBB53-.Ltext0 # Offset 0x30
.quad .LBE53-.Ltext0
.quad .LBB66-.Ltext0
.quad .LBE66-.Ltext0
.quad 0x0
.quad 0x0
.quad .LBB58-.Ltext0 # Offset 0x60
.quad .LBE58-.Ltext0
.quad .LBB71-.Ltext0
.quad .LBE71-.Ltext0
.quad 0x0
.quad 0x0
.quad .LBB72-.Ltext0 # Offset 0x90
.quad .LBE72-.Ltext0
.quad .LBB89-.Ltext0
.quad .LBE89-.Ltext0
.quad 0x0
.quad 0x0
.quad .LBB77-.Ltext0 # Offset 0xc0
.quad .LBE77-.Ltext0
.quad .LBB98-.Ltext0
.quad .LBE98-.Ltext0
.quad .LBB96-.Ltext0
.quad .LBE96-.Ltext0
.quad .LBB91-.Ltext0
.quad .LBE91-.Ltext0
.quad .LBB90-.Ltext0
.quad .LBE90-.Ltext0
.quad 0x0
.quad 0x0
.quad .LBB82-.Ltext0 # Offset 0x120
.quad .LBE82-.Ltext0
.quad .LBB86-.Ltext0
.quad .LBE86-.Ltext0
.quad .LBB81-.Ltext0
.quad .LBE81-.Ltext0
.quad 0x0
.quad 0x0
.quad .LBB92-.Ltext0 # Offset 0x160
.quad .LBE92-.Ltext0
.quad .LBB99-.Ltext0
.quad .LBE99-.Ltext0
.quad .LBB97-.Ltext0
.quad .LBE97-.Ltext0
.quad 0x0
.quad 0x0
.quad .LBB100-.Ltext0 # Offset 0x1a0
.quad .LBE100-.Ltext0
.quad .LBB107-.Ltext0
.quad .LBE107-.Ltext0
.quad 0x0
.quad 0x0
.quad .LBB102-.Ltext0 # Offset 0x1d0
.quad .LBE102-.Ltext0
.quad .LBB105-.Ltext0
.quad .LBE105-.Ltext0
.quad 0x0
.quad 0x0
.section .debug_str,"MS",@progbits,1
.LASF12:
.string "func7a"
.LASF1:
.string "func7b"
.LASF19:
.string "/home/gary/work/archer/src/gdb/testsuite/gdb.dwarf2"
.LASF20:
.string "main"
.LASF18:
.string "../gdb.opt/inline-break.c"
.LASF6:
.string "func1"
.LASF17:
.string "GNU C 4.5.1 20100924 (Red Hat 4.5.1-4)"
.LASF14:
.string "argc"
.LASF8:
.string "func3a"
.LASF0:
.string "func3b"
.LASF16:
.string "char"
.LASF9:
.string "func4a"
.LASF2:
.string "func4b"
.LASF11:
.string "func6a"
.LASF10:
.string "func5a"
.LASF3:
.string "func5b"
.LASF5:
.string "func8b"
.LASF13:
.string "func8a"
.LASF7:
.string "func2"
.LASF4:
.string "func6b"
.LASF15:
.string "argv"
.ident "GCC: (GNU) 4.5.1 20100924 (Red Hat 4.5.1-4)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 4,976
|
gdb/testsuite/gdb.dwarf2/dw2-inline-param.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2010-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte cu_text_start /* DW_AT_low_pc */
.4byte cu_text_end /* DW_AT_high_pc */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 1 /* DW_AT_language (C) */
.Ltype_int:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
.ascii "int\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.uleb128 4 /* Abbrev: DW_TAG_subprogram */
.ascii "main\0" /* DW_AT_name */
.4byte cu_text_start /* DW_AT_low_pc */
.4byte cu_text_end /* DW_AT_high_pc */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.byte 1 /* DW_AT_external */
.byte 1 /* DW_AT_prototyped */
.uleb128 6 /* Abbrev: DW_TAG_formal_parameter */
.ascii "mainparam\0" /* DW_AT_name */
.uleb128 5 /* Abbrev: DW_TAG_inlined_subroutine */
.ascii "func\0" /* DW_AT_name */
.4byte block_start /* DW_AT_low_pc */
.4byte block_end /* DW_AT_high_pc */
.byte 3 /* DW_AT_inline (DW_INL_declared_inlined) */
.byte 1 /* DW_AT_prototyped */
.byte 0 /* DW_AT_call_file */
.byte 1 /* DW_AT_call_line */
.uleb128 6 /* Abbrev: DW_TAG_formal_parameter */
.ascii "funcparam\0" /* DW_AT_name */
.byte 0 /* End of children of func */
.byte 0 /* End of children of main */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 4 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 1 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x27 /* DW_AT_prototyped */
.uleb128 0xc /* DW_FORM_flag */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 5 /* Abbrev code */
.uleb128 0x1d /* DW_TAG_inlined_subroutine */
.byte 1 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x20 /* DW_AT_inline */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x27 /* DW_AT_prototyped */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x58 /* DW_AT_call_file */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x59 /* DW_AT_call_line */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 6 /* Abbrev code */
.uleb128 0x05 /* DW_TAG_formal_parameter */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
|
stsp/binutils-ia16
| 3,540
|
gdb/testsuite/gdb.dwarf2/dw2-cu-size.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2008-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Test inter-cu reference support where the referenced DIE is within
initial_length_size bytes of the end of the CU, but GDB doesn't take
into account initial_length_size.
GDB still gets the correct answer because it goes looking for the
correct CU, but the search is unnecessary. */
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 1 /* DW_AT_language (C) */
.uleb128 2 /* Abbrev: DW_TAG_variable */
.ascii "noloc\0" /* DW_AT_name */
.4byte .Ltype_const_int-.Lcu1_begin /* DW_AT_type */
.byte 1 /* DW_AT_external */
.Ltype_int:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
.ascii "int\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.Ltype_const_int:
.uleb128 4 /* Abbrev: DW_TAG_const_type */
.uleb128 .Ltype_int - .Lcu1_begin /* DW_AT_type */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 4 /* Abbrev code */
.uleb128 0x26 /* DW_TAG_const_type */
.byte 0 /* has_children */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x15 /* DW_FORM_ref_udata */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator .debug_abbrev
section. */
|
stsp/binutils-ia16
| 5,884
|
gdb/testsuite/gdb.dwarf2/mac-fileno.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2005-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Check that GDB can gracefully handle macro information that has
bogus file numbers. */
/* Dummy function to provide debug information for. */
.text
.Lbegin_text1:
.globl func_cu1
.type func_cu1, %function
func_cu1:
.Lbegin_func_cu1:
.int 0
.Lend_func_cu1:
.size func_cu1, .-func_cu1
.Lend_text1:
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte .Lline1_begin /* DW_AT_stmt_list */
.4byte .Ldebug_macinfo0 /* DW_AT_macro_info */
.4byte .Lend_text1 /* DW_AT_high_pc */
.4byte .Lbegin_text1 /* DW_AT_low_pc */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 4.0.1\0" /* DW_AT_producer */
.byte 1 /* DW_AT_language (C) */
/* func_cu1 */
.uleb128 2 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.byte 1 /* DW_AT_decl_file */
.byte 2 /* DW_AT_decl_line */
.ascii "func_cu1\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.4byte .Lbegin_func_cu1 /* DW_AT_low_pc */
.4byte .Lend_func_cu1 /* DW_AT_high_pc */
.byte 1 /* DW_AT_frame_base: length */
.byte 0x55 /* DW_AT_frame_base: DW_OP_reg5 */
.Ltype_int:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
.ascii "int\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x10 /* DW_AT_stmt_list */
.uleb128 0x6 /* DW_FORM_data4 */
.uleb128 0x43 /* DW_AT_macro_info */
.uleb128 0x6 /* DW_FORM_data4 */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 0 /* has_children */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3a /* DW_AT_decl_file */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3b /* DW_AT_decl_line */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x40 /* DW_AT_frame_base */
.uleb128 0xa /* DW_FORM_block1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
/* Line table */
.section .debug_line
.Lline1_begin:
.4byte .Lline1_end - .Lline1_start /* Initial length */
.Lline1_start:
.2byte 2 /* Version */
.4byte .Lline1_lines - .Lline1_hdr /* header_length */
.Lline1_hdr:
.byte 1 /* Minimum insn length */
.byte 1 /* default_is_stmt */
.byte 1 /* line_base */
.byte 1 /* line_range */
.byte 0x10 /* opcode_base */
/* Standard lengths */
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 0
/* Include directories */
.byte 0
/* File names */
.ascii "file1.txt\0"
.uleb128 0
.uleb128 0
.uleb128 0
.byte 0
.Lline1_lines:
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lbegin_func_cu1
.byte 3 /* DW_LNS_advance_line */
.sleb128 3 /* ... to 4 */
.byte 1 /* DW_LNS_copy */
.byte 1 /* DW_LNS_copy (second time as an end-of-prologue marker) */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lend_func_cu1
.byte 0 /* DW_LNE_end_of_sequence */
.uleb128 1
.byte 1
.Lline1_end:
.section .debug_macinfo,"",%progbits
.Ldebug_macinfo0:
.byte 0x3 /* Start new file */
.uleb128 0x0 /* Included from line number 0 */
.uleb128 0x2 /* Filename we just started (bug: number too large) */
.byte 0x3 /* Start new file */
.uleb128 0x0 /* Included from line number 0 */
.uleb128 0x0 /* Filename we just started (bug: number too small) */
.byte 0x0 /* end of CU's macro information */
|
stsp/binutils-ia16
| 5,782
|
gdb/testsuite/gdb.dwarf2/dw2-unresolved.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2007-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#define CONCAT1(a, b) CONCAT2(a, b)
#define CONCAT2(a, b) a ## b
#ifdef SYMBOL_PREFIX
# define SYMBOL(str) CONCAT1(SYMBOL_PREFIX, str)
#else
# define SYMBOL(str) str
#endif
.data
/* VAR1 is wrong here, in the real inferior it is located on stack. As both
places are never modified and they are initialized to the same value it
makes no difference. Ensure the name clash for "var". */
SYMBOL(var1): .byte 1
.globl SYMBOL(var)
SYMBOL(var): .byte 2
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte cu_text_end /* DW_AT_high_pc */
.4byte cu_text_start /* DW_AT_low_pc */
.ascii "dw2-unresolved-main.c\0" /* DW_AT_name */
.ascii "GNU C 4.3.2\0" /* DW_AT_producer */
.byte 1 /* DW_AT_language (C) */
.Ltype_uchar:
.uleb128 2 /* Abbrev: DW_TAG_base_type */
.ascii "unsigned char\0" /* DW_AT_name */
.byte 1 /* DW_AT_byte_size */
.byte 7 /* DW_AT_encoding */
/* main */
.uleb128 3 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_decl_file */
.byte 2 /* DW_AT_decl_line */
.ascii "main\0" /* DW_AT_name */
.4byte .Ltype_uchar-.Lcu1_begin /* DW_AT_type */
.4byte cu_text_start /* DW_AT_low_pc */
.4byte cu_text_end /* DW_AT_high_pc */
.uleb128 4 /* Abbrev: DW_TAG_variable (location) */
.ascii "var\0" /* DW_AT_name */
.byte 2f - 1f /* DW_AT_location */
1: .byte 3 /* DW_OP_addr */
/* See VAR1 definition why this DIE is not correct. */
.4byte SYMBOL(var1) /* <addr> */
2: .4byte .Ltype_uchar-.Lcu1_begin /* DW_AT_type */
.uleb128 6 /* Abbrev: DW_TAG_lexical_block */
.4byte SYMBOL(extern_block_start) /* DW_AT_low_pc */
.4byte SYMBOL(extern_block_end) /* DW_AT_high_pc */
.uleb128 5 /* Abbrev: DW_TAG_variable (extern) */
.ascii "var\0" /* DW_AT_name */
.4byte .Ltype_uchar-.Lcu1_begin /* DW_AT_type */
.byte 1 /* DW_AT_external */
.byte 0 /* End of children of the lexical block */
.byte 0 /* End of children of main */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 1 /* has_children */
.uleb128 0x3a /* DW_AT_decl_file */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3b /* DW_AT_decl_line */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 4 /* Abbrev code (location) */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x2 /* DW_AT_location */
.uleb128 0xa /* DW_FORM_block1 */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 5 /* Abbrev code (extern) */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 6 /* Abbrev code */
.uleb128 0x0b /* DW_TAG_lexical_block */
.byte 1 /* has_children */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
|
stsp/binutils-ia16
| 18,135
|
gdb/testsuite/gdb.dwarf2/fission-loclists.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2013-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
This file was created by doing:
gcc -O2 -gdwarf-4 -gsplit-debug -S -dA fission-loclists.c
and then massaging the output.
fission-loclists.c:
volatile v;
__attribute__ ((noinline)) void foo (int* x) { v = *x; }
int
main (int argc, char *argv[])
{
foo (&argc);
return 0;
}
*/
.file "fission-loclists.c"
.text
.Ltext0:
.p2align 4,,15
.globl foo
.type foo, @function
foo:
.LFB0:
.file 1 "fission-loclists.c"
# fission-loclists.c:3
.loc 1 3 0
.cfi_startproc
.LVL0:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# fission-loclists.c:3
.loc 1 3 0
movl (%rdi), %eax
movl %eax, v(%rip)
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE0:
.size foo, .-foo
.text # was .section .text.startup,"ax",@progbits
.p2align 4,,15
.globl main
.type main, @function
main:
.LFB1:
# fission-loclists.c:7
.loc 1 7 0
.cfi_startproc
.LVL1:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
subq $8, %rsp
.cfi_def_cfa_offset 16
# fission-loclists.c:7
.loc 1 7 0
movl %edi, 4(%rsp)
# fission-loclists.c:8
.loc 1 8 0
leaq 4(%rsp), %rdi
.LVL2:
call foo
.LVL3:
# fission-loclists.c:10
.loc 1 10 0
xorl %eax, %eax
addq $8, %rsp
.cfi_def_cfa_offset 8
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE1:
.size main, .-main
.comm v,4,4
.text
.Letext0:
.section .debug_addr,"",@progbits
.Ldebug_addr0:
.8byte .LVL1 # 0x0
.8byte v # 0x1
.8byte .LVL3 # 0x2
.8byte .LFB0 # 0x3
.8byte .LFB1 # 0x4
.8byte .LVL3-1 # 0x5
.8byte .LVL2 # 0x6
.section .debug_info.dwo,"",@progbits
.Ldebug_info0:
.4byte .Ldebug_info0_end - .Ldebug_info0 - 4 # Length of Compilation Unit Info
.value 0x4 # DWARF version number
.4byte .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.ascii "GNU C 4.7.x-fission\0" # DW_AT_producer
.byte 0x1 # DW_AT_language
.ascii "fission-loclists.c\0" # DW_AT_name
.ascii "/tmp\0" # DW_AT_comp_dir
.byte 0xcb # DW_AT_GNU_dwo_id
.byte 0x64
.byte 0x3e
.byte 0x34
.byte 0x1b
.byte 0x8a
.byte 0xd6
.byte 0x5
.Lfoo_func:
.uleb128 0x2 # (DIE (0x5c) DW_TAG_subprogram)
# DW_AT_external
.ascii "foo\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (fission-loclists.c)
.byte 0x3 # DW_AT_decl_line
# DW_AT_prototyped
.uleb128 0x3 # DW_AT_low_pc
.8byte .LFE0-.LFB0 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
.4byte .Lint_ptr_type - .Ldebug_info0 # DW_AT_sibling
.uleb128 0x3 # (DIE (0x72) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (fission-loclists.c)
.byte 0x3 # DW_AT_decl_line
.4byte .Lint_ptr_type - .Ldebug_info0 # DW_AT_type
.uleb128 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0 # end of children of DIE 0x5c
.Lint_ptr_type:
.uleb128 0x4 # (DIE (0x7e) DW_TAG_pointer_type)
.byte 0x8 # DW_AT_byte_size
.4byte .Lint_type - .Ldebug_info0 # DW_AT_type
.Lint_type:
.uleb128 0x5 # (DIE (0x84) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
.uleb128 0x6 # (DIE (0x8b) DW_TAG_subprogram)
# DW_AT_external
.ascii "main\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (fission-loclists.c)
.byte 0x6 # DW_AT_decl_line
# DW_AT_prototyped
.4byte .Lint_type - .Ldebug_info0 # DW_AT_type
.uleb128 0x4 # DW_AT_low_pc
.8byte .LFE1-.LFB1 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
.4byte .Lchar_ptr_ptr_type - .Ldebug_info0 # DW_AT_sibling
.uleb128 0x7 # (DIE (0xa6) DW_TAG_formal_parameter)
.ascii "argc\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (fission-loclists.c)
.byte 0x6 # DW_AT_decl_line
.4byte .Lint_type - .Ldebug_info0 # DW_AT_type
.4byte .LLST0-.Ldebug_loc0 # DW_AT_location
.uleb128 0x7 # (DIE (0xb6) DW_TAG_formal_parameter)
.ascii "argv\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (fission-loclists.c)
.byte 0x6 # DW_AT_decl_line
.4byte .Lchar_ptr_ptr_type - .Ldebug_info0 # DW_AT_type
.4byte .LLST1-.Ldebug_loc0 # DW_AT_location
.uleb128 0x8 # (DIE (0xc6) DW_TAG_GNU_call_site)
.uleb128 0x2 # DW_AT_low_pc
.4byte .Lfoo_func - .Ldebug_info0 # DW_AT_abstract_origin
.uleb128 0x9 # (DIE (0xcc) DW_TAG_GNU_call_site_parameter)
.uleb128 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.uleb128 0x2 # DW_AT_GNU_call_site_value
.byte 0x91 # DW_OP_fbreg
.sleb128 -12
.byte 0 # end of children of DIE 0xc6
.byte 0 # end of children of DIE 0x8b
.Lchar_ptr_ptr_type:
.uleb128 0x4 # (DIE (0xd4) DW_TAG_pointer_type)
.byte 0x8 # DW_AT_byte_size
.4byte .Lchar_ptr_type - .Ldebug_info0 # DW_AT_type
.Lchar_ptr_type:
.uleb128 0x4 # (DIE (0xda) DW_TAG_pointer_type)
.byte 0x8 # DW_AT_byte_size
.4byte .Lchar_type - .Ldebug_info0 # DW_AT_type
.Lchar_type:
.uleb128 0x5 # (DIE (0xe0) DW_TAG_base_type)
.byte 0x1 # DW_AT_byte_size
.byte 0x6 # DW_AT_encoding
.ascii "char\0" # DW_AT_name
.uleb128 0xa # (DIE (0xe8) DW_TAG_variable)
.ascii "v\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (fission-loclists.c)
.byte 0x1 # DW_AT_decl_line
.4byte .Lvolatile_int_type - .Ldebug_info0 # DW_AT_type
# DW_AT_external
.uleb128 0x2 # DW_AT_location
.byte 0xfb # DW_OP_GNU_addr_index
.uleb128 0x1 # (index into .debug_addr)
.Lvolatile_int_type:
.uleb128 0xb # (DIE (0xf4) DW_TAG_volatile_type)
.4byte .Lint_type - .Ldebug_info0 # DW_AT_type
.byte 0 # end of children of DIE 0xb
.Ldebug_info0_end:
.section .debug_info,"",@progbits
.Lskeleton_debug_info0:
.4byte .Lskeleton_debug_info0_end - .Lskeleton_debug_info0 - 4 # Length of Compilation Unit Info
.value 0x4 # DWARF version number
.4byte .Lskeleton_debug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0) DW_TAG_compile_unit)
.4byte .Ldebug_ranges0+0 # DW_AT_ranges
# This next line is the core of the test.
# We want a non-zero value for low_pc to verify gdb is *not* using it
# (the initial base address) when evaluating location list addresses in
# .debug_loc.dwo.
# Note: Setting a non-zero value here means we had to adjust the
# values in .debug_ranges.
.8byte .Ltext0 # DW_AT_low_pc
.4byte .Ldebug_line0 # DW_AT_stmt_list
.byte 0xcb # DW_AT_GNU_dwo_id
.byte 0x64
.byte 0x3e
.byte 0x34
.byte 0x1b
.byte 0x8a
.byte 0xd6
.byte 0x5
.4byte .Ldebug_ranges0 # DW_AT_GNU_ranges_base
.ascii "/tmp/src/gdb/testsuite\0" # DW_AT_comp_dir
.asciz DWO # DW_AT_GNU_dwo_name
.4byte .Ldebug_pubnames0 # DW_AT_GNU_pubnames
.4byte .Ldebug_pubtypes0 # DW_AT_GNU_pubtypes
.4byte .Ldebug_addr0 # DW_AT_GNU_addr_base
.Lskeleton_debug_info0_end:
.section .debug_abbrev,"",@progbits
.Lskeleton_debug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0 # DW_children_no
.uleb128 0x55 # (DW_AT_ranges)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x2131 # (DW_AT_GNU_dwo_id)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x2132 # (DW_AT_GNU_ranges_base)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x2130 # (DW_AT_GNU_dwo_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x2134 # (DW_AT_GNU_pubnames)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x2135 # (DW_AT_GNU_pubtypes)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x2133 # (DW_AT_GNU_addr_base)
.uleb128 0x17 # (DW_FORM_sec_offset)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x41 # (TAG: DW_TAG_type_unit)
.byte 0 # DW_children_no
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x2130 # (DW_AT_GNU_dwo_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x2134 # (DW_AT_GNU_pubnames)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x2135 # (DW_AT_GNU_pubtypes)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x2133 # (DW_AT_GNU_addr_base)
.uleb128 0x17 # (DW_FORM_sec_offset)
.byte 0
.byte 0
.byte 0 # end of skeleton .debug_abbrev
.section .debug_abbrev.dwo,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x2131 # (DW_AT_GNU_dwo_id)
.uleb128 0x7 # (DW_FORM_data8)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1f01 # (DW_FORM_GNU_addr_index)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x4 # (abbrev code)
.uleb128 0xf # (TAG: DW_TAG_pointer_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x5 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0
.byte 0
.uleb128 0x6 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1f01 # (DW_FORM_GNU_addr_index)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x7 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x17 # (DW_FORM_sec_offset)
.byte 0
.byte 0
.uleb128 0x8 # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0x1 # DW_children_yes
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1f01 # (DW_FORM_GNU_addr_index)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x9 # (abbrev code)
.uleb128 0x410a # (TAG: DW_TAG_GNU_call_site_parameter)
.byte 0 # DW_children_no
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2111 # (DW_AT_GNU_call_site_value)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0xa # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0xb # (abbrev code)
.uleb128 0x35 # (TAG: DW_TAG_volatile_type)
.byte 0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.byte 0
.section .debug_loc.dwo,"",@progbits
.Ldebug_loc0:
.LLST0:
.byte 0x3 # Location list start/length entry (*.LLST0)
.uleb128 0 # Location list range start index (*.LVL1)
.4byte .LVL2-.LVL1 # Location list range length (*.LLST0)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.byte 0x3 # Location list start/length entry (*.LLST0)
.uleb128 0x6 # Location list range start index (*.LVL2)
.4byte .LFE1-.LVL2 # Location list range length (*.LLST0)
.value 0x2 # Location expression size
.byte 0x91 # DW_OP_fbreg
.sleb128 -12
.byte 0 # Location list terminator (*.LLST0)
.LLST1:
.byte 0x3 # Location list start/length entry (*.LLST1)
.uleb128 0 # Location list range start index (*.LVL1)
.4byte .LVL3-1-.LVL1 # Location list range length (*.LLST1)
.value 0x1 # Location expression size
.byte 0x54 # DW_OP_reg4
.byte 0x3 # Location list start/length entry (*.LLST1)
.uleb128 0x5 # Location list range start index (*.LVL3-1)
.4byte .LFE1-.LVL3-1 # Location list range length (*.LLST1)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x54 # DW_OP_reg4
.byte 0x9f # DW_OP_stack_value
.byte 0 # Location list terminator (*.LLST1)
.section .debug_gnu_pubnames,"",@progbits
.Ldebug_pubnames0:
.long 0x28 # Pub Info Length
.value 0x2 # DWARF Version
.long .Lskeleton_debug_info0 # Offset of Compilation Unit Info
.long 0xa6 # Compilation Unit Length
.long 0x18 # DIE offset
.byte 0x30 # GDB-index flags
.ascii "foo\0" # external name
.long 0x47 # DIE offset
.byte 0x30 # GDB-index flags
.ascii "main\0" # external name
.long 0x94 # DIE offset
.byte 0x20 # GDB-index flags
.ascii "v\0" # external name
.long 0
.section .debug_gnu_pubtypes,"",@progbits
.Ldebug_pubtypes0:
.long 0x21 # Pub Info Length
.value 0x2 # DWARF Version
.long .Lskeleton_debug_info0 # Offset of Compilation Unit Info
.long 0xa6 # Compilation Unit Length
.long 0x40 # DIE offset
.byte 0x90 # GDB-index flags
.ascii "int\0" # external name
.long 0x90 # DIE offset
.byte 0x90 # GDB-index flags
.ascii "char\0" # external name
.long 0
.section .debug_aranges,"",@progbits
.long 0x3c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Lskeleton_debug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 16 byte boundary
.value 0
.quad .Ltext0 # Address
.quad .Letext0-.Ltext0 # Length
.quad .LFB1 # Address
.quad .LFE1-.LFB1 # Length
.quad 0
.quad 0
.section .debug_aranges,"",@progbits
.4byte 0x3c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.4byte .Lskeleton_debug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 16 byte boundary
.value 0
.8byte .Ltext0 # Address
.8byte .Letext0-.Ltext0 # Length
.8byte .LFB1 # Address
.8byte .LFE1-.LFB1 # Length
.8byte 0
.8byte 0
.section .debug_ranges,"",@progbits
.Ldebug_ranges0:
.8byte .Ltext0 - .Ltext0 # Offset 0
.8byte .Letext0 - .Ltext0
.8byte .LFB1 - .Ltext0 # Offset 0x10
.8byte .LFE1 - .Ltext0
.8byte 0
.8byte 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_line.dwo,"",@progbits
.Lskeleton_debug_line0:
.4byte .LELT0-.LSLT0 # Length of Source Line Info
.LSLT0:
.value 0x4 # DWARF Version
.4byte .LELTP0-.LASLTP0 # Prolog Length
.LASLTP0:
.byte 0x1 # Minimum Instruction Length
.byte 0x1 # Maximum Operations Per Instruction
.byte 0x1 # Default is_stmt_start flag
.byte 0xf6 # Line Base Value (Special Opcodes)
.byte 0xf2 # Line Range Value (Special Opcodes)
.byte 0xd # Special Opcode Base
.byte 0 # opcode: 0x1 has 0 args
.byte 0x1 # opcode: 0x2 has 1 args
.byte 0x1 # opcode: 0x3 has 1 args
.byte 0x1 # opcode: 0x4 has 1 args
.byte 0x1 # opcode: 0x5 has 1 args
.byte 0 # opcode: 0x6 has 0 args
.byte 0 # opcode: 0x7 has 0 args
.byte 0 # opcode: 0x8 has 0 args
.byte 0x1 # opcode: 0x9 has 1 args
.byte 0 # opcode: 0xa has 0 args
.byte 0 # opcode: 0xb has 0 args
.byte 0x1 # opcode: 0xc has 1 args
.byte 0 # End directory table
.ascii "fission-loclists.c\0" # File Entry: 0x1
.uleb128 0
.uleb128 0
.uleb128 0
.byte 0 # End file name table
.LELTP0:
.LELT0:
.section .debug_str_offsets.dwo,"",@progbits
.section .debug_str.dwo,"",@progbits
.ident "GCC: 4.7.x-fission"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 17,980
|
gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2010-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This test triggers a complaint when gdb attempts to set a DIE's
type twice. The test was derived from the following source code:
#include <vector>
class a
{
private:
class b
{
public:
b () { }
};
std::vector<b> list_;
};
What follows below is a much simplified version of the debug info generated
by gcc from the above code. */
#define OFFSET(LBL) .Ldie_ ## LBL - .Lcu1_begin
.section .debug_info
.Lcu1_begin:
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit Info */
.Lcu1_start:
.2byte 0x3 /* DWARF version number */
.4byte .Labbrev1_begin /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.Ldie_b:
.uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
.ascii "GNU C++ 4.4.3 20100127 (Red Hat 4.4.3-4)\0" /* DW_AT_producer */
.byte 0x4 /* DW_AT_language */
.ascii "duplicate-type.cc\0" /* DW_AT_name */
.Ldie_38:
.uleb128 0x3 /* (DIE (0x38) DW_TAG_typedef) */
.ascii "size_t\0" /* DW_AT_name */
.4byte OFFSET (43) /* DW_AT_type */
.Ldie_43:
.uleb128 0x2 /* (DIE (0x43) DW_TAG_base_type) */
.byte 0x4 /* DW_AT_byte_size */
.byte 0x7 /* DW_AT_encoding */
.ascii "long unsigned int\0" /* DW_AT_name */
.Ldie_4a:
.uleb128 0x4 /* (DIE (0x4a) DW_TAG_namespace) */
.ascii "std\0" /* DW_AT_name */
.Ldie_70:
.uleb128 0x8 /* (DIE (0x70) DW_TAG_class_type) */
.ascii "allocator<a::b>\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_declaration */
.Ldie_76:
.uleb128 0x9 /* (DIE (0x76) DW_TAG_structure_type) */
.ascii "_Vector_base<a::b, std::allocator<a::b> >\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_declaration */
.Ldie_80:
.uleb128 0xa /* (DIE (0x80) DW_TAG_structure_type) */
.ascii "_Vector_impl\0" /* DW_AT_name */
.byte 0x18 /* DW_AT_byte_size */
.Ldie_88:
.uleb128 0xb /* (DIE (0x88) DW_TAG_inheritance) */
.4byte OFFSET (3e0) /* DW_AT_type */
.sleb128 0 /* DW_AT_data_member_location */
.byte 0x1 /* DW_AT_accessibility */
.byte 0x0 /* end of children of DIE 0x80 */
.byte 0x0 /* end of children of DIE 0x76 */
.Ldie_f7:
.uleb128 0x8 /* (DIE (0xf7) DW_TAG_class_type) */
.ascii "vector<a::b, std::allocator<a::b> >\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_declaration */
.byte 0x0 /* end of children of DIE 0x4a */
.Ldie_143:
.uleb128 0x13 /* (DIE (0x143) DW_TAG_base_type) */
.byte 0x4 /* DW_AT_byte_size */
.byte 0x5 /* DW_AT_encoding */
.Ldie_162:
.uleb128 0x8 /* (DIE (0x162) DW_TAG_class_type) */
.ascii "new_allocator<a::b>\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_declaration */
.Ldie_19f:
.uleb128 0x2 /* (DIE (0x19f) DW_TAG_base_type) */
.byte 0x4 /* DW_AT_byte_size */
.byte 0x5 /* DW_AT_encoding */
.ascii "int\0" /* DW_AT_name */
.Ldie_1c6:
.uleb128 0x17 /* (DIE (0x1c6) DW_TAG_pointer_type) */
.byte 0x8 /* DW_AT_byte_size */
.4byte OFFSET (1cc) /* DW_AT_type */
.Ldie_1cc:
.uleb128 0x18 /* (DIE (0x1cc) DW_TAG_const_type) */
.Ldie_1cd:
.uleb128 0x2 /* (DIE (0x1cd) DW_TAG_base_type) */
.byte 0x1 /* DW_AT_byte_size */
.byte 0x6 /* DW_AT_encoding */
.ascii "char\0" /* DW_AT_name */
.Ldie_221:
.uleb128 0x1b /* (DIE (0x221) DW_TAG_class_type) */
.ascii "a\0" /* DW_AT_name */
.byte 0x18 /* DW_AT_byte_size */
.Ldie_22b:
.uleb128 0x1b /* (DIE (0x22b) DW_TAG_class_type) */
.ascii "b\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_byte_size */
.Ldie_235:
.uleb128 0x1c /* (DIE (0x235) DW_TAG_subprogram) */
.byte 0x1 /* DW_AT_external */
.ascii "b\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_declaration */
.Ldie_23c:
.uleb128 0xe /* (DIE (0x23c) DW_TAG_formal_parameter) */
.4byte OFFSET (277) /* DW_AT_type */
.byte 0x1 /* DW_AT_artificial */
.byte 0x0 /* end of children of DIE 0x235 */
.byte 0x0 /* end of children of DIE 0x22b */
.Ldie_244:
.uleb128 0x1d /* (DIE (0x244) DW_TAG_member) */
.ascii "list\0" /* DW_AT_name */
.4byte OFFSET (59d) /* DW_AT_type */
.sleb128 0 /* DW_AT_data_member_location */
.byte 0x3 /* DW_AT_accessibility */
.Ldie_251:
.uleb128 0x1e /* (DIE (0x251) DW_TAG_subprogram) */
.byte 0x1 /* DW_AT_external */
.ascii "a\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_artificial */
.byte 0x1 /* DW_AT_declaration */
.Ldie_25b:
.uleb128 0xe /* (DIE (0x25b) DW_TAG_formal_parameter) */
.4byte OFFSET (b61) /* DW_AT_type */
.byte 0x1 /* DW_AT_artificial */
.byte 0x0 /* end of children of DIE 0x251 */
.Ldie_262:
.uleb128 0x1f /* (DIE (0x262) DW_TAG_subprogram) */
.byte 0x1 /* DW_AT_external */
.ascii "~a\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_artificial */
.byte 0x1 /* DW_AT_declaration */
.Ldie_269:
.uleb128 0xe /* (DIE (0x269) DW_TAG_formal_parameter) */
.4byte OFFSET (b61) /* DW_AT_type */
.byte 0x1 /* DW_AT_artificial */
.Ldie_26f:
.uleb128 0xe /* (DIE (0x26f) DW_TAG_formal_parameter) */
.4byte OFFSET (19f) /* DW_AT_type */
.byte 0x1 /* DW_AT_artificial */
.byte 0x0 /* end of children of DIE 0x262 */
.byte 0x0 /* end of children of DIE 0x221 */
.Ldie_277:
.uleb128 0x17 /* (DIE (0x277) DW_TAG_pointer_type) */
.byte 0x4 /* DW_AT_byte_size */
.4byte OFFSET (22b) /* DW_AT_type */
.Ldie_27d:
.uleb128 0x20 /* (DIE (0x27d) DW_TAG_class_type) */
.4byte OFFSET (162) /* DW_AT_specification */
.byte 0x1 /* DW_AT_byte_size */
.Ldie_2d0:
.uleb128 0x21 /* (DIE (0x2d0) DW_TAG_subprogram) */
.byte 0x1 /* DW_AT_external */
.ascii "address\0" /* DW_AT_name */
.4byte OFFSET (277) /* DW_AT_type */
.byte 0x1 /* DW_AT_declaration */
.Ldie_2e5:
.uleb128 0xe /* (DIE (0x2e5) DW_TAG_formal_parameter) */
.4byte OFFSET (3da) /* DW_AT_type */
.byte 0x1 /* DW_AT_artificial */
.Ldie_2eb:
.uleb128 0xf /* (DIE (0x2eb) DW_TAG_formal_parameter) */
.4byte OFFSET (3bd) /* DW_AT_type */
.byte 0x0 /* end of children of DIE 0x2d0 */
.byte 0x0 /* end of children of DIE 0x27d */
.Ldie_3b2:
.uleb128 0x17 /* (DIE (0x3b2) DW_TAG_pointer_type) */
.byte 0x4 /* DW_AT_byte_size */
.4byte OFFSET (3b8) /* DW_AT_type */
.Ldie_3b8:
.uleb128 0x19 /* (DIE (0x3b8) DW_TAG_const_type) */
.4byte OFFSET (22b) /* DW_AT_type */
.Ldie_3bd:
.uleb128 0x22 /* (DIE (0x3bd) DW_TAG_reference_type) */
.byte 0x4 /* DW_AT_byte_size */
.4byte OFFSET (22b) /* DW_AT_type */
.Ldie_3d5:
.uleb128 0x19 /* (DIE (0x3d5) DW_TAG_const_type) */
.4byte OFFSET (27d) /* DW_AT_type */
.Ldie_3da:
.uleb128 0x17 /* (DIE (0x3da) DW_TAG_pointer_type) */
.byte 0x4 /* DW_AT_byte_size */
.4byte OFFSET (3d5) /* DW_AT_type */
.Ldie_3e0:
.uleb128 0x20 /* (DIE (0x3e0) DW_TAG_class_type) */
.4byte OFFSET (70) /* DW_AT_specification */
.byte 0x1 /* DW_AT_byte_size */
.Ldie_3ec:
.uleb128 0xb /* (DIE (0x3ec) DW_TAG_inheritance) */
.4byte OFFSET (27d) /* DW_AT_type */
.sleb128 0 /* DW_AT_data_member_location */
.byte 0x1 /* DW_AT_accessibility */
.byte 0x0 /* end of children of DIE 0x3e0 */
.Ldie_44e:
.uleb128 0x1a /* (DIE (0x44e) DW_TAG_structure_type) */
.4byte OFFSET (76) /* DW_AT_specification */
.byte 0x18 /* DW_AT_byte_size */
.Ldie_505:
.uleb128 0x11 /* (DIE (0x505) DW_TAG_subprogram) */
.ascii "~_Vector_base\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_declaration */
.Ldie_512:
.uleb128 0xe /* (DIE (0x512) DW_TAG_formal_parameter) */
.4byte OFFSET (58c) /* DW_AT_type */
.byte 0x1 /* DW_AT_artificial */
.Ldie_518:
.uleb128 0xf /* (DIE (0x518) DW_TAG_formal_parameter) */
.4byte OFFSET (19f) /* DW_AT_type */
.byte 0x0 /* end of children of DIE 0x505 */
.Ldie_51f:
.uleb128 0x23 /* (DIE (0x51f) DW_TAG_subprogram) */
.byte 0x1 /* DW_AT_external */
.ascii "_M_allocate\0" /* DW_AT_name */
.4byte OFFSET (277) /* DW_AT_type */
.byte 0x1 /* DW_AT_declaration */
.Ldie_540:
.uleb128 0x11 /* (DIE (0x540) DW_TAG_subprogram) */
.ascii "_M_deallocate\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_declaration */
.Ldie_551:
.uleb128 0xe /* (DIE (0x551) DW_TAG_formal_parameter) */
.4byte OFFSET (58c) /* DW_AT_type */
.byte 0x1 /* DW_AT_artificial */
.Ldie_557:
.uleb128 0xf /* (DIE (0x557) DW_TAG_formal_parameter) */
.4byte OFFSET (277) /* DW_AT_type */
.Ldie_55c:
.uleb128 0xf /* (DIE (0x55c) DW_TAG_formal_parameter) */
.4byte OFFSET (43) /* DW_AT_type */
.byte 0x0 /* end of children of DIE 0x540 */
.Ldie_562:
.uleb128 0x5 /* (DIE (0x562) DW_TAG_imported_declaration) */
.4byte OFFSET (51f) /* DW_AT_import */
.byte 0x0 /* end of children of DIE 0x44e */
.Ldie_586:
.uleb128 0x22 /* (DIE (0x586) DW_TAG_reference_type) */
.byte 0x4 /* DW_AT_byte_size */
.4byte OFFSET (3e0) /* DW_AT_type */
.Ldie_58c:
.uleb128 0x17 /* (DIE (0x58c) DW_TAG_pointer_type) */
.byte 0x8 /* DW_AT_byte_size */
.4byte OFFSET (44e) /* DW_AT_type */
.Ldie_59d:
.uleb128 0x20 /* (DIE (0x59d) DW_TAG_class_type) */
.4byte OFFSET (f7) /* DW_AT_specification */
.byte 0x18 /* DW_AT_byte_size */
.Ldie_5a9:
.uleb128 0xb /* (DIE (0x5a9) DW_TAG_inheritance) */
.4byte OFFSET (44e) /* DW_AT_type */
.sleb128 0 /* DW_AT_data_member_location */
.byte 0x2 /* DW_AT_accessibility */
.byte 0x0 /* end of children of DIE 0x59d */
.Ldie_b44:
.uleb128 0x17 /* (DIE (0xb44) DW_TAG_pointer_type) */
.byte 0x8 /* DW_AT_byte_size */
.4byte OFFSET (59d) /* DW_AT_type */
.Ldie_b61:
.uleb128 0x17 /* (DIE (0xb61) DW_TAG_pointer_type) */
.byte 0x4 /* DW_AT_byte_size */
.4byte OFFSET (221) /* DW_AT_type */
.byte 0x0 /* end of children of DIE 0xb */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_sting) */
.byte 0x0
.byte 0x0
.uleb128 0x2 /* (abbrev code) */
.uleb128 0x24 /* (DW_TAG_base_type) */
.byte 0x0 /* DW_children_no */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3e /* (DW_AT_encoding) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.byte 0x0
.byte 0x0
.uleb128 0x3 /* (abbrev code) */
.uleb128 0x16 /* (TAG: DW_TAG_typedef) */
.byte 0x0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0x0
.byte 0x0
.uleb128 0x4 /* (abbrev code) */
.uleb128 0x39 /* (TAG: DW_TAG_namespace) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.byte 0x0
.byte 0x0
.uleb128 0x5 /* (abbrev code) */
.uleb128 0x8 /* (TAG: DW_TAG_imported_declaration) */
.byte 0x0 /* DW_children_no */
.uleb128 0x18 /* (DW_AT_import) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0x0
.byte 0x0
.uleb128 0x8 /* (abbrev code) */
.uleb128 0x2 /* (TAG: DW_TAG_class_type) */
.byte 0x0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3c /* (DW_AT_declaration) */
.uleb128 0xc /* (DW_FORM_flag) */
.byte 0x0
.byte 0x0
.uleb128 0x9 /* (abbrev code) */
.uleb128 0x13 /* (TAG: DW_TAG_structure_type) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3c /* (DW_AT_declaration) */
.uleb128 0xc /* (DW_FORM_flag) */
.byte 0x0
.byte 0x0
.uleb128 0xa /* (abbrev code) */
.uleb128 0x13 /* (TAG: DW_TAG_structure_type) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0x0
.byte 0x0
.uleb128 0xb /* (abbrev code) */
.uleb128 0x1c /* (TAG: DW_TAG_inheritance) */
.byte 0x0 /* DW_children_no */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x38 /* (DW_AT_data_member_location) */
.uleb128 0xd /* (DW_FORM_sdata) */
.uleb128 0x32 /* (DW_AT_accessibility) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0x0
.byte 0x0
.uleb128 0xe /* (abbrev code) */
.uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
.byte 0x0 /* DW_children_no */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x34 /* (DW_AT_artificial) */
.uleb128 0xc /* (DW_FORM_flag) */
.byte 0x0
.byte 0x0
.uleb128 0xf /* (abbrev code) */
.uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
.byte 0x0 /* DW_children_no */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0x0
.byte 0x0
.uleb128 0x11 /* (abbrev code) */
.uleb128 0x2e /* (DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3c /* (DW_AT_declaration) */
.uleb128 0xc /* (DW_FORM_flag) */
.byte 0x0
.byte 0x0
.uleb128 0x13 /* (abbrev code) */
.uleb128 0x24 /* (DW_TAG_base_type) */
.byte 0x0 /* DW_children_no */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3e /* (DW_AT_encoding) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0x0
.byte 0x0
.uleb128 0x17 /* (abbrev code) */
.uleb128 0xf /* (TAG: DW_TAG_pointer_type) */
.byte 0x0 /* DW_children_no */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0x0
.byte 0x0
.uleb128 0x18 /* (abbrev code) */
.uleb128 0x26 /* (TAG: DW_TAG_const_type) */
.byte 0x0 /* DW_children_no */
.byte 0x0
.byte 0x0
.uleb128 0x19 /* (abbrev code) */
.uleb128 0x26 /* (TAG: DW_TAG_const_type) */
.byte 0x0 /* DW_children_no */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0x0
.byte 0x0
.uleb128 0x1a /* (abbrev code) */
.uleb128 0x13 /* (TAG: DW_TAG_structure_type) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x47 /* (DW_AT_specification) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0x0
.byte 0x0
.uleb128 0x1b /* (abbrev code) */
.uleb128 0x2 /* (TAG: DW_TAG_class_type) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0x0
.byte 0x0
.uleb128 0x1c /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3c /* (DW_AT_declaration) */
.uleb128 0xc /* (DW_FORM_flag) */
.byte 0x0
.byte 0x0
.uleb128 0x1d /* (abbrev code) */
.uleb128 0xd /* (TAG: DW_TAG_member) */
.byte 0x0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x38 /* (DW_AT_data_member_location) */
.uleb128 0xd /* (DW_FORM_sdata) */
.uleb128 0x32 /* (DW_AT_accessibility) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0x0
.byte 0x0
.uleb128 0x1e /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x34 /* (DW_AT_artificial) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x3c /* (DW_AT_declaration) */
.uleb128 0xc /* (DW_FORM_flag) */
.byte 0x0
.byte 0x0
.uleb128 0x1f /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x34 /* (DW_AT_artificial) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x3c /* (DW_AT_declaration) */
.uleb128 0xc /* (DW_FORM_flag) */
.byte 0x0
.byte 0x0
.uleb128 0x20 /* (abbrev code) */
.uleb128 0x2 /* (TAG: DW_TAG_class_type) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x47 /* (DW_AT_specification) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0x0
.byte 0x0
.uleb128 0x21 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x3c /* (DW_AT_declaration) */
.uleb128 0xc /* (DW_FORM_flag) */
.byte 0x0
.byte 0x0
.uleb128 0x22 /* (abbrev code) */
.uleb128 0x10 /* (TAG: DW_TAG_reference_type) */
.byte 0x0 /* DW_children_no */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0x0
.byte 0x0
.uleb128 0x23 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x0 /* DW_children_no */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x3c /* (DW_AT_declaration) */
.uleb128 0xc /* (DW_FORM_flag) */
.byte 0x0
.byte 0x0
.byte 0x0
.byte 0x0
|
stsp/binutils-ia16
| 5,271
|
gdb/testsuite/gdb.dwarf2/dw2-objfile-overlap-outer.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2011-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
.globl _start
_start:
.globl outer_before
.type outer_before, %function
outer_before:
.Lbegin_outer_before:
.int 0
.Lend_outer_before:
.size outer_before, . - outer_before
.globl outer_inner
outer_inner:
.int 0
.globl outer_after
.type outer_after, %function
outer_after:
.Lbegin_outer_after:
.int 0
.Lend_outer_after:
.size outer_after, . - outer_after
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte .Lline1_begin /* DW_AT_stmt_list */
.4byte 0 /* DW_AT_low_pc */
.4byte .Ldebug_ranges /* DW_AT_ranges */
.ascii "outer.c\0" /* DW_AT_name */
.ascii "/tmp\0" /* DW_AT_comp_dir */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 1 /* DW_AT_language (C) */
/* outer_before */
.uleb128 2 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.byte 1 /* DW_AT_decl_file */
.byte 1 /* DW_AT_decl_line */
.ascii "outer_before\0" /* DW_AT_name */
.4byte .Lbegin_outer_before /* DW_AT_low_pc */
.4byte .Lend_outer_before /* DW_AT_high_pc */
/* outer_after */
.uleb128 2 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.byte 1 /* DW_AT_decl_file */
.byte 2 /* DW_AT_decl_line */
.ascii "outer_after\0" /* DW_AT_name */
.4byte .Lbegin_outer_after /* DW_AT_low_pc */
.4byte .Lend_outer_after /* DW_AT_high_pc */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* DW_AT_ranges. */
.section .debug_ranges
.Ldebug_ranges:
.4byte .Lbegin_outer_before
.4byte .Lend_outer_before
.4byte .Lbegin_outer_after
.4byte .Lend_outer_after
.4byte 0
.4byte 0
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x10 /* DW_AT_stmt_list */
.uleb128 0x6 /* DW_FORM_data4 */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x55 /* DW_AT_ranges */
.uleb128 0x6 /* DW_FORM_data4 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x1b /* DW_AT_comp_dir */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 0 /* has_children */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3a /* DW_AT_decl_file */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3b /* DW_AT_decl_line */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
/* Line table */
.section .debug_line
.Lline1_begin:
.4byte .Lline1_end - .Lline1_start /* Initial length */
.Lline1_start:
.2byte 2 /* Version */
.4byte .Lline1_lines - .Lline1_hdr /* header_length */
.Lline1_hdr:
.byte 1 /* Minimum insn length */
.byte 1 /* default_is_stmt */
.byte 1 /* line_base */
.byte 1 /* line_range */
.byte 0x10 /* opcode_base */
/* Standard lengths */
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 0
/* Include directories */
.ascii "/tmp\0"
.byte 0
/* File names */
.ascii "outer.c\0"
.uleb128 1
.uleb128 0
.uleb128 0
.byte 0
.Lline1_lines:
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lbegin_outer_before
.byte 1 /* DW_LNS_copy */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lbegin_outer_after
.byte 3 /* DW_LNS_advance_line */
.sleb128 2 /* ... to 3 */
.byte 1 /* DW_LNS_copy */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lend_outer_after
.byte 0 /* DW_LNE_end_of_sequence */
.uleb128 1
.byte 1
.Lline1_end:
|
stsp/binutils-ia16
| 4,477
|
gdb/testsuite/gdb.dwarf2/dw2-objfile-overlap-inner.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2011-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
.globl _start
_start:
.globl inner
.type inner, %function
inner:
.Lbegin_inner:
.int 0
.Lend_inner:
.size inner, . - inner
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte .Lline1_begin /* DW_AT_stmt_list */
.4byte 0 /* DW_AT_low_pc */
.4byte .Ldebug_ranges /* DW_AT_ranges */
.ascii "inner.c\0" /* DW_AT_name */
.ascii "/tmp\0" /* DW_AT_comp_dir */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 1 /* DW_AT_language (C) */
/* inner */
.uleb128 2 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.byte 1 /* DW_AT_decl_file */
.byte 1 /* DW_AT_decl_line */
.ascii "inner\0" /* DW_AT_name */
.4byte .Lbegin_inner /* DW_AT_low_pc */
.4byte .Lend_inner /* DW_AT_high_pc */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* DW_AT_ranges. */
.section .debug_ranges
.Ldebug_ranges:
.4byte .Lbegin_inner
.4byte .Lend_inner
.4byte 0
.4byte 0
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x10 /* DW_AT_stmt_list */
.uleb128 0x6 /* DW_FORM_data4 */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x55 /* DW_AT_ranges */
.uleb128 0x6 /* DW_FORM_data4 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x1b /* DW_AT_comp_dir */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 0 /* has_children */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3a /* DW_AT_decl_file */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3b /* DW_AT_decl_line */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
/* Line table */
.section .debug_line
.Lline1_begin:
.4byte .Lline1_end - .Lline1_start /* Initial length */
.Lline1_start:
.2byte 2 /* Version */
.4byte .Lline1_lines - .Lline1_hdr /* header_length */
.Lline1_hdr:
.byte 1 /* Minimum insn length */
.byte 1 /* default_is_stmt */
.byte 1 /* line_base */
.byte 1 /* line_range */
.byte 0x10 /* opcode_base */
/* Standard lengths */
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 0
/* Include directories */
.ascii "/tmp\0"
.byte 0
/* File names */
.ascii "inner.c\0"
.uleb128 1
.uleb128 0
.uleb128 0
.byte 0
.Lline1_lines:
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lbegin_inner
.byte 3 /* DW_LNS_advance_line */
.sleb128 1 /* ... to 2 */
.byte 1 /* DW_LNS_copy */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lend_inner
.byte 0 /* DW_LNE_end_of_sequence */
.uleb128 1
.byte 1
.Lline1_end:
|
stsp/binutils-ia16
| 3,724
|
gdb/testsuite/gdb.dwarf2/dw2-cp-infcall-ref-static.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2010-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte cu_text_start /* DW_AT_low_pc */
.4byte cu_text_end /* DW_AT_high_pc */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 4 /* DW_AT_language (DW_LANG_C_plus_plus) */
.Ltype_class:
.uleb128 3 /* Abbrev: DW_TAG_class_type */
.ascii "C\0" /* DW_AT_name */
.uleb128 4 /* Abbrev: DW_TAG_member */
.ascii "s\0" /* DW_AT_name */
.4byte .Ltype_class-.Lcu1_begin /* DW_AT_type */
.byte 1 /* DW_AT_declaration */
.byte 1 /* DW_AT_external */
.byte 0 /* End of children of DW_TAG_class_type */
.uleb128 5 /* Abbrev: DW_TAG_subprogram */
.ascii "f\0" /* DW_AT_name */
.4byte .Ltype_class-.Lcu1_begin /* DW_AT_type */
.4byte f_start /* DW_AT_low_pc */
.4byte f_end /* DW_AT_high_pc */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x2 /* DW_TAG_class_type */
.byte 1 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 4 /* Abbrev code */
.uleb128 0xd /* DW_TAG_member */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x3c /* DW_AT_declaration */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 5 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
|
stsp/binutils-ia16
| 5,389
|
gdb/testsuite/gdb.dwarf2/dup-psym.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2005-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Dummy function to provide debug information for. */
.text
.Lbegin_text1:
.globl func_cu1
.type func_cu1, %function
func_cu1:
.Lbegin_func_cu1:
.int 0
.Lend_func_cu1:
.size func_cu1, .-func_cu1
.Lend_text1:
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte .Lline1_begin /* DW_AT_stmt_list */
.4byte .Lend_text1 /* DW_AT_high_pc */
.4byte .Lbegin_text1 /* DW_AT_low_pc */
.ascii "foo/file1.txt\0" /* DW_AT_name */
.ascii "/tmp/dup\0" /* DW_AT_comp_dir */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 1 /* DW_AT_language (C) */
/* func_cu1 */
.uleb128 2 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.byte 1 /* DW_AT_decl_file */
.byte 2 /* DW_AT_decl_line */
.ascii "func_cu1\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.4byte .Lbegin_func_cu1 /* DW_AT_low_pc */
.4byte .Lend_func_cu1 /* DW_AT_high_pc */
.byte 1 /* DW_AT_frame_base: length */
.byte 0x55 /* DW_AT_frame_base: DW_OP_reg5 */
.Ltype_int:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
.ascii "int\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x10 /* DW_AT_stmt_list */
.uleb128 0x6 /* DW_FORM_data4 */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x1b /* DW_AT_comp_dir */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 0 /* has_children */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3a /* DW_AT_decl_file */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3b /* DW_AT_decl_line */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x40 /* DW_AT_frame_base */
.uleb128 0xa /* DW_FORM_block1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
/* Line table */
.section .debug_line
.Lline1_begin:
.4byte .Lline1_end - .Lline1_start /* Initial length */
.Lline1_start:
.2byte 2 /* Version */
.4byte .Lline1_lines - .Lline1_hdr /* header_length */
.Lline1_hdr:
.byte 1 /* Minimum insn length */
.byte 1 /* default_is_stmt */
.byte 1 /* line_base */
.byte 1 /* line_range */
.byte 0x10 /* opcode_base */
/* Standard lengths */
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 0
/* Include directories */
.ascii "/tmp/dup/foo\0"
.byte 0
/* File names */
.ascii "file1.txt\0"
.uleb128 1
.uleb128 0
.uleb128 0
.byte 0
.Lline1_lines:
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lbegin_func_cu1
.byte 3 /* DW_LNS_advance_line */
.sleb128 3 /* ... to 4 */
.byte 1 /* DW_LNS_copy */
.byte 1 /* DW_LNS_copy (second time as an end-of-prologue marker) */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lend_func_cu1
.byte 0 /* DW_LNE_end_of_sequence */
.uleb128 1
.byte 1
.Lline1_end:
|
stsp/binutils-ia16
| 3,458
|
gdb/testsuite/gdb.dwarf2/dw2-entry-value.S
|
/* Copyright 2011-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.section .debug_info
debug_start:
.4byte debug_end - 1f /* Length of Compilation Unit Info */
1:
.2byte 0x3 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
.ascii "GNU C 4.4.3\0" /* DW_AT_producer */
.byte 0x1 /* DW_AT_language */
.ascii "1.c\0" /* DW_AT_name */
.uleb128 0x4 /* (DIE (0x3c) DW_TAG_subprogram) */
.ascii "f\0" /* DW_AT_name */
.4byte f_start /* DW_AT_low_pc */
.4byte f_end /* DW_AT_high_pc */
.byte 0x1 /* DW_AT_prototyped */
.uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
.ascii "param\0" /* DW_AT_name */
.4byte type - debug_start /* DW_AT_type */
.4byte loclist /* DW_AT_location */
.byte 0x0 /* end of children of DIE 0x3c */
type:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
.ascii "int\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.byte 0x0 /* end of children of DIE 0xb */
debug_end:
.section .debug_loc
loclist:
.4byte f_start, f_end
.2byte 2f-1f
1: .byte 0xf3 /* DW_OP_GNU_entry_value */
.uleb128 2f-3f
3: .byte 0x50 /* DW_OP_reg0 */
2:
.4byte 0, 0
.section .debug_abbrev
.Ldebug_abbrev0:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.byte 0x0
.byte 0x0
.uleb128 3 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 0x4 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x27 /* (DW_AT_prototyped) */
.uleb128 0xc /* (DW_FORM_flag) */
.byte 0x0
.byte 0x0
.uleb128 0x5 /* (abbrev code) */
.uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
.byte 0x0 /* DW_children_no */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x02 /* (DW_AT_location) */
.uleb128 0x06 /* (DW_FORM_data4) */
.byte 0x0
.byte 0x0
.byte 0x0
|
stsp/binutils-ia16
| 3,560
|
gdb/testsuite/gdb.dwarf2/dw2-param-error.S
|
/* Copyright 2011-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
var: .4byte 23
.section .debug_info
debug_start:
.4byte debug_end - 1f /* Length of Compilation Unit Info */
1:
.2byte 0x3 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
.ascii "GNU C 4.4.3\0" /* DW_AT_producer */
.byte 0x1 /* DW_AT_language */
.ascii "1.c\0" /* DW_AT_name */
.uleb128 0x4 /* (DIE (0x3c) DW_TAG_subprogram) */
.ascii "f\0" /* DW_AT_name */
.4byte f_start /* DW_AT_low_pc */
.4byte f_end /* DW_AT_high_pc */
.byte 0x1 /* DW_AT_prototyped */
.uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
.ascii "bad\0" /* DW_AT_name */
.4byte type - debug_start /* DW_AT_type */
.byte 2f - 1f /* DW_AT_location */
1: .byte 0x06 /* DW_OP_deref */
2:
.uleb128 0x5 /* (DIE (0x??) DW_TAG_formal_parameter) */
.ascii "good\0" /* DW_AT_name */
.4byte type - debug_start /* DW_AT_type */
.byte 2f - 1f /* DW_AT_location */
1: .byte 0x03 /* DW_OP_addr */
.4byte var
2:
.byte 0x0 /* end of children of DIE 0x3c */
type:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
.ascii "int\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.byte 0x0 /* end of children of DIE 0xb */
debug_end:
.section .debug_abbrev
.Ldebug_abbrev0:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.byte 0x0
.byte 0x0
.uleb128 3 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 0x4 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x27 /* (DW_AT_prototyped) */
.uleb128 0xc /* (DW_FORM_flag) */
.byte 0x0
.byte 0x0
.uleb128 0x5 /* (abbrev code) */
.uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
.byte 0x0 /* DW_children_no */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x02 /* (DW_AT_location) */
.uleb128 0x0a /* (DW_FORM_block1) */
.byte 0x0
.byte 0x0
.byte 0x0
|
stsp/binutils-ia16
| 2,402
|
gdb/testsuite/gdb.dwarf2/dw2-dos-drive.S
|
/* Copyright 2013-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
pc_start:
/* Enough space to fit at least one instruction. */
.4byte 0
pc_end:
.section .debug_info
d:
.4byte .Ldebug_info_end - 1f /* Length of Compilation Unit Info */
1:
.2byte 0x3 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
dieb:
.uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
.ascii "GCC\0" /* DW_AT_producer */
.byte 0x2 /* DW_AT_language = DW_LANG_C */
.ascii "z:file.c\0" /* DW_AT_name */
.uleb128 0x2 /* (DIE (0xd3) DW_TAG_subprogram) */
.byte 0x1 /* DW_AT_external */
.ascii "func\0" /* DW_AT_name */
.4byte pc_start /* DW_AT_low_pc */
.4byte pc_end /* DW_AT_high_pc */
.byte 0x1 /* DW_AT_prototyped */
.byte 0x0 /* end of children of DIE 0xb */
.Ldebug_info_end:
.section .debug_abbrev
.Ldebug_abbrev0:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.byte 0x0
.byte 0x0
.uleb128 0x2 /* (abbrev code) */
.uleb128 0x2e /* (DW_TAG_subprogram) */
.byte 0x0 /* DW_children_no */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x27 /* (DW_AT_prototyped) */
.uleb128 0xc /* (DW_FORM_flag) */
.byte 0x0
.byte 0x0
.byte 0x0
|
stsp/binutils-ia16
| 5,649
|
gdb/testsuite/gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S
|
/* Copyright 2014-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.section .debug_info
.4byte .Ledebug_info0 - .Lsdebug_info0 /* Length of Compilation Unit Info */
.Lsdebug_info0:
.2byte 0x2 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
.ascii "GNU C 4.7.4 20140206 for GNAT Pro 7.3.0w (20140206)\0"
.byte 0x1 /* DW_AT_language */
.ascii "dw2-abs-hi-pc-hello.c\0" /* DW_AT_name */
.ascii "/tmp\0" /* DW_AT_comp_dir */
.4byte HELLO_START /* DW_AT_low_pc */
.4byte HELLO_END /* DW_AT_high_pc */
.4byte .Ldebug_line0 /* DW_AT_stmt_list */
.uleb128 0x2 /* (DIE (0x2d) DW_TAG_subprogram) */
.byte 0x1 /* DW_AT_external */
.ascii "hello\0"
.byte 0x1 /* DW_AT_decl_file (hello.c) */
.byte 0x13 /* DW_AT_decl_line */
.byte 0x1 /* DW_AT_prototyped */
.4byte HELLO_START /* DW_AT_low_pc */
.4byte HELLO_END /* DW_AT_high_pc */
.byte 0 /* end of children of DIE 0xb */
.Ledebug_info0:
.section .debug_abbrev
.Ldebug_abbrev0:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x1b /* (DW_AT_comp_dir) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x6 /* (DW_FORM_data4) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x6 /* (DW_FORM_data4) */
.uleb128 0x10 /* (DW_AT_stmt_list) */
.uleb128 0x6 /* (DW_FORM_data4) */
.byte 0
.byte 0
.uleb128 0x2 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0 /* DW_children_no */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x27 /* (DW_AT_prototyped) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x6 /* (DW_FORM_data4) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x6 /* (DW_FORM_data4) */
.byte 0
.byte 0
.byte 0
.section .debug_line
.Ldebug_line0:
.4byte LELT-LSLT /* Length of Source Line Info */
LSLT:
.2byte 0x2 /* DWARF Version */
.4byte LELTP-LASLTP /* Prolog Length */
LASLTP:
.byte 0x1 /* Minimum Instruction Length */
.byte 0x1 /* Default is_stmt_start flag */
.byte 0x1 /* Line Base Value (Special Opcodes) */
.byte 0x1 /* Line Range Value (Special Opcodes) */
.byte 0xd /* Special Opcode Base */
.byte 0 /* opcode: 0x1 has 0 args */
.byte 0x1 /* opcode: 0x2 has 1 args */
.byte 0x1 /* opcode: 0x3 has 1 args */
.byte 0x1 /* opcode: 0x4 has 1 args */
.byte 0x1 /* opcode: 0x5 has 1 args */
.byte 0 /* opcode: 0x6 has 0 args */
.byte 0 /* opcode: 0x7 has 0 args */
.byte 0 /* opcode: 0x8 has 0 args */
.byte 0x1 /* opcode: 0x9 has 1 args */
.byte 0 /* opcode: 0xa has 0 args */
.byte 0 /* opcode: 0xb has 0 args */
.byte 0x1 /* opcode: 0xc has 1 args */
.byte 0 /* End directory table */
.ascii "dw2-abs-hi-pc-hello.c\0" /* File Entry: 0x1 */
.uleb128 0
.uleb128 0
.uleb128 0
.byte 0 /* End file name table */
LELTP:
.byte 0 /* set address to .hello_start */
.uleb128 0x5
.byte 0x2
.4byte HELLO_START
.byte 0x3 /* DW_LNS_advance_line */
.sleb128 22 /* ... to 23 */
.byte 0x5 /* column 0 */
.uleb128 0 /* 0 */
.byte 1 /* DW_LNS_copy */
.byte 0 /* set address to .hello0 */
.uleb128 0x5
.byte 0x2
.4byte .hello0
.byte 0x3 /* DW_LNS_advance_line */
.sleb128 1 /* ... to 24 */
.byte 0x5 /* column 0 */
.uleb128 0 /* 0 */
.byte 1 /* DW_LNS_copy */
.byte 0 /* set address to .hello1 */
.uleb128 0x5
.byte 0x2
.4byte .hello1
.byte 0x3 /* DW_LNS_advance_line */
.sleb128 1 /* ... to 25 */
.byte 0x5 /* column 0 */
.uleb128 0 /* 0 */
.byte 1 /* DW_LNS_copy */
.byte 0 /* set address to .hello_end */
.uleb128 0x5
.byte 0x2
.4byte HELLO_END
.byte 0 /* end sequence */
.uleb128 0x1
.byte 0x1
LELT:
|
stsp/binutils-ia16
| 8,298
|
gdb/testsuite/gdb.dwarf2/dw2-icycle.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2014-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
.Ltext0:
.type p__top__middle__inside.3062, @function
p__top__middle__inside.3062:
.LFB4:
.file 1 "p.adb"
.4byte 0
.LBE6:
.globl p__top
.type p__top, @function
p__top:
.LFB2:
.4byte 0
.LFE2:
.Letext0:
.section .debug_info
.Ldebug_info0:
.4byte .Ledebug_info0 - .Lsdebug_info0 /* Length of CU Info */
.Lsdebug_info0:
.2byte 0x4 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
.ascii "GNU Ada 4.9.0 20140126\0" /* DW_AT_producer */
.byte 0xd /* DW_AT_language */
.ascii "p.adb\0" /* DW_AT_name */
.ascii "/tmp\0" /* DW_AT_comp_dir */
.4byte .Ltext0 /* DW_AT_low_pc */
.4byte .Letext0-.Ltext0 /* DW_AT_high_pc */
.S0x142:
.uleb128 0x8 /* (DIE (0x142) DW_TAG_base_type) */
.byte 0x4 /* DW_AT_byte_size */
.byte 0x5 /* DW_AT_encoding */
.ascii "integer\0" /* DW_AT_name */
.uleb128 0x13 /* (DIE (0x1b4) DW_TAG_subprogram) */
/* DW_AT_external */
.ascii "p__top\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (p.adb) */
.byte 0x3 /* DW_AT_decl_line */
.4byte .LFB2 /* DW_AT_low_pc */
.4byte .LFE2-.LFB2 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_AT_frame_base */
.byte 0x9c /* DW_OP_call_frame_cfa */
/* DW_AT_GNU_all_call_sites */
.S0x1e0:
.uleb128 0x15 /* (DIE (0x1e0) DW_TAG_subprogram) */
.ascii "p__top__middle\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (p.adb) */
.byte 0x4 /* DW_AT_decl_line */
.byte 0x1 /* DW_AT_inline */
.S0x202:
.uleb128 0x15 /* (DIE (0x202) DW_TAG_subprogram) */
.ascii "p__top__middle__inside\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (p.adb) */
.byte 0x5 /* DW_AT_decl_line */
.byte 0x1 /* DW_AT_inline */
.byte 0 /* end of children of DIE 0x202 */
.S0x225:
.uleb128 0x18 /* (DIE (0x225) DW_TAG_subprogram) */
.4byte .S0x202 - .Ldebug_info0 /* DW_AT_abstract_origin */
.4byte .LFB4 /* DW_AT_low_pc */
.4byte .LBE6-.LFB4 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_AT_frame_base */
.byte 0x9c /* DW_OP_call_frame_cfa */
.uleb128 0x1 /* DW_AT_static_link */
.byte 0x56 /* DW_OP_reg6 */
/* DW_AT_GNU_all_call_sites */
.uleb128 0x1a /* (DIE (0x247) DW_TAG_inlined_subroutine) */
.4byte .S0x1e0 - .Ldebug_info0 /* DW_AT_abstract_origin */
.4byte .LFB4 /* DW_AT_low_pc */
.4byte .LBE6-.LFB4 /* DW_AT_high_pc */
.byte 0x1 /* DW_AT_call_file (p.adb) */
.byte 0x14 /* DW_AT_call_line */
.byte 0 /* end of children of DIE 0x247 */
.byte 0 /* end of children of DIE 0x225 */
.byte 0 /* end of children of DIE 0x1e0 */
.S0x374:
.uleb128 0x23 /* (DIE (0x382) DW_TAG_inlined_subroutine) */
.4byte .S0x1e0 - .Ldebug_info0 /* DW_AT_abstract_origin */
.4byte .LFB4 /* DW_AT_low_pc */
.4byte .LBE6-.LFB4 /* DW_AT_high_pc */
.byte 0x1 /* DW_AT_call_file (p.adb) */
.byte 0x1d /* DW_AT_call_line */
.byte 0 /* end of children of DIE 0x382 */
.byte 0 /* end of children of DIE 0x1b4 */
.S0x4fc:
.uleb128 0x28 /* (DIE (0x52e) DW_TAG_subprogram) */
/* DW_AT_external */
.ascii "__gnat_rcheck_PE_Explicit_Raise\0" /* DW_AT_name */
/* DW_AT_artificial */
/* DW_AT_declaration */
.byte 0 /* end of children of DIE 0x52e */
.byte 0 /* end of children of DIE 0xb */
.Ledebug_info0:
.section .debug_abbrev
.Ldebug_abbrev0:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x1b /* (DW_AT_comp_dir) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x6 /* (DW_FORM_data4) */
.byte 0
.byte 0
.uleb128 0x8 /* (abbrev code) */
.uleb128 0x24 /* (TAG: DW_TAG_base_type) */
.byte 0 /* DW_children_no */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3e /* (DW_AT_encoding) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.byte 0
.byte 0
.uleb128 0x13 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0x19 /* (DW_FORM_flag_present) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x6 /* (DW_FORM_data4) */
.uleb128 0x40 /* (DW_AT_frame_base) */
.uleb128 0x18 /* (DW_FORM_exprloc) */
.uleb128 0x2117 /* (DW_AT_GNU_all_call_sites) */
.uleb128 0x19 /* (DW_FORM_flag_present) */
.byte 0
.byte 0
.uleb128 0x15 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x20 /* (DW_AT_inline) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0
.byte 0
.uleb128 0x18 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x6 /* (DW_FORM_data4) */
.uleb128 0x40 /* (DW_AT_frame_base) */
.uleb128 0x18 /* (DW_FORM_exprloc) */
.uleb128 0x48 /* (DW_AT_static_link) */
.uleb128 0x18 /* (DW_FORM_exprloc) */
.uleb128 0x2117 /* (DW_AT_GNU_all_call_sites) */
.uleb128 0x19 /* (DW_FORM_flag_present) */
.byte 0
.byte 0
.uleb128 0x1a /* (abbrev code) */
.uleb128 0x1d /* (TAG: DW_TAG_inlined_subroutine) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x6 /* (DW_FORM_data4) */
.uleb128 0x58 /* (DW_AT_call_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x59 /* (DW_AT_call_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0
.byte 0
.uleb128 0x23 /* (abbrev code) */
.uleb128 0x1d /* (TAG: DW_TAG_inlined_subroutine) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x31 /* (DW_AT_abstract_origin) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x6 /* (DW_FORM_data4) */
.uleb128 0x58 /* (DW_AT_call_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x59 /* (DW_AT_call_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0
.byte 0
.uleb128 0x28 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0x19 /* (DW_FORM_flag_present) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x34 /* (DW_AT_artificial) */
.uleb128 0x19 /* (DW_FORM_flag_present) */
.uleb128 0x3c /* (DW_AT_declaration) */
.uleb128 0x19 /* (DW_FORM_flag_present) */
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.section .debug_line
.Lline1_begin:
.byte 0
|
stsp/binutils-ia16
| 8,082
|
gdb/testsuite/gdb.dwarf2/valop.S
|
/*
Copyright 2009-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This was compiled from a trivial program just to test the
DW_OP_stack_value and DW_OP_implicit_value operators:
unsigned int func (unsigned int arg) __attribute__ ((__noinline__));
unsigned int func (unsigned int arg)
{
unsigned int uses_stack_op = 23;
unsigned int uses_lit_op = 0x7fffffff;
unsigned int result = arg;
if (arg % 2)
result += uses_lit_op + uses_stack_op;
else
{
++uses_stack_op;
++uses_lit_op;
result -= uses_stack_op + uses_lit_op;
}
return result * uses_stack_op; // line 19, see the .exp file
}
int main (int argc, char *argv[])
{
return func (1024);
}
Then it was compiled with:
gcc -fvar-tracking{,-assignments} -gdwarf-3
-fno-inline{,-functions,-small-functions,-functions-called-once}
-O2
*/
.file "valop.c"
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.section .debug_line,"",@progbits
.Ldebug_line0:
.text
.Ltext0:
.p2align 4,,15
.globl func
.type func, @function
func:
.LFB0:
.file 1 "valop.c"
.loc 1 4 0
.cfi_startproc
.LVL0:
pushl %ebp
.cfi_def_cfa_offset 8
movl %esp, %ebp
.cfi_offset 5, -8
.cfi_def_cfa_register 5
.loc 1 4 0
movl 8(%ebp), %eax
.LVL1:
.loc 1 9 0
testb $1, %al
jne .L5
.LVL2:
.loc 1 16 0
addl $2147483624, %eax
.LVL3:
.loc 1 13 0
movl $24, %edx
.LVL4:
.loc 1 16 0
imull %edx, %eax
.LVL5:
.loc 1 20 0
popl %ebp
.cfi_remember_state
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.LVL6:
.p2align 4,,7
.p2align 3
.L5:
.cfi_restore_state
.loc 1 10 0
subl $2147483626, %eax
.LVL7:
.loc 1 5 0
movl $23, %edx
.LVL8:
.loc 1 16 0
imull %edx, %eax
.LVL9:
.loc 1 20 0
popl %ebp
.cfi_def_cfa 4, 4
.cfi_restore 5
ret
.cfi_endproc
.LFE0:
.size func, .-func
.p2align 4,,15
.globl _start
.type _start, @function
_start:
.LFB1:
.loc 1 23 0
.cfi_startproc
.LVL10:
pushl %ebp
.cfi_def_cfa_offset 8
movl %esp, %ebp
.cfi_offset 5, -8
.cfi_def_cfa_register 5
subl $4, %esp
.loc 1 24 0
movl $1024, (%esp)
call func
.LVL11:
.loc 1 25 0
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE1:
.size _start, .-_start
.Letext0:
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.long .LVL0-.Ltext0
.long .LVL2-.Ltext0
.value 0x4
.byte 0x47
.byte 0x9f
.byte 0x93
.uleb128 0x4
.long .LVL2-.Ltext0
.long .LVL4-.Ltext0
.value 0x4
.byte 0x48
.byte 0x9f
.byte 0x93
.uleb128 0x4
.long .LVL4-.Ltext0
.long .LVL6-.Ltext0
.value 0x1
.byte 0x52
.long .LVL6-.Ltext0
.long .LVL8-.Ltext0
.value 0x4
.byte 0x47
.byte 0x9f
.byte 0x93
.uleb128 0x4
.long .LVL8-.Ltext0
.long .LFE0-.Ltext0
.value 0x1
.byte 0x52
.long 0x0
.long 0x0
.LLST1:
.long .LVL0-.Ltext0
.long .LVL2-.Ltext0
.value 0x6
.byte 0x9e
.uleb128 0x4
.long 0x7fffffff
.long .LVL2-.Ltext0
.long .LVL6-.Ltext0
.value 0x6
.byte 0x9e
.uleb128 0x4
.long 0x80000000
.long .LVL6-.Ltext0
.long .LFE0-.Ltext0
.value 0x6
.byte 0x9e
.uleb128 0x4
.long 0x7fffffff
.long 0x0
.long 0x0
.LLST2:
.long .LVL1-.Ltext0
.long .LVL3-.Ltext0
.value 0x1
.byte 0x50
.long .LVL3-.Ltext0
.long .LVL5-.Ltext0
.value 0x1
.byte 0x50
.long .LVL6-.Ltext0
.long .LVL7-.Ltext0
.value 0x1
.byte 0x50
.long .LVL7-.Ltext0
.long .LVL9-.Ltext0
.value 0x1
.byte 0x50
.long 0x0
.long 0x0
.LLST3:
.long .LVL10-.Ltext0
.long .LVL11-1-.Ltext0
.value 0x2
.byte 0x91
.sleb128 0
.long 0x0
.long 0x0
.LLST4:
.long .LVL10-.Ltext0
.long .LVL11-1-.Ltext0
.value 0x2
.byte 0x91
.sleb128 4
.long 0x0
.long 0x0
.section .debug_info
.long 0xd4
.value 0x3
.long .Ldebug_abbrev0
.byte 0x4
.uleb128 0x1
.long .LASF9
.byte 0x1
.long .LASF10
.long .LASF11
.long .Ltext0
.long .Letext0
.long .Ldebug_line0
.uleb128 0x2
.byte 0x1
.long .LASF3
.byte 0x1
.byte 0x3
.byte 0x1
.long 0x7c
.long .LFB0
.long .LFE0
.byte 0x1
.byte 0x9c
.long 0x7c
.uleb128 0x3
.string "arg"
.byte 0x1
.byte 0x3
.long 0x7c
.byte 0x2
.byte 0x91
.sleb128 0
.uleb128 0x4
.long .LASF0
.byte 0x1
.byte 0x5
.long 0x7c
.long .LLST0
.uleb128 0x4
.long .LASF1
.byte 0x1
.byte 0x6
.long 0x7c
.long .LLST1
.uleb128 0x4
.long .LASF2
.byte 0x1
.byte 0x7
.long 0x7c
.long .LLST2
.byte 0x0
.uleb128 0x5
.byte 0x4
.byte 0x7
.long .LASF7
.uleb128 0x2
.byte 0x1
.long .LASF4
.byte 0x1
.byte 0x16
.byte 0x1
.long 0xbd
.long .LFB1
.long .LFE1
.byte 0x1
.byte 0x9c
.long 0xbd
.uleb128 0x6
.long .LASF5
.byte 0x1
.byte 0x16
.long 0xbd
.long .LLST3
.uleb128 0x6
.long .LASF6
.byte 0x1
.byte 0x16
.long 0xc4
.long .LLST4
.byte 0x0
.uleb128 0x7
.byte 0x4
.byte 0x5
.string "int"
.uleb128 0x8
.byte 0x4
.long 0xca
.uleb128 0x8
.byte 0x4
.long 0xd0
.uleb128 0x5
.byte 0x1
.byte 0x6
.long .LASF8
.byte 0x0
.section .debug_abbrev
.uleb128 0x1
.uleb128 0x11
.byte 0x1
.uleb128 0x25
.uleb128 0xe
.uleb128 0x13
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.uleb128 0x1b
.uleb128 0xe
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x10
.uleb128 0x6
.byte 0x0
.byte 0x0
.uleb128 0x2
.uleb128 0x2e
.byte 0x1
.uleb128 0x3f
.uleb128 0xc
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x27
.uleb128 0xc
.uleb128 0x49
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0xa
.uleb128 0x1
.uleb128 0x13
.byte 0x0
.byte 0x0
.uleb128 0x3
.uleb128 0x5
.byte 0x0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0xa
.byte 0x0
.byte 0x0
.uleb128 0x4
.uleb128 0x34
.byte 0x0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0x6
.byte 0x0
.byte 0x0
.uleb128 0x5
.uleb128 0x24
.byte 0x0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.byte 0x0
.byte 0x0
.uleb128 0x6
.uleb128 0x5
.byte 0x0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0x6
.byte 0x0
.byte 0x0
.uleb128 0x7
.uleb128 0x24
.byte 0x0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0x8
.byte 0x0
.byte 0x0
.uleb128 0x8
.uleb128 0xf
.byte 0x0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.byte 0x0
.byte 0x0
.byte 0x0
.section .debug_pubnames,"",@progbits
.long 0x20
.value 0x2
.long .Ldebug_info0
.long 0xd8
.long 0x25
.string "func"
.long 0x83
.string "main"
.long 0x0
.section .debug_aranges,"",@progbits
.long 0x1c
.value 0x2
.long .Ldebug_info0
.byte 0x4
.byte 0x0
.value 0x0
.value 0x0
.long .Ltext0
.long .Letext0-.Ltext0
.long 0x0
.long 0x0
.section .debug_str,"MS",@progbits,1
.LASF7:
.string "unsigned int"
.LASF3:
.string "func"
.LASF0:
.string "uses_stack_op"
.LASF5:
.string "argc"
.LASF10:
.string "valop.c"
.LASF2:
.string "result"
.LASF8:
.string "char"
.LASF9:
.string "GNU C 4.5.0 20090818 (experimental) [var-tracking-assignments-branch revision 150964]"
.LASF4:
.string "main"
.LASF11:
.string "/tmp"
.LASF1:
.string "uses_lit_op"
.LASF6:
.string "argv"
.ident "GCC: (GNU) 4.5.0 20090818 (experimental) [var-tracking-assignments-branch revision 150964]"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 5,507
|
gdb/testsuite/gdb.dwarf2/dw2-simple-locdesc.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2011-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This source file was generated by:
echo 'struct s { char a[1<<24]; int b; } s;' \
| gcc -dA -o dw2-simple-locdesc.S -S -gdwarf-2 -x c -
*/
.text
var:
.section .debug_info
.Ldebug_info0:
d:
.4byte .Lcu_end - 1f /* Length of Compilation Unit Info */
1:
.2byte 0x3 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
.4byte .LASF2 /* DW_AT_producer: "GNU C 4.7.0 20110727 (experimental)" */
.byte 0x1 /* DW_AT_language */
.Ldie19:
.uleb128 0x2 /* (DIE (0x19) DW_TAG_structure_type) */
.ascii "s\0" /* DW_AT_name */
.4byte 0x1000004 /* DW_AT_byte_size */
.byte 0x1 /* DW_AT_decl_file (<stdin>) */
.byte 0x1 /* DW_AT_decl_line */
.Ldie30:
.uleb128 0x4 /* (DIE (0x30) DW_TAG_member) */
.ascii "data4\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (<stdin>) */
.byte 0x1 /* DW_AT_decl_line */
.4byte .Ldie62 - d /* DW_AT_type */
.4byte 0x10000 /* DW_AT_data_member_location */
.Ldie32:
.uleb128 0x3 /* (DIE (0x32) DW_TAG_member) */
.ascii "shl\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (<stdin>) */
.byte 0x1 /* DW_AT_decl_line */
.4byte .Ldie62 - d /* DW_AT_type */
.byte 0x4 /* DW_AT_data_member_location */
.byte 0x40 /* DW_OP_lit16 */
.byte 0x44 /* DW_OP_lit20 */
.byte 0x24 /* DW_OP_shl */
.byte 0x22 /* DW_OP_plus */
.byte 0 /* end of children of DIE 0x19 */
.Ldie62:
.uleb128 0x7 /* (DIE (0x62) DW_TAG_base_type) */
.byte 0x4 /* DW_AT_byte_size */
.byte 0x5 /* DW_AT_encoding */
.ascii "int\0" /* DW_AT_name */
.Ldie69:
.uleb128 0x8 /* (DIE (0x69) DW_TAG_variable) */
.ascii "s\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (<stdin>) */
.byte 0x1 /* DW_AT_decl_line */
.4byte .Ldie19 - d /* DW_AT_type */
.byte 0x1 /* DW_AT_external */
.byte 2f - 1f /* DW_AT_location */
1:
.byte 0x3 /* DW_OP_addr */
.4byte var
2:
.byte 0 /* end of children of DIE 0xb */
.Lcu_end:
.section .debug_abbrev
.Ldebug_abbrev0:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0xe /* (DW_FORM_strp) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0
.byte 0
.uleb128 0x2 /* (abbrev code) */
.uleb128 0x13 /* (TAG: DW_TAG_structure_type) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0x6 /* (DW_FORM_data4) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0
.byte 0
.uleb128 0x3 /* (abbrev code) */
.uleb128 0xd /* (TAG: DW_TAG_member) */
.byte 0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x38 /* (DW_AT_data_member_location) */
.uleb128 0xa /* (DW_FORM_block1) */
.byte 0
.byte 0
.uleb128 0x4 /* (abbrev code) */
.uleb128 0xd /* (TAG: DW_TAG_member) */
.byte 0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x38 /* (DW_AT_data_member_location) */
.uleb128 0x6 /* (DW_FORM_data4) */
.byte 0
.byte 0
.uleb128 0x7 /* (abbrev code) */
.uleb128 0x24 /* (TAG: DW_TAG_base_type) */
.byte 0 /* DW_children_no */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3e /* (DW_AT_encoding) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.byte 0
.byte 0
.uleb128 0x8 /* (abbrev code) */
.uleb128 0x34 /* (TAG: DW_TAG_variable) */
.byte 0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x2 /* (DW_AT_location) */
.uleb128 0xa /* (DW_FORM_block1) */
.byte 0
.byte 0
.byte 0
.section .debug_str
.LASF2:
.string "GNU C 4.7.0 20110727 (experimental)"
.LASF0:
.string "sizetype"
.LASF1:
.string "char"
|
stsp/binutils-ia16
| 4,984
|
gdb/testsuite/gdb.dwarf2/callframecfa.S
|
/*
Copyright 2009-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This was compiled from a trivial program just to test the
DW_OP_call_frame_cfa operator:
int func (int arg) {
return arg + 23;
}
int main(int argc, char *argv[]) {
func (77);
}
*/
.file "q.c"
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.section .debug_line,"",@progbits
.Ldebug_line0:
.text
.Ltext0:
.globl func
.type func, @function
func:
.LFB0:
.file 1 "q.c"
.loc 1 2 0
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
movl %esp, %ebp
.cfi_offset 5, -8
.cfi_def_cfa_register 5
.loc 1 3 0
movl 8(%ebp), %eax
addl $23, %eax
.loc 1 4 0
popl %ebp
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE0:
.size func, .-func
.globl _start
.type _start, @function
_start:
.LFB1:
.loc 1 6 0
.cfi_startproc
pushl %ebp
.cfi_def_cfa_offset 8
movl %esp, %ebp
.cfi_offset 5, -8
.cfi_def_cfa_register 5
subl $4, %esp
.loc 1 7 0
movl $77, (%esp)
call func
.loc 1 8 0
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE1:
.size _start, .-_start
.Letext0:
.section .debug_info
.long 0x9e
.value 0x3
.long .Ldebug_abbrev0
.byte 0x4
.uleb128 0x1
.long .LASF5
.byte 0x1
.string "q.c"
.long .LASF6
.long .Ltext0
.long .Letext0
.long .Ldebug_line0
.uleb128 0x2
.byte 0x1
.long .LASF0
.byte 0x1
.byte 0x1
.byte 0x1
.long 0x4f
.long .LFB0
.long .LFE0
.byte 0x1
.byte 0x9c
.long 0x4f
.uleb128 0x3
.string "arg"
.byte 0x1
.byte 0x1
.long 0x4f
.byte 0x2
.byte 0x91
.sleb128 0
.byte 0x0
.uleb128 0x4
.byte 0x4
.byte 0x5
.string "int"
.uleb128 0x2
.byte 0x1
.long .LASF1
.byte 0x1
.byte 0x6
.byte 0x1
.long 0x4f
.long .LFB1
.long .LFE1
.byte 0x1
.byte 0x9c
.long 0x8e
.uleb128 0x5
.long .LASF2
.byte 0x1
.byte 0x6
.long 0x4f
.byte 0x2
.byte 0x91
.sleb128 0
.uleb128 0x5
.long .LASF3
.byte 0x1
.byte 0x6
.long 0x8e
.byte 0x2
.byte 0x91
.sleb128 4
.byte 0x0
.uleb128 0x6
.byte 0x4
.long 0x94
.uleb128 0x6
.byte 0x4
.long 0x9a
.uleb128 0x7
.byte 0x1
.byte 0x6
.long .LASF4
.byte 0x0
.section .debug_abbrev
.uleb128 0x1
.uleb128 0x11
.byte 0x1
.uleb128 0x25
.uleb128 0xe
.uleb128 0x13
.uleb128 0xb
.uleb128 0x3
.uleb128 0x8
.uleb128 0x1b
.uleb128 0xe
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x10
.uleb128 0x6
.byte 0x0
.byte 0x0
.uleb128 0x2
.uleb128 0x2e
.byte 0x1
.uleb128 0x3f
.uleb128 0xc
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x27
.uleb128 0xc
.uleb128 0x49
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0xa
.uleb128 0x1
.uleb128 0x13
.byte 0x0
.byte 0x0
.uleb128 0x3
.uleb128 0x5
.byte 0x0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0xa
.byte 0x0
.byte 0x0
.uleb128 0x4
.uleb128 0x24
.byte 0x0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0x8
.byte 0x0
.byte 0x0
.uleb128 0x5
.uleb128 0x5
.byte 0x0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0xa
.byte 0x0
.byte 0x0
.uleb128 0x6
.uleb128 0xf
.byte 0x0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.byte 0x0
.byte 0x0
.uleb128 0x7
.uleb128 0x24
.byte 0x0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.byte 0x0
.byte 0x0
.byte 0x0
.section .debug_pubnames,"",@progbits
.long 0x20
.value 0x2
.long .Ldebug_info0
.long 0xa2
.long 0x25
.string "func"
.long 0x56
.string "main"
.long 0x0
.section .debug_aranges,"",@progbits
.long 0x1c
.value 0x2
.long .Ldebug_info0
.byte 0x4
.byte 0x0
.value 0x0
.value 0x0
.long .Ltext0
.long .Letext0-.Ltext0
.long 0x0
.long 0x0
.section .debug_str,"MS",@progbits,1
.LASF5:
.string "GNU C 4.5.0 20090810 (experimental) [trunk revision 150633]"
.LASF2:
.string "argc"
.LASF6:
.string "/tmp"
.LASF0:
.string "func"
.LASF3:
.string "argv"
.LASF1:
.string "main"
.LASF4:
.string "char"
.ident "GCC: (GNU) 4.5.0 20090810 (experimental) [trunk revision 150633]"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 7,652
|
gdb/testsuite/gdb.dwarf2/dw2-const.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2010-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Dummy function to provide debug information for. */
.text
.Lbegin_text1:
.globl func_cu1
.type func_cu1, %function
func_cu1:
.Lbegin_func_cu1:
.int 0
.Lend_func_cu1:
.size func_cu1, .-func_cu1
.Lend_text1:
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 8 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte .Lline1_begin /* DW_AT_stmt_list */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 1 /* DW_AT_language (C) */
.uleb128 0x8 /* Abbrev: DW_TAG_constant */
.ascii "twelve\0" /* DW_AT_name */
.4byte .Ltype_const-.Lcu1_begin /* DW_AT_type */
.byte 0xc /* DW_AT_const_value */
.Ltype_const:
.uleb128 0x9 /* Abbrev: DW_TAG_const_type */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.uleb128 0xa /* Abbrev: DW_TAG_variable */
.ascii "val8\0" /* DW_AT_name */
.4byte .Ltype_const8-.Lcu1_begin /* DW_AT_type */
.byte 2f - 1f /* DW_AT_location */
1: .byte 0x11 /* DW_OP_consts */
#if 0 /* gas encodes it explicitly. */
.slab128 0xffffffff00000000
#endif
#if 0 /* gas encoded it correctly - formed GDB FAILed. */
.sleb128 -4294967296
#endif
#if 1 /* Rather encode sleb128 by hand. */
.byte 0x80, 0x80, 0x80, 0x80, 0x70
#endif
.byte 0x9f /* DW_OP_stack_value */
2:
.Ltype_const8:
.uleb128 0x9 /* Abbrev: DW_TAG_const_type */
.4byte .Ltype_int8-.Lcu1_begin /* DW_AT_type */
/* func_cu1 */
.uleb128 2 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.byte 1 /* DW_AT_decl_file */
.byte 2 /* DW_AT_decl_line */
.ascii "func_cu1\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.byte 1 /* DW_AT_frame_base: length */
.byte 0x55 /* DW_AT_frame_base: DW_OP_reg5 */
.Ltype_int:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
.ascii "int\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.Ltype_int8:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
.ascii "int8\0" /* DW_AT_name */
.byte 8 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x10 /* DW_AT_stmt_list */
.uleb128 0x6 /* DW_FORM_data4 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 0 /* has_children */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3a /* DW_AT_decl_file */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3b /* DW_AT_decl_line */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x40 /* DW_AT_frame_base */
.uleb128 0xa /* DW_FORM_block1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 0x8 /* abbrev code */
.uleb128 0x27 /* TAG: DW_TAG_constant */
.byte 0x0 /* DW_children_no */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x1c /* DW_AT_const_value */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 0x9 /* abbrev code */
.uleb128 0x26 /* TAG: DW_TAG_const_type */
.byte 0x0 /* DW_children_no */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 0xa /* abbrev code */
.uleb128 0x34 /* TAG: DW_TAG_variable */
.byte 0x0 /* DW_children_no */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x02 /* DW_AT_location */
.uleb128 0xa /* DW_FORM_block1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
/* Line table */
.section .debug_line
.Lline1_begin:
.4byte .Lline1_end - .Lline1_start /* Initial length */
.Lline1_start:
.2byte 2 /* Version */
.4byte .Lline1_lines - .Lline1_hdr /* header_length */
.Lline1_hdr:
.byte 1 /* Minimum insn length */
.byte 1 /* default_is_stmt */
.byte 1 /* line_base */
.byte 1 /* line_range */
.byte 0x10 /* opcode_base */
/* Standard lengths */
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 0
/* Include directories */
.byte 0
/* File names */
.ascii "file1.txt\0"
.uleb128 0
.uleb128 0
.uleb128 0
.byte 0
.Lline1_lines:
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lbegin_func_cu1
.byte 3 /* DW_LNS_advance_line */
.sleb128 3 /* ... to 4 */
.byte 1 /* DW_LNS_copy */
.byte 1 /* DW_LNS_copy (second time as an end-of-prologue marker) */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lend_func_cu1
.byte 0 /* DW_LNE_end_of_sequence */
.uleb128 1
.byte 1
.Lline1_end:
|
stsp/binutils-ia16
| 5,396
|
gdb/testsuite/gdb.dwarf2/dw2-basic.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2004-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Test a minimal file containing DWARF-2 information. This test also
serves as a skeleton for other DWARF-2 tests. Most other tests will
not be this extensively itemized and commented... */
/* Dummy function to provide debug information for. */
.text
.Lbegin_text1:
.globl func_cu1
.type func_cu1, %function
func_cu1:
.Lbegin_func_cu1:
.int 0
.Lend_func_cu1:
.size func_cu1, .-func_cu1
.Lend_text1:
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte .Lline1_begin /* DW_AT_stmt_list */
.4byte .Lend_text1 /* DW_AT_high_pc */
.4byte .Lbegin_text1 /* DW_AT_low_pc */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 1 /* DW_AT_language (C) */
/* func_cu1 */
.uleb128 2 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.byte 1 /* DW_AT_decl_file */
.byte 2 /* DW_AT_decl_line */
.ascii "func_cu1\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.4byte .Lbegin_func_cu1 /* DW_AT_low_pc */
.4byte .Lend_func_cu1 /* DW_AT_high_pc */
.byte 1 /* DW_AT_frame_base: length */
.byte 0x55 /* DW_AT_frame_base: DW_OP_reg5 */
.Ltype_int:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
.ascii "int\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x10 /* DW_AT_stmt_list */
.uleb128 0x6 /* DW_FORM_data4 */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 0 /* has_children */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3a /* DW_AT_decl_file */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3b /* DW_AT_decl_line */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x40 /* DW_AT_frame_base */
.uleb128 0xa /* DW_FORM_block1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
/* Line table */
.section .debug_line
.Lline1_begin:
.4byte .Lline1_end - .Lline1_start /* Initial length */
.Lline1_start:
.2byte 2 /* Version */
.4byte .Lline1_lines - .Lline1_hdr /* header_length */
.Lline1_hdr:
.byte 1 /* Minimum insn length */
.byte 1 /* default_is_stmt */
.byte 1 /* line_base */
.byte 1 /* line_range */
.byte 0x10 /* opcode_base */
/* Standard lengths */
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 0
/* Include directories */
.byte 0
/* File names */
.ascii "file1.txt\0"
.uleb128 0
.uleb128 0
.uleb128 0
.byte 0
.Lline1_lines:
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lbegin_func_cu1
.byte 3 /* DW_LNS_advance_line */
.sleb128 3 /* ... to 4 */
.byte 1 /* DW_LNS_copy */
.byte 1 /* DW_LNS_copy (second time as an end-of-prologue marker) */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lend_func_cu1
.byte 0 /* DW_LNE_end_of_sequence */
.uleb128 1
.byte 1
.Lline1_end:
|
stsp/binutils-ia16
| 5,324
|
gdb/testsuite/gdb.dwarf2/dw2-canonicalize-type.S
|
/* Copyright 2012-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#define CONCAT1(a, b) CONCAT2(a, b)
#define CONCAT2(a, b) a ## b
#ifdef SYMBOL_PREFIX
# define SYMBOL(str) CONCAT1(SYMBOL_PREFIX, str)
#else
# define SYMBOL(str) str
#endif
.text
.globl SYMBOL(main)
SYMBOL(main):
.4byte 0
.Lmain_end:
.section .debug_info
debug_start:
.4byte debug_end - 1f /* Length of Compilation Unit Info */
1:
.2byte 0x3 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
.ascii "GNU C 4.4.3\0" /* DW_AT_producer */
.byte 0x4 /* DW_AT_language = DW_LANG_C_plus_plus */
.ascii "1.c\0" /* DW_AT_name */
.4byte SYMBOL(main) /* DW_AT_low_pc */
.4byte .Lmain_end /* DW_AT_high_pc */
.uleb128 0x4 /* (DIE (0x3c) DW_TAG_subprogram) */
.ascii "f\0" /* DW_AT_name */
/* Value 0 would require has_section_at_zero != 0 (which is true, though). */
.4byte SYMBOL(main) /* DW_AT_low_pc */
.4byte .Lmain_end /* DW_AT_high_pc */
.byte 0x1 /* DW_AT_prototyped */
.uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
.4byte .Ltype_sizeof - debug_start /* DW_AT_type */
.ascii "param_sizeof\0" /* DW_AT_name */
.uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
.4byte .Ltype_opnew - debug_start /* DW_AT_type */
.ascii "param_opnew\0" /* DW_AT_name */
.uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
.4byte .Ltype_opdelete - debug_start /* DW_AT_type */
.ascii "param_opdelete\0" /* DW_AT_name */
.uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
.4byte .Ltype_opnewarray - debug_start /* DW_AT_type */
.ascii "param_opnewarray\0" /* DW_AT_name */
.uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
.4byte .Ltype_opdeletearray - debug_start /* DW_AT_type */
.ascii "param_opdeletearray\0" /* DW_AT_name */
.byte 0x0 /* end of children of DIE 0x3c */
.Ltype_sizeof:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
.ascii "typename<sizeof(int)>\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.Ltype_opnew:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
.ascii "C::operator new(int)\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.Ltype_opdelete:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
.ascii "C::operator delete(void *)\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.Ltype_opnewarray:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
/* The correct new[] syntax is probably unsupported by GDB. */
.ascii "C::operator new[](int)\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.Ltype_opdeletearray:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
/* The correct delete[] syntax is probably unsupported by GDB. */
.ascii "C::operator delete[](void *)\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.byte 0x0 /* end of children of DIE 0xb */
debug_end:
.section .debug_abbrev
.Ldebug_abbrev0:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.byte 0x0
.byte 0x0
.uleb128 3 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 0x4 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x27 /* (DW_AT_prototyped) */
.uleb128 0xc /* (DW_FORM_flag) */
.byte 0x0
.byte 0x0
.uleb128 0x5 /* (abbrev code) */
.uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
.byte 0x0 /* DW_children_no */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.byte 0x0
.byte 0x0
.byte 0x0
|
stsp/binutils-ia16
| 12,355
|
gdb/testsuite/gdb.dwarf2/implptr.S
|
.file "implptr.c"
.text
.Ltext0:
.p2align 4,,15
.globl foo
.type foo, @function
foo:
.LFB1:
.file 1 "gdb.dwarf2/implptr.c"
.loc 1 45 0
.cfi_startproc
.LVL0:
.loc 1 45 0
movl 4(%esp), %eax
.LVL1:
.LBB6:
.LBB7:
.loc 1 36 0
addl $1, u
.LVL2:
.loc 1 38 0
addl $1, u+4
.LVL3:
.loc 1 40 0
addl $1, u+8
.LVL4:
.LBE7:
.LBE6:
.LBB8:
.LBB9:
.loc 1 36 0
addl $1, u+12
.LVL5:
.loc 1 38 0
addl $1, u+16
.LVL6:
.loc 1 40 0
addl $1, u+20
.LBE9:
.LBE8:
.loc 1 52 0
leal (%eax,%eax,4), %eax
.loc 1 53 0
ret
.cfi_endproc
.LFE1:
.size foo, .-foo
.p2align 4,,15
.globl bar
.type bar, @function
bar:
.LFB2:
.loc 1 61 0
.cfi_startproc
.LVL7:
.loc 1 65 0
movl 4(%esp), %eax
addl $1, %eax
.loc 1 67 0
ret
.cfi_endproc
.LFE2:
.size bar, .-bar
.section .text.startup,"ax",@progbits
.p2align 4,,15
.globl main
.type main, @function
main:
.LFB3:
.loc 1 70 0
.cfi_startproc
pushl %ebx
.cfi_def_cfa_offset 8
.cfi_offset 3, -8
subl $4, %esp
.cfi_def_cfa_offset 12
.loc 1 71 0
movl $5, (%esp)
call bar
.LVL8:
movl $23, (%esp)
movl %eax, %ebx
call foo
.LVL9:
.loc 1 72 0
addl $4, %esp
.cfi_def_cfa_offset 8
.loc 1 71 0
addl %ebx, %eax
.loc 1 72 0
popl %ebx
.cfi_def_cfa_offset 4
.cfi_restore 3
ret
.cfi_endproc
.LFE3:
.size main, .-main
.comm u,24,4
.text
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0x217
.value 0x4
.long .Ldebug_abbrev0
.byte 0x4
.uleb128 0x1
.long .LASF4
.byte 0x1
.long .LASF5
.long .LASF6
.long .Ldebug_ranges0+0
.long 0
.long .Ldebug_line0
.uleb128 0x2
.string "S"
.byte 0x8
.byte 0x1
.byte 0x18
.long 0x44
.uleb128 0x3
.string "x"
.byte 0x1
.byte 0x1a
.long 0x44
.byte 0
.uleb128 0x3
.string "y"
.byte 0x1
.byte 0x1a
.long 0x4a
.byte 0x4
.byte 0
.uleb128 0x4
.byte 0x4
.long 0x4a
.uleb128 0x5
.byte 0x4
.byte 0x5
.string "int"
.uleb128 0x6
.long .LASF0
.byte 0x1
.byte 0x37
.long 0x44
.uleb128 0x6
.long .LASF1
.byte 0x1
.byte 0x38
.long 0x67
.uleb128 0x4
.byte 0x4
.long 0x51
.uleb128 0x6
.long .LASF2
.byte 0x1
.byte 0x39
.long 0x78
.uleb128 0x4
.byte 0x4
.long 0x5c
.uleb128 0x7
.string "add"
.byte 0x1
.byte 0x20
.byte 0x3
.long 0xa6
.uleb128 0x8
.string "a"
.byte 0x1
.byte 0x20
.long 0xa6
.uleb128 0x8
.string "b"
.byte 0x1
.byte 0x20
.long 0xa6
.uleb128 0x8
.string "c"
.byte 0x1
.byte 0x20
.long 0x4a
.byte 0
.uleb128 0x4
.byte 0x4
.long 0x25
.uleb128 0x9
.string "foo"
.byte 0x1
.byte 0x2c
.long 0x4a
.long .LFB1
.long .LFE1
.uleb128 0x1
.byte 0x9c
.long 0x147
.uleb128 0xa
.string "i"
.byte 0x1
.byte 0x2c
.long 0x4a
.long .LLST0
.uleb128 0xb
.string "j"
.byte 0x1
.byte 0x2e
.long 0x4a
.long .LLST1
.uleb128 0xb
.string "p"
.byte 0x1
.byte 0x2f
.long 0x147
.long .LLST2
.uleb128 0xc
.long 0x7e
.long .LBB6
.long .LBE6
.byte 0x1
.byte 0x30
.long 0x11b
.uleb128 0xd
.long 0x9c
.byte 0
.uleb128 0xe
.long 0x93
.uleb128 0x6
.byte 0xf2
.long .Ldebug_info0+223
.sleb128 8
.uleb128 0xf
.long 0x8a
.long .LLST3
.byte 0
.uleb128 0x10
.long 0x7e
.long .LBB8
.long .LBE8
.byte 0x1
.byte 0x33
.uleb128 0xd
.long 0x9c
.byte 0x3
.uleb128 0xe
.long 0x93
.uleb128 0x6
.byte 0xf2
.long .Ldebug_info0+223
.sleb128 8
.uleb128 0xf
.long 0x8a
.long .LLST4
.byte 0
.byte 0
.uleb128 0x11
.long 0x25
.long 0x157
.uleb128 0x12
.long 0x157
.byte 0x1
.byte 0
.uleb128 0x13
.byte 0x4
.byte 0x7
.long .LASF3
.uleb128 0x9
.string "bar"
.byte 0x1
.byte 0x3c
.long 0x4a
.long .LFB2
.long .LFE2
.uleb128 0x1
.byte 0x9c
.long 0x1b4
.uleb128 0x14
.string "i"
.byte 0x1
.byte 0x3c
.long 0x4a
.uleb128 0x2
.byte 0x91
.sleb128 0
.uleb128 0x15
.string "j"
.byte 0x1
.byte 0x3e
.long 0x51
.uleb128 0x6
.byte 0xf2
.long .Ldebug_info0+375
.sleb128 0
.uleb128 0x15
.string "k"
.byte 0x1
.byte 0x3f
.long 0x5c
.uleb128 0x6
.byte 0xf2
.long .Ldebug_info0+387
.sleb128 0
.uleb128 0x15
.string "l"
.byte 0x1
.byte 0x40
.long 0x6d
.uleb128 0x6
.byte 0xf2
.long .Ldebug_info0+403
.sleb128 0
.byte 0
.uleb128 0x16
.long .LASF7
.byte 0x1
.byte 0x45
.long 0x4a
.long .LFB3
.long .LFE3
.uleb128 0x1
.byte 0x9c
.long 0x1f2
.uleb128 0x17
.long .LVL8
.long 0x15e
.long 0x1e1
.uleb128 0x18
.uleb128 0x2
.byte 0x74
.sleb128 0
.uleb128 0x1
.byte 0x35
.byte 0
.uleb128 0x19
.long .LVL9
.long 0xac
.uleb128 0x18
.uleb128 0x2
.byte 0x74
.sleb128 0
.uleb128 0x1
.byte 0x47
.byte 0
.byte 0
.uleb128 0x11
.long 0x4a
.long 0x202
.uleb128 0x12
.long 0x157
.byte 0x5
.byte 0
.uleb128 0x1a
.string "u"
.byte 0x1
.byte 0x1d
.long 0x1f2
.uleb128 0x1b
.string "u"
.byte 0x1
.byte 0x1d
.long 0x1f2
.uleb128 0x5
.byte 0x3
.long u
.byte 0
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1
.uleb128 0x11
.byte 0x1
.uleb128 0x25
.uleb128 0xe
.uleb128 0x13
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.uleb128 0x1b
.uleb128 0xe
.uleb128 0x55
.uleb128 0x17
.uleb128 0x11
.uleb128 0x1
.uleb128 0x10
.uleb128 0x17
.byte 0
.byte 0
.uleb128 0x2
.uleb128 0x13
.byte 0x1
.uleb128 0x3
.uleb128 0x8
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x3
.uleb128 0xd
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x38
.uleb128 0xb
.byte 0
.byte 0
.uleb128 0x4
.uleb128 0xf
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x5
.uleb128 0x24
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0x8
.byte 0
.byte 0
.uleb128 0x6
.uleb128 0x16
.byte 0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x7
.uleb128 0x2e
.byte 0x1
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x27
.uleb128 0x19
.uleb128 0x20
.uleb128 0xb
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x8
.uleb128 0x5
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x9
.uleb128 0x2e
.byte 0x1
.uleb128 0x3f
.uleb128 0x19
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x27
.uleb128 0x19
.uleb128 0x49
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0x18
.uleb128 0x2117
.uleb128 0x19
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0xa
.uleb128 0x5
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0x17
.byte 0
.byte 0
.uleb128 0xb
.uleb128 0x34
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0x17
.byte 0
.byte 0
.uleb128 0xc
.uleb128 0x1d
.byte 0x1
.uleb128 0x31
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x58
.uleb128 0xb
.uleb128 0x59
.uleb128 0xb
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0xd
.uleb128 0x5
.byte 0
.uleb128 0x31
.uleb128 0x13
.uleb128 0x1c
.uleb128 0xb
.byte 0
.byte 0
.uleb128 0xe
.uleb128 0x5
.byte 0
.uleb128 0x31
.uleb128 0x13
.uleb128 0x2
.uleb128 0x18
.byte 0
.byte 0
.uleb128 0xf
.uleb128 0x5
.byte 0
.uleb128 0x31
.uleb128 0x13
.uleb128 0x2
.uleb128 0x17
.byte 0
.byte 0
.uleb128 0x10
.uleb128 0x1d
.byte 0x1
.uleb128 0x31
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x58
.uleb128 0xb
.uleb128 0x59
.uleb128 0xb
.byte 0
.byte 0
.uleb128 0x11
.uleb128 0x1
.byte 0x1
.uleb128 0x49
.uleb128 0x13
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x12
.uleb128 0x21
.byte 0
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2f
.uleb128 0xb
.byte 0
.byte 0
.uleb128 0x13
.uleb128 0x24
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.byte 0
.byte 0
.uleb128 0x14
.uleb128 0x5
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0x18
.byte 0
.byte 0
.uleb128 0x15
.uleb128 0x34
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0x18
.byte 0
.byte 0
.uleb128 0x16
.uleb128 0x2e
.byte 0x1
.uleb128 0x3f
.uleb128 0x19
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0x18
.uleb128 0x2117
.uleb128 0x19
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x17
.uleb128 0x4109
.byte 0x1
.uleb128 0x11
.uleb128 0x1
.uleb128 0x31
.uleb128 0x13
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x18
.uleb128 0x410a
.byte 0
.uleb128 0x2
.uleb128 0x18
.uleb128 0x2111
.uleb128 0x18
.byte 0
.byte 0
.uleb128 0x19
.uleb128 0x4109
.byte 0x1
.uleb128 0x11
.uleb128 0x1
.uleb128 0x31
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x1a
.uleb128 0x34
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x3f
.uleb128 0x19
.uleb128 0x3c
.uleb128 0x19
.byte 0
.byte 0
.uleb128 0x1b
.uleb128 0x34
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x3f
.uleb128 0x19
.uleb128 0x2
.uleb128 0x18
.byte 0
.byte 0
.byte 0
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.long .LVL0
.long .LVL1
.value 0x2
.byte 0x91
.sleb128 0
.long .LVL1
.long .LFE1
.value 0x6
.byte 0x91
.sleb128 0
.byte 0x6
.byte 0x31
.byte 0x24
.byte 0x9f
.long 0
.long 0
.LLST1:
.long .LVL1
.long .LVL4
.value 0x2
.byte 0x91
.sleb128 0
.long .LVL4
.long .LFE1
.value 0x6
.byte 0x91
.sleb128 0
.byte 0x6
.byte 0x33
.byte 0x1e
.byte 0x9f
.long 0
.long 0
.LLST2:
.long .LVL1
.long .LVL4
.value 0x20
.byte 0xf2
.long .Ldebug_info0+197
.sleb128 0
.byte 0x93
.uleb128 0x4
.byte 0x91
.sleb128 0
.byte 0x6
.byte 0x32
.byte 0x24
.byte 0x9f
.byte 0x93
.uleb128 0x4
.byte 0xf2
.long .Ldebug_info0+210
.sleb128 0
.byte 0x93
.uleb128 0x4
.byte 0x91
.sleb128 0
.byte 0x6
.byte 0x31
.byte 0x24
.byte 0x9f
.byte 0x93
.uleb128 0x4
.long .LVL4
.long .LFE1
.value 0x20
.byte 0xf2
.long .Ldebug_info0+210
.sleb128 0
.byte 0x93
.uleb128 0x4
.byte 0x91
.sleb128 0
.byte 0x6
.byte 0x36
.byte 0x1e
.byte 0x9f
.byte 0x93
.uleb128 0x4
.byte 0xf2
.long .Ldebug_info0+197
.sleb128 0
.byte 0x93
.uleb128 0x4
.byte 0x91
.sleb128 0
.byte 0x6
.byte 0x31
.byte 0x24
.byte 0x9f
.byte 0x93
.uleb128 0x4
.long 0
.long 0
.LLST3:
.long .LVL1
.long .LVL2
.value 0x6
.byte 0xf2
.long .Ldebug_info0+223
.sleb128 0
.long .LVL2
.long .LVL3
.value 0x2
.byte 0x30
.byte 0x9f
.long .LVL3
.long .LFE1
.value 0x6
.byte 0xf2
.long .Ldebug_info0+223
.sleb128 8
.long 0
.long 0
.LLST4:
.long .LVL4
.long .LVL5
.value 0x6
.byte 0xf2
.long .Ldebug_info0+223
.sleb128 0
.long .LVL5
.long .LVL6
.value 0x2
.byte 0x30
.byte 0x9f
.long .LVL6
.long .LFE1
.value 0x6
.byte 0xf2
.long .Ldebug_info0+223
.sleb128 8
.long 0
.long 0
.section .debug_aranges,"",@progbits
.long 0x24
.value 0x2
.long .Ldebug_info0
.byte 0x4
.byte 0
.value 0
.value 0
.long .Ltext0
.long .Letext0-.Ltext0
.long .LFB3
.long .LFE3-.LFB3
.long 0
.long 0
.section .debug_ranges,"",@progbits
.Ldebug_ranges0:
.long .Ltext0
.long .Letext0
.long .LFB3
.long .LFE3
.long 0
.long 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF5:
.string "gdb.dwarf2/implptr.c"
.LASF6:
.string ""
.LASF3:
.string "unsigned int"
.LASF7:
.string "main"
.LASF2:
.string "intppp"
.LASF4:
.string "GNU C 4.6.1 20110627 (Red Hat 4.6.1-1)"
.LASF0:
.string "intp"
.LASF1:
.string "intpp"
.ident "GCC: (GNU) 4.6.1 20110627 (Red Hat 4.6.1-1)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 24,419
|
gdb/testsuite/gdb.dwarf2/dw2-op-out-param.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2012-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Test the behaviour of gdb in the following situation, the dwarf debug
information describes a parameter as being in a register but a more
recent (inner) frame marks the register as being undefined.
This can arrise if the dwarf producer has the location of a parameter in
a callee clobbered register at the time of a call. Older versions of
gcc used to do this, newer versions seem to avoid this issue.
Though it could be argued that such dwarf is incorrect, we would still
like gdb to behave in a user friendly, and helpful way when presented
with such dwarf. */
/* There are 4 test cases in this assembler file. In each case function
main calls each test function in turn, each test case then calls the
breakpt function.
We don't actually pass any parameters around, we don't need to, instead
the dwarf for each test function declares that the function has some
parameters, and tells us which registers these parameters are in. The
breakpt function marks some of these registers as undefined. The main
function helpfully places some marker values into all the registers that
are used as parameters so we can see if they ever get printed.
We use gdb to break in the breakpt function for each of the 4 test
cases, and then backtrace through the test function back to main. In
each case some or all of the parameters to the test function should be
marked as optimized out, due to the breakpt function effectively
clobbering them.
The dwarf register numbering is different to the gdb register number.
In some of the tests we rely on gdb behaviour of being able to specify a
struct using a single register location, the structure will then "flow"
into the next gdb register. The initial register is specified using a
dwarf register number, but the "next" register will depend on gdb
register ordering.
Exposing this internal gdb register numbering is really a gdb bug, the
functionality for selecting the "next" register should be moved into
target dependent code (such as AVR). Right now we work around this
bug in this test; if the bug is ever fixed this test is going to need
some tweaking.
The breakpt function always marks rcx, rsi, and rdi as undefined.
register | dwarf | gdb | |
name | reg # | reg # | breakpt |
----------|-------|-------|---------|
rdx | 1 | 3 | |
rcx | 2 | 2 | undef |
rbx | 3 | 1 | |
rsi | 4 | 4 | undef |
rdi | 5 | 5 | undef |
We declare the test parameters to be in the register rdx, rcx, rbx, rsi,
and rdi. Of these, rdx and rbx are not traditionally used for parameter
passing, but that really doesn't matter for this test.
int_param_single_reg_loc: Passes 8-byte integer parameters in 8-byte
registers using DW_OP_regn style location
information. The parameters are placed as
follows, operand0 (rcx), operand1 (rbx),
operand2 (rsi). We expect operand0 and
operand2 to be marked as optimised out, but
operand1 to be valid.
struct_param_single_reg_loc: Passes 16-byte structures in two 8-byte
registers using dwarf DW_OP_regn location
information to describe a single register,
gdb will assume that the structure flows
into the next sequential register. The
parameters are placed as follows, operand0
(rbx/rcx), operand1 (rcx/rdx), and operand2
(rsi/rdi). The reuse of rcx between
operand0 and operand1 is intentional.
struct_param_two_reg_pieces: Passes 16-byte structure in two 8-byte
registers using dwarf DW_OP_piece based
location information to describe both
registers. The parameters are placed as
follows, operand0 (rdx/rcx), operand1
(rcx/rbx), and operand2 (rsi/rdi). The
reuse of rcx between operand0 and operand1
is intentional.
int_param_two_reg_pieces: Passes 8-byte integer values in two 8-byte
registers with 4-bytes being placed in each
register, using dwarf DW_OP_piece based
location information to describe how the
parameters are split up.The parameters are
placed as follows, operand0 (rdx/rcx),
operand1 (rcx/rbx), and operand2 (rsi/rdi).
The reuse of rcx between operand0 and operand1
is intentional.
*/
.text
.Ltext0:
/* main */
.globl main
.type main, @function
main:
.Ltext1:
sub $0x8,%rsp
.Ltext2:
movq $0xdeadbe00deadbe01, %rbx
movq $0xdeadbe02deadbe03, %rcx
movq $0xdeadbe04deadbe05, %rdx
movq $0xdeadbe06deadbe07, %rsi
movq $0xdeadbe08deadbe09, %rdi
callq int_param_single_reg_loc
nop
callq struct_param_single_reg_loc
nop
callq struct_param_two_reg_pieces
nop
callq int_param_two_reg_pieces
nop
add $0x8,%rsp
retq
.Ltext3:
.size main, .-main
/* breakpt */
.globl breakpt
.type breakpt, @function
breakpt:
.Ltext4:
sub $0x8,%rsp
add $0x8, %rsp
retq
.Ltext5a:
.size breakpt, .-breakpt
/* int_param_single_reg_loc */
.globl int_param_single_reg_loc
.type int_param_single_reg_loc, @function
int_param_single_reg_loc:
.Ltext5b:
sub $0x8,%rsp
.Ltext6:
nop
callq breakpt
nop
add $0x8,%rsp
retq
.Ltext7:
.size int_param_single_reg_loc, .-int_param_single_reg_loc
/* struct_param_single_reg_loc */
.globl struct_param_single_reg_loc
.type struct_param_single_reg_loc, @function
struct_param_single_reg_loc:
.Ltext8:
sub $0x8,%rsp
.Ltext9:
nop
callq breakpt
nop
add $0x8,%rsp
retq
.Ltext10:
.size struct_param_single_reg_loc, .-struct_param_single_reg_loc
/* struct_param_two_reg_pieces */
.globl struct_param_two_reg_pieces
.type struct_param_two_reg_pieces, @function
struct_param_two_reg_pieces:
.Ltext11:
sub $0x8,%rsp
.Ltext12:
nop
callq breakpt
nop
add $0x8,%rsp
retq
.Ltext13:
.size struct_param_two_reg_pieces, .-struct_param_two_reg_pieces
/* int_param_two_reg_pieces */
.globl int_param_two_reg_pieces
.type int_param_two_reg_pieces, @function
int_param_two_reg_pieces:
.Ltext14:
sub $0x8,%rsp
.Ltext15:
nop
callq breakpt
nop
add $0x8,%rsp
retq
.Ltext16:
.size int_param_two_reg_pieces, .-int_param_two_reg_pieces
.Letext0:
/*******************************************************/
.section .debug_frame,"",@progbits
/* CIE */
.Lframe0:
.long .LECIE0-.LSCIE0 /* length */
.LSCIE0:
.long 0xffffffff /* CIE_id */
.byte 0x1 /* version */
.string "" /* augmentation */
.uleb128 0x1 /* code alignment */
.sleb128 -8 /* data alignment */
.byte 0x10 /* R/A column */
/* Initial instructions */
.byte 0xc /* DW_CFA_def_cfa */
.uleb128 0x7 /* reg# */
.uleb128 0x8 /* offset */
.byte 0x90 /* DW_CFA_offset (r16) */
.uleb128 0x1 /* offset */
.align 8
.LECIE0:
/* FDE : breakpt */
.LSFDE0:
.long .LEFDE0-.LASFDE0 /* length */
.LASFDE0:
.long .Lframe0 /* CIE reference */
.quad .Ltext4 /* start */
.quad .Ltext5a-.Ltext4 /* length */
/* Instructions */
.byte 0x7 /* DW_CFA_undefined */
.uleb128 0x2 /* reg# */
.byte 0x7 /* DW_CFA_undefined */
.uleb128 0x4 /* reg# */
.byte 0x7 /* DW_CFA_undefined */
.uleb128 0x5 /* reg# */
.align 8
.LEFDE0:
/* FDE : int_param_single_reg_loc */
.LSFDE2:
.long .LEFDE2-.LASFDE2 /* length */
.LASFDE2:
.long .Lframe0 /* CIE reference */
.quad .Ltext5b /* start */
.quad .Ltext7-.Ltext5b /* length */
/* Instructions */
.byte 0x4
.long .Ltext6-.Ltext5b
.byte 0xe
.uleb128 0x10
.align 8
.LEFDE2:
/* FDE : struct_param_single_reg_loc */
.LSFDE3:
.long .LEFDE3-.LASFDE3 /* length */
.LASFDE3:
.long .Lframe0 /* CIE reference */
.quad .Ltext8 /* start */
.quad .Ltext10-.Ltext8 /* length */
/* Instructions */
.byte 0x4
.long .Ltext9-.Ltext8
.byte 0xe
.uleb128 0x10
.align 8
.LEFDE3:
/* FDE : struct_param_two_reg_pieces */
.LSFDE4:
.long .LEFDE4-.LASFDE4 /* length */
.LASFDE4:
.long .Lframe0 /* CIE reference */
.quad .Ltext11 /* start */
.quad .Ltext13-.Ltext11 /* length */
/* Instructions */
.byte 0x4
.long .Ltext12-.Ltext11
.byte 0xe
.uleb128 0x10
.align 8
.LEFDE4:
/* FDE : int_param_two_reg_pieces */
.LSFDE5:
.long .LEFDE5-.LASFDE5 /* length */
.LASFDE5:
.long .Lframe0 /* CIE reference */
.quad .Ltext14 /* start */
.quad .Ltext16-.Ltext14 /* length */
/* Instructions */
.byte 0x4
.long .Ltext15-.Ltext14
.byte 0xe
.uleb128 0x10
.align 8
.LEFDE5:
/* FDE : main */
.LSFDE9:
.long .LEFDE9-.LASFDE9 /* length */
.LASFDE9:
.long .Lframe0 /* CIE reference */
.quad .Ltext1 /* start */
.quad .Ltext3-.Ltext1 /* length */
/* Instructions */
.byte 0x4
.long .Ltext2-.Ltext1
.byte 0xe
.uleb128 0x10
.align 8
.LEFDE9:
/*******************************************************/
.section .debug_info,"",@progbits
.Ldebug_info0:
.long .Ldebug_info_end - .Ldebug_info_start /* Length */
.Ldebug_info_start:
.value 0x2 /* DWARF version number. */
.long .Ldebug_abbrev0 /* Offset into .debug_abbrev */
.byte 0x8 /* Pointer size */
.LDI0:
.uleb128 0x1 /* DW_TAG_compile_unit */
.string "GNU C 4.2.1" /* DW_AT_producer */
.byte 0x1 /* DW_AT_language */
.quad .Ltext0 /* DW_AT_low_pc */
.quad .Letext0 /* DW_AT_high_pc */
.LDI1:
.uleb128 0x2 /* DW_TAG_subprogram */
.byte 0x1 /* DW_AT_external */
.string "breakpt" /* DW_AT_name */
.byte 0x1 /* DW_AT_prototyped */
.quad .Ltext4 /* DW_AT_low_pc */
.quad .Ltext5a /* DW_AT_high_pc */
.LDI2:
.uleb128 0x5 /* DW_TAG_base_type */
.byte 0x8 /* DW_AT_byte_size */
.byte 0x5 /* DW_AT_encoding (DW_ATE_signed) */
.string "long int" /* DW_AT_name */
.LDI3:
.uleb128 0x7 /* DW_TAG_structure_type */
.string "big" /* DW_AT_name */
.byte 0x10 /* DW_AT_byte_size */
.long .LDI6 - .Ldebug_info0 /* DW_AT_sibling */
.LDI4:
.uleb128 0x8 /* DW_TAG_member */
.string "a" /* DW_AT_name */
.long .LDI2 - .Ldebug_info0 /* DW_AT_type */
.byte 0x2 /* DW_AT_data_member_location : length */
.byte 0x23 /* DW_OP_plus_uconst */
.uleb128 0x0 /* + 0 */
.LDI5:
.uleb128 0x8 /* DW_TAG_member */
.string "b" /* DW_AT_name */
.long .LDI2 - .Ldebug_info0 /* DW_AT_type */
.byte 0x2 /* DW_AT_data_member_location : length */
.byte 0x23 /* DW_OP_plus_uconst */
.uleb128 0x8 /* + 8 */
.byte 0x0
.LDI6:
.uleb128 0x6 /* DW_TAG_subprogram */
.byte 0x1 /* DW_AT_external */
.string "main" /* DW_AT_name */
.long .LDI2 - .Ldebug_info0 /* DW_AT_type */
.quad .Ltext1 /* DW_AT_low_pc */
.quad .Ltext3 /* DW_AT_high_pc */
.LDI7:
.uleb128 0x3 /* DW_TAG_subprogram */
.byte 0x1 /* DW_AT_external */
.string "int_param_single_reg_loc" /* DW_AT_name */
.byte 0x1 /* DW_AT_prototyped */
.quad .Ltext5b /* DW_AT_low_pc */
.quad .Ltext7 /* DW_AT_high_pc */
.long .LDI11 - .Ldebug_info0 /* DW_AT_sibling */
.LDI8:
.uleb128 0x4 /* DW_TAG_formal_parameter */
.string "operand0" /* DW_AT_name */
.long .LDI2 - .Ldebug_info0 /* DW_AT_type */
.byte 1 /* DW_AT_location : length */
.byte 0x52 /* DW_OP_reg2 */
.LDI9:
.uleb128 0x4 /* DW_TAG_formal_parameter */
.string "operand1" /* DW_AT_name */
.long .LDI2 - .Ldebug_info0 /* DW_AT_type */
.byte 1 /* DW_AT_location : length */
.byte 0x53 /* DW_OP_reg3 */
.LDI10:
.uleb128 0x4 /* DW_TAG_formal_parameter */
.string "operand2" /* DW_AT_name */
.long .LDI2 - .Ldebug_info0 /* DW_AT_type */
.byte 1 /* DW_AT_location : length */
.byte 0x54 /* DW_OP_reg4 */
.byte 0x0
.LDI11:
.uleb128 0x3 /* DW_TAG_subprogram */
.byte 0x1 /* DW_AT_external */
.string "struct_param_single_reg_loc" /* DW_AT_name */
.byte 0x1 /* DW_AT_prototyped */
.quad .Ltext8 /* DW_AT_low_pc */
.quad .Ltext10 /* DW_AT_high_pc */
.long .LDI15 - .Ldebug_info0 /* DW_AT_sibling */
.LDI12:
.uleb128 0x4 /* DW_TAG_formal_parameter */
.string "operand0" /* DW_AT_name */
.long .LDI3 - .Ldebug_info0 /* DW_AT_type */
.byte 1 /* DW_AT_location : length */
.byte 0x53 /* DW_OP_reg3 */
.LDI13:
.uleb128 0x4 /* DW_TAG_formal_parameter */
.string "operand1" /* DW_AT_name */
.long .LDI3 - .Ldebug_info0 /* DW_AT_type */
.byte 1 /* DW_AT_location : length */
.byte 0x52 /* DW_OP_reg2 */
.LDI14:
.uleb128 0x4 /* DW_TAG_formal_parameter */
.string "operand2" /* DW_AT_name */
.long .LDI3 - .Ldebug_info0 /* DW_AT_type */
.byte 1 /* DW_AT_location : length */
.byte 0x54 /* DW_OP_reg4 */
.byte 0x0
.LDI15:
.uleb128 0x3 /* DW_TAG_subprogram */
.byte 0x1 /* DW_AT_external */
.string "struct_param_two_reg_pieces" /* DW_AT_name */
.byte 0x1 /* DW_AT_prototyped */
.quad .Ltext11 /* DW_AT_low_pc */
.quad .Ltext13 /* DW_AT_high_pc */
.long .LDI19 - .Ldebug_info0 /* DW_AT_sibling */
.LDI16:
.uleb128 0x4 /* DW_TAG_formal_parameter */
.string "operand0" /* DW_AT_name */
.long .LDI3 - .Ldebug_info0 /* DW_AT_type */
.byte 6 /* DW_AT_location : length */
.byte 0x51 /* DW_OP_reg1 */
.byte 0x93 /* DW_OP_piece */
.uleb128 0x8 /* 8 bytes */
.byte 0x52 /* DW_OP_reg2 */
.byte 0x93 /* DW_OP_piece */
.uleb128 0x8 /* 8 bytes */
.LDI17:
.uleb128 0x4 /* DW_TAG_formal_parameter */
.string "operand1" /* DW_AT_name */
.long .LDI3 - .Ldebug_info0 /* DW_AT_type */
.byte 6 /* DW_AT_location : length */
.byte 0x52 /* DW_OP_reg2 */
.byte 0x93 /* DW_OP_piece */
.uleb128 0x8 /* 8 bytes */
.byte 0x53 /* DW_OP_reg3 */
.byte 0x93 /* DW_OP_piece */
.uleb128 0x8 /* 8 bytes */
.LDI18:
.uleb128 0x4 /* DW_TAG_formal_parameter */
.string "operand2" /* DW_AT_name */
.long .LDI3 - .Ldebug_info0 /* DW_AT_type */
.byte 6 /* DW_AT_location : length */
.byte 0x54 /* DW_OP_reg4 */
.byte 0x93 /* DW_OP_piece */
.uleb128 0x8 /* 8 bytes */
.byte 0x55 /* DW_OP_reg5 */
.byte 0x93 /* DW_OP_piece */
.uleb128 0x8 /* 8 bytes */
.byte 0x0
.LDI19:
.uleb128 0x3 /* DW_TAG_subprogram */
.byte 0x1 /* DW_AT_external */
.string "int_param_two_reg_pieces" /* DW_AT_name */
.byte 0x1 /* DW_AT_prototyped */
.quad .Ltext14 /* DW_AT_low_pc */
.quad .Ltext16 /* DW_AT_high_pc */
.long .LDIE0 - .Ldebug_info0 /* DW_AT_sibling */
.LDI20:
.uleb128 0x4 /* DW_TAG_formal_parameter */
.string "operand0" /* DW_AT_name */
.long .LDI2 - .Ldebug_info0 /* DW_AT_type */
.byte 6 /* DW_AT_location : length */
.byte 0x51 /* DW_OP_reg1 */
.byte 0x93 /* DW_OP_piece */
.uleb128 0x4 /* 4 bytes */
.byte 0x52 /* DW_OP_reg2 */
.byte 0x93 /* DW_OP_piece */
.uleb128 0x4 /* 4 bytes */
.LDI21:
.uleb128 0x4 /* DW_TAG_formal_parameter */
.string "operand1" /* DW_AT_name */
.long .LDI2 - .Ldebug_info0 /* DW_AT_type */
.byte 6 /* DW_AT_location : length */
.byte 0x52 /* DW_OP_reg2 */
.byte 0x93 /* DW_OP_piece */
.uleb128 0x4 /* 4 bytes */
.byte 0x53 /* DW_OP_reg3 */
.byte 0x93 /* DW_OP_piece */
.uleb128 0x4 /* 4 bytes */
.LDI22:
.uleb128 0x4 /* DW_TAG_formal_parameter */
.string "operand2" /* DW_AT_name */
.long .LDI2 - .Ldebug_info0 /* DW_AT_type */
.byte 6 /* DW_AT_location : length */
.byte 0x54 /* DW_OP_reg4 */
.byte 0x93 /* DW_OP_piece */
.uleb128 0x4 /* 4 bytes */
.byte 0x55 /* DW_OP_reg5 */
.byte 0x93 /* DW_OP_piece */
.uleb128 0x4 /* 4 bytes */
.byte 0x0
.LDIE0:
.byte 0x0
.Ldebug_info_end:
/*******************************************************/
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 /* abbrev code */
.uleb128 0x11 /* TAG: DW_TAG_compile_unit */
.byte 0x1 /* DW_CHILDREN_yes */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.byte 0x0
.byte 0x0
.uleb128 0x2 /* abbrev code */
.uleb128 0x2e /* TAG: DW_TAG_subprogram */
.byte 0x0 /* DW_CHILDREN_no */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x27 /* DW_AT_prototyped */
.uleb128 0xc /* DW_FORM_flag*/
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.byte 0x0
.byte 0x0
.uleb128 0x3 /* abbrev code */
.uleb128 0x2e /* TAG: DW_TAG_subprogram */
.byte 0x1 /* DW_CHILDREN_yes */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x27 /* DW_AT_prototyped */
.uleb128 0xc /* DW_FORM_flag*/
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x1 /* DW_AT_sibling */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0
.byte 0x0
.uleb128 0x4 /* abbrev code */
.uleb128 0x5 /* TAG: DW_TAG_formal_parameter */
.byte 0x0 /* DW_CHILDREN_no */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x2 /* DW_AT_location */
.uleb128 0xa /* DW_FORM_block1 */
.byte 0x0
.byte 0x0
.uleb128 0x5 /* abbrev code */
.uleb128 0x24 /* TAG: DW_TAG_base_type */
.byte 0x0 /* DW_CHILDREN_no */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.byte 0x0
.byte 0x0
.uleb128 0x6 /* abbrev code */
.uleb128 0x2e /* TAG: DW_TAG_subprogram */
.byte 0x0 /* DW_CHILDREN_no */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.byte 0x0
.byte 0x0
.uleb128 0x7 /* abbrev code */
.uleb128 0x13 /* DW_TAG_structure_type */
.byte 0x1 /* DW_CHILDREN_yes */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x1 /* DW_AT_sibling */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0
.byte 0x0
.uleb128 0x8 /* abbrev code */
.uleb128 0xd /* DW_TAG_member */
.byte 0x0 /* DW_children_no */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x38 /* DW_AT_data_member_location */
.uleb128 0xa /* DW_FORM_block1 */
.byte 0x0
.byte 0x0
.byte 0x0
|
stsp/binutils-ia16
| 12,197
|
gdb/testsuite/gdb.dwarf2/dw2-restrict.S
|
/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
This was created using clang -g -S dw2-restrict.c.
*/
.text
.file "dw2-restrict.c"
.globl f # -- Begin function f
.p2align 4, 0x90
.type f,@function
f: # @f
.Lfunc_begin0:
.file 1 "dw2-restrict.c"
.loc 1 19 0 # dw2-restrict.c:19:0
.cfi_startproc
# BB#0:
pushq %rbp
.Lcfi0:
.cfi_def_cfa_offset 16
.Lcfi1:
.cfi_offset %rbp, -16
movq %rsp, %rbp
.Lcfi2:
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
.Ltmp0:
.loc 1 20 10 prologue_end # dw2-restrict.c:20:10
movq -8(%rbp), %rdi
movsbl (%rdi), %eax
.loc 1 20 3 is_stmt 0 # dw2-restrict.c:20:3
popq %rbp
retq
.Ltmp1:
.Lfunc_end0:
.size f, .Lfunc_end0-f
.cfi_endproc
# -- End function
.globl main # -- Begin function main
.p2align 4, 0x90
.type main,@function
main: # @main
.Lfunc_begin1:
.loc 1 24 0 is_stmt 1 # dw2-restrict.c:24:0
.cfi_startproc
# BB#0:
pushq %rbp
.Lcfi3:
.cfi_def_cfa_offset 16
.Lcfi4:
.cfi_offset %rbp, -16
movq %rsp, %rbp
.Lcfi5:
.cfi_def_cfa_register %rbp
subq $16, %rsp
movabsq $.L.str, %rdi
movl $0, -4(%rbp)
.Ltmp2:
.loc 1 25 10 prologue_end # dw2-restrict.c:25:10
callq f
.loc 1 25 3 is_stmt 0 # dw2-restrict.c:25:3
addq $16, %rsp
popq %rbp
retq
.Ltmp3:
.Lfunc_end1:
.size main, .Lfunc_end1-main
.cfi_endproc
# -- End function
.type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1
.L.str:
.asciz "hi bob"
.size .L.str, 7
.section .debug_str,"MS",@progbits,1
.Linfo_string0:
.asciz "clang version 5.0.1 (tags/RELEASE_501/final 312548)" # string offset=0
.Linfo_string1:
.asciz "dw2-restrict.c" # string offset=52
.Linfo_string2:
.asciz "/data/gdb_versions/devel/src/gdb/testsuite/gdb.dwarf2" # string offset=67
.Linfo_string3:
.asciz "f" # string offset=121
.Linfo_string4:
.asciz "int" # string offset=123
.Linfo_string5:
.asciz "main" # string offset=127
.Linfo_string6:
.asciz "x" # string offset=132
.Linfo_string7:
.asciz "char" # string offset=134
.section .debug_abbrev,"",@progbits
.byte 1 # Abbreviation Code
.byte 17 # DW_TAG_compile_unit
.byte 1 # DW_CHILDREN_yes
.byte 37 # DW_AT_producer
.byte 14 # DW_FORM_strp
.byte 19 # DW_AT_language
.byte 5 # DW_FORM_data2
.byte 3 # DW_AT_name
.byte 14 # DW_FORM_strp
.byte 16 # DW_AT_stmt_list
.byte 23 # DW_FORM_sec_offset
.byte 27 # DW_AT_comp_dir
.byte 14 # DW_FORM_strp
.ascii "\264B" # DW_AT_GNU_pubnames
.byte 25 # DW_FORM_flag_present
.byte 17 # DW_AT_low_pc
.byte 1 # DW_FORM_addr
.byte 18 # DW_AT_high_pc
.byte 6 # DW_FORM_data4
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 2 # Abbreviation Code
.byte 46 # DW_TAG_subprogram
.byte 1 # DW_CHILDREN_yes
.byte 17 # DW_AT_low_pc
.byte 1 # DW_FORM_addr
.byte 18 # DW_AT_high_pc
.byte 6 # DW_FORM_data4
.byte 64 # DW_AT_frame_base
.byte 24 # DW_FORM_exprloc
.byte 3 # DW_AT_name
.byte 14 # DW_FORM_strp
.byte 58 # DW_AT_decl_file
.byte 11 # DW_FORM_data1
.byte 59 # DW_AT_decl_line
.byte 11 # DW_FORM_data1
.byte 39 # DW_AT_prototyped
.byte 25 # DW_FORM_flag_present
.byte 73 # DW_AT_type
.byte 19 # DW_FORM_ref4
.byte 63 # DW_AT_external
.byte 25 # DW_FORM_flag_present
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 3 # Abbreviation Code
.byte 5 # DW_TAG_formal_parameter
.byte 0 # DW_CHILDREN_no
.byte 2 # DW_AT_location
.byte 24 # DW_FORM_exprloc
.byte 3 # DW_AT_name
.byte 14 # DW_FORM_strp
.byte 58 # DW_AT_decl_file
.byte 11 # DW_FORM_data1
.byte 59 # DW_AT_decl_line
.byte 11 # DW_FORM_data1
.byte 73 # DW_AT_type
.byte 19 # DW_FORM_ref4
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 4 # Abbreviation Code
.byte 46 # DW_TAG_subprogram
.byte 0 # DW_CHILDREN_no
.byte 17 # DW_AT_low_pc
.byte 1 # DW_FORM_addr
.byte 18 # DW_AT_high_pc
.byte 6 # DW_FORM_data4
.byte 64 # DW_AT_frame_base
.byte 24 # DW_FORM_exprloc
.byte 3 # DW_AT_name
.byte 14 # DW_FORM_strp
.byte 58 # DW_AT_decl_file
.byte 11 # DW_FORM_data1
.byte 59 # DW_AT_decl_line
.byte 11 # DW_FORM_data1
.byte 73 # DW_AT_type
.byte 19 # DW_FORM_ref4
.byte 63 # DW_AT_external
.byte 25 # DW_FORM_flag_present
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 5 # Abbreviation Code
.byte 36 # DW_TAG_base_type
.byte 0 # DW_CHILDREN_no
.byte 3 # DW_AT_name
.byte 14 # DW_FORM_strp
.byte 62 # DW_AT_encoding
.byte 11 # DW_FORM_data1
.byte 11 # DW_AT_byte_size
.byte 11 # DW_FORM_data1
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 6 # Abbreviation Code
.byte 55 # DW_TAG_restrict_type
.byte 0 # DW_CHILDREN_no
.byte 73 # DW_AT_type
.byte 19 # DW_FORM_ref4
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 7 # Abbreviation Code
.byte 15 # DW_TAG_pointer_type
.byte 0 # DW_CHILDREN_no
.byte 73 # DW_AT_type
.byte 19 # DW_FORM_ref4
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 0 # EOM(3)
.section .debug_info,"",@progbits
.Lcu_begin0:
.long 128 # Length of Unit
.short 4 # DWARF version number
.long .debug_abbrev # Offset Into Abbrev. Section
.byte 8 # Address Size (in bytes)
.byte 1 # Abbrev [1] 0xb:0x79 DW_TAG_compile_unit
.long .Linfo_string0 # DW_AT_producer
.short 12 # DW_AT_language
.long .Linfo_string1 # DW_AT_name
.long .Lline_table_start0 # DW_AT_stmt_list
.long .Linfo_string2 # DW_AT_comp_dir
# DW_AT_GNU_pubnames
.quad .Lfunc_begin0 # DW_AT_low_pc
.long .Lfunc_end1-.Lfunc_begin0 # DW_AT_high_pc
.byte 2 # Abbrev [2] 0x2a:0x28 DW_TAG_subprogram
.quad .Lfunc_begin0 # DW_AT_low_pc
.long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
.byte 1 # DW_AT_frame_base
.byte 86
.long .Linfo_string3 # DW_AT_name
.byte 1 # DW_AT_decl_file
.byte 18 # DW_AT_decl_line
# DW_AT_prototyped
.long 107 # DW_AT_type
# DW_AT_external
.byte 3 # Abbrev [3] 0x43:0xe DW_TAG_formal_parameter
.byte 2 # DW_AT_location
.byte 145
.byte 120
.long .Linfo_string6 # DW_AT_name
.byte 1 # DW_AT_decl_file
.byte 18 # DW_AT_decl_line
.long 114 # DW_AT_type
.byte 0 # End Of Children Mark
.byte 4 # Abbrev [4] 0x52:0x19 DW_TAG_subprogram
.quad .Lfunc_begin1 # DW_AT_low_pc
.long .Lfunc_end1-.Lfunc_begin1 # DW_AT_high_pc
.byte 1 # DW_AT_frame_base
.byte 86
.long .Linfo_string5 # DW_AT_name
.byte 1 # DW_AT_decl_file
.byte 23 # DW_AT_decl_line
.long 107 # DW_AT_type
# DW_AT_external
.byte 5 # Abbrev [5] 0x6b:0x7 DW_TAG_base_type
.long .Linfo_string4 # DW_AT_name
.byte 5 # DW_AT_encoding
.byte 4 # DW_AT_byte_size
.byte 6 # Abbrev [6] 0x72:0x5 DW_TAG_restrict_type
.long 119 # DW_AT_type
.byte 7 # Abbrev [7] 0x77:0x5 DW_TAG_pointer_type
.long 124 # DW_AT_type
.byte 5 # Abbrev [5] 0x7c:0x7 DW_TAG_base_type
.long .Linfo_string7 # DW_AT_name
.byte 6 # DW_AT_encoding
.byte 1 # DW_AT_byte_size
.byte 0 # End Of Children Mark
.section .debug_ranges,"",@progbits
.section .debug_macinfo,"",@progbits
.Lcu_macro_begin0:
.byte 0 # End Of Macro List Mark
.section .debug_pubnames,"",@progbits
.long .LpubNames_end0-.LpubNames_begin0 # Length of Public Names Info
.LpubNames_begin0:
.short 2 # DWARF Version
.long .Lcu_begin0 # Offset of Compilation Unit Info
.long 132 # Compilation Unit Length
.long 82 # DIE offset
.asciz "main" # External Name
.long 42 # DIE offset
.asciz "f" # External Name
.long 0 # End Mark
.LpubNames_end0:
.section .debug_pubtypes,"",@progbits
.long .LpubTypes_end0-.LpubTypes_begin0 # Length of Public Types Info
.LpubTypes_begin0:
.short 2 # DWARF Version
.long .Lcu_begin0 # Offset of Compilation Unit Info
.long 132 # Compilation Unit Length
.long 107 # DIE offset
.asciz "int" # External Name
.long 124 # DIE offset
.asciz "char" # External Name
.long 0 # End Mark
.LpubTypes_end0:
.ident "clang version 5.0.1 (tags/RELEASE_501/final 312548)"
.section ".note.GNU-stack","",@progbits
.section .debug_line,"",@progbits
.Lline_table_start0:
|
stsp/binutils-ia16
| 2,219
|
gdb/testsuite/gdb.dwarf2/dw2-stack-boundary.S
|
/* Copyright 2010-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.section .debug_info
debug_start:
.4byte debug_end - 1f /* Length of Compilation Unit Info */
1:
.2byte 0x3 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
.ascii "GNU C 4.4.3\0" /* DW_AT_producer */
.byte 0x1 /* DW_AT_language */
.ascii "1.c\0" /* DW_AT_name */
.uleb128 0x4 /* (DW_TAG_variable) */
.ascii "underflow\0" /* DW_AT_name */
.2byte 2f - 1f /* DW_AT_location: DW_FORM_block2 */
1:
.byte 0x22 /* DW_OP_plus */
2:
.uleb128 0x4 /* (DW_TAG_variable) */
.ascii "overflow\0" /* DW_AT_name */
.2byte 2f - 1f /* DW_AT_location: DW_FORM_block2 */
1:
.fill 100, 1, 0x32 /* 100x DW_OP_lit2 */
.byte 0x9f /* DW_OP_stack_value */
2:
.byte 0x0 /* end of children of CU */
debug_end:
.section .debug_abbrev
.Ldebug_abbrev0:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.byte 0x0
.byte 0x0
.uleb128 0x4 /* (abbrev code) */
.uleb128 0x34 /* (TAG: DW_TAG_variable) */
.byte 0x0 /* DW_children_yes */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x02 /* (DW_AT_location) */
.uleb128 0x3 /* (DW_FORM_block2) */
.byte 0x0
.byte 0x0
.byte 0x0
|
stsp/binutils-ia16
| 24,358
|
gdb/testsuite/gdb.dwarf2/dw2-common-block.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2012-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This was made from ../gdb.fortran/common-block.f90 using
gfortran -dA -S -g
and then hand-editing the assembly a bit to introduce
DW_AT_data_member_location.
Search for "#if 0" in this file to see the important edits. */
.file "common-block.f90"
.text
.Ltext0:
.globl in_
.type in_, @function
in_:
.LFB0:
.file 1 "../gdb.fortran/common-block.f90"
# ../gdb.fortran/common-block.f90:21
.loc 1 21 0
.cfi_startproc
# basic block 2
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $16, %rsp
# ../gdb.fortran/common-block.f90:34
.loc 1 34 0
movl $5, -4(%rbp)
# ../gdb.fortran/common-block.f90:35
.loc 1 35 0
movl $55, -8(%rbp)
# ../gdb.fortran/common-block.f90:21
.loc 1 21 0
movl fo_o_(%rip), %eax
# ../gdb.fortran/common-block.f90:37
.loc 1 37 0
cmpl $11, %eax
jne .L2
# basic block 3
# ../gdb.fortran/common-block.f90:21
.loc 1 21 0 discriminator 2
movss fo_o_+4(%rip), %xmm0
# ../gdb.fortran/common-block.f90:37
.loc 1 37 0 discriminator 2
ucomiss .LC0(%rip), %xmm0
jp .L2
# basic block 4
ucomiss .LC0(%rip), %xmm0
jne .L2
# basic block 5
# ../gdb.fortran/common-block.f90:21
.loc 1 21 0 discriminator 3
movsd fo_o_+8(%rip), %xmm0
# ../gdb.fortran/common-block.f90:37
.loc 1 37 0 discriminator 3
ucomisd .LC1(%rip), %xmm0
jp .L2
# basic block 6
ucomisd .LC1(%rip), %xmm0
je .L8
.L2:
# basic block 7
# ../gdb.fortran/common-block.f90:37
.loc 1 37 0 is_stmt 0 discriminator 1
movl $0, %eax
call _gfortran_abort
.L8:
# basic block 8
# ../gdb.fortran/common-block.f90:21
.loc 1 21 0 is_stmt 1
movl foo_(%rip), %eax
# ../gdb.fortran/common-block.f90:38
.loc 1 38 0
cmpl $1, %eax
jne .L5
# basic block 9
# ../gdb.fortran/common-block.f90:21
.loc 1 21 0 discriminator 2
movss foo_+4(%rip), %xmm0
# ../gdb.fortran/common-block.f90:38
.loc 1 38 0 discriminator 2
ucomiss .LC2(%rip), %xmm0
jp .L5
# basic block 10
ucomiss .LC2(%rip), %xmm0
jne .L5
# basic block 11
# ../gdb.fortran/common-block.f90:21
.loc 1 21 0 discriminator 3
movsd foo_+8(%rip), %xmm0
# ../gdb.fortran/common-block.f90:38
.loc 1 38 0 discriminator 3
ucomisd .LC3(%rip), %xmm0
jp .L5
# basic block 12
ucomisd .LC3(%rip), %xmm0
je .L9
.L5:
# basic block 13
# ../gdb.fortran/common-block.f90:38
.loc 1 38 0 is_stmt 0 discriminator 1
movl $0, %eax
call _gfortran_abort
.L9:
# basic block 14
# ../gdb.fortran/common-block.f90:40
.loc 1 40 0 is_stmt 1
movl $0, fo_o_(%rip)
# ../gdb.fortran/common-block.f90:42
.loc 1 42 0
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size in_, .-in_
.type MAIN__, @function
MAIN__:
.LFB1:
# ../gdb.fortran/common-block.f90:44
.loc 1 44 0
.cfi_startproc
# basic block 2
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
# ../gdb.fortran/common-block.f90:57
.loc 1 57 0
movl $1, foo_(%rip)
# ../gdb.fortran/common-block.f90:58
.loc 1 58 0
movl $0x40000000, %eax
movl %eax, foo_+4(%rip)
# ../gdb.fortran/common-block.f90:59
.loc 1 59 0
movabsq $4613937818241073152, %rax
movq %rax, foo_+8(%rip)
# ../gdb.fortran/common-block.f90:61
.loc 1 61 0
movl $11, fo_o_(%rip)
# ../gdb.fortran/common-block.f90:62
.loc 1 62 0
movl $0x41b00000, %eax
movl %eax, fo_o_+4(%rip)
# ../gdb.fortran/common-block.f90:63
.loc 1 63 0
movabsq $4629841154425225216, %rax
movq %rax, fo_o_+8(%rip)
# ../gdb.fortran/common-block.f90:65
.loc 1 65 0
movl $0, %eax
call in_
# ../gdb.fortran/common-block.f90:67
.loc 1 67 0
popq %rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size MAIN__, .-MAIN__
.globl main
.type main, @function
main:
.LFB2:
# ../gdb.fortran/common-block.f90:67
.loc 1 67 0
.cfi_startproc
# basic block 2
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $16, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
# ../gdb.fortran/common-block.f90:67
.loc 1 67 0
movq -16(%rbp), %rdx
movl -4(%rbp), %eax
movq %rdx, %rsi
movl %eax, %edi
call _gfortran_set_args
movl $options.0.1570, %esi
movl $8, %edi
call _gfortran_set_options
call MAIN__
movl $0, %eax
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size main, .-main
.comm foo_,16,16
.comm fo_o_,16,16
.section .rodata
.align 32
.type options.0.1570, @object
.size options.0.1570, 32
options.0.1570:
.long 68
.long 511
.long 0
.long 0
.long 0
.long 1
.long 0
.long 1
.align 4
.LC0:
.long 1102053376
.align 8
.LC1:
.long 0
.long 1077968896
.align 4
.LC2:
.long 1073741824
.align 8
.LC3:
.long 0
.long 1074266112
.text
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
#if 0
.long 0x247 # Length of Compilation Unit Info
#else
.long .Ldebuginfo_end - .Ldebug_info1 # Length of Compilation Unit Info
.Ldebug_info1:
#endif
.value 0x4 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF13 # DW_AT_producer: "GNU Fortran 4.6.3 plus hand hackery"
.byte 0xe # DW_AT_language
.byte 0x2 # DW_AT_identifier_case
.long .LASF14 # DW_AT_name: "../gdb.fortran/common-block.f90"
.long .LASF15 # DW_AT_comp_dir: "gdb.dwarf2"
.quad .Ltext0 # DW_AT_low_pc
.quad .Letext0 # DW_AT_high_pc
.long .Ldebug_line0 # DW_AT_stmt_list
.uleb128 0x2 # (DIE (0x2e) DW_TAG_subprogram)
# DW_AT_external
.ascii "in\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x15 # DW_AT_decl_line
.ascii "in_\0" # DW_AT_linkage_name
.quad .LFB0 # DW_AT_low_pc
.quad .LFE0 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_tail_call_sites
.long 0x11a # DW_AT_sibling
.uleb128 0x3 # (DIE (0x4e) DW_TAG_common_block)
.long .LASF0 # DW_AT_name: "fo_o"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x1f # DW_AT_decl_line
.long .LASF8 # DW_AT_linkage_name: "fo_o_"
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad fo_o_
.long 0xa5 # DW_AT_sibling
#if 0
.uleb128 0x4 # (DIE (0x67) DW_TAG_variable)
#else
.uleb128 0x10 # (DIE (0x1bb) DW_TAG_variable)
#endif
.ascii "ix\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x17 # DW_AT_decl_line
.long 0x11a # DW_AT_type
# DW_AT_external
#if 0
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad fo_o_
#else
.uleb128 0x9 # DW_AT_data_member_location
# (size chosen to avoid renumbering all DIEs)
.byte 0x8 # DW_OP_const1u
.byte 0x0
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
#endif
.uleb128 0x4 # (DIE (0x7b) DW_TAG_variable)
.ascii "iy2\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x18 # DW_AT_decl_line
.long 0x121 # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad fo_o_+4
.uleb128 0x4 # (DIE (0x90) DW_TAG_variable)
.ascii "iz\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x19 # DW_AT_decl_line
.long 0x128 # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad fo_o_+8
.byte 0 # end of children of DIE 0x4e
.uleb128 0x5 # (DIE (0xa5) DW_TAG_common_block)
.ascii "foo\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x20 # DW_AT_decl_line
.long .LASF16 # DW_AT_linkage_name: "foo_"
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad foo_
.long 0xfe # DW_AT_sibling
.uleb128 0x6 # (DIE (0xbe) DW_TAG_variable)
.long .LASF1 # DW_AT_name: "ix_x"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x1b # DW_AT_decl_line
.long 0x11a # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad foo_
.uleb128 0x6 # (DIE (0xd3) DW_TAG_variable)
.long .LASF2 # DW_AT_name: "iy_y"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x1c # DW_AT_decl_line
.long 0x121 # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad foo_+4
.uleb128 0x6 # (DIE (0xe8) DW_TAG_variable)
.long .LASF3 # DW_AT_name: "iz_z2"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x1d # DW_AT_decl_line
.long 0x128 # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad foo_+8
.byte 0 # end of children of DIE 0xa5
.uleb128 0x7 # (DIE (0xfe) DW_TAG_variable)
.ascii "iy\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x22 # DW_AT_decl_line
.long 0x11a # DW_AT_type
.uleb128 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -20
.uleb128 0x8 # (DIE (0x10b) DW_TAG_variable)
.long .LASF4 # DW_AT_name: "iz_z"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x23 # DW_AT_decl_line
.long 0x11a # DW_AT_type
.uleb128 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -24
.byte 0 # end of children of DIE 0x2e
.uleb128 0x9 # (DIE (0x11a) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.long .LASF5 # DW_AT_name: "integer(kind=4)"
.uleb128 0x9 # (DIE (0x121) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x4 # DW_AT_encoding
.long .LASF6 # DW_AT_name: "real(kind=4)"
.uleb128 0x9 # (DIE (0x128) DW_TAG_base_type)
.byte 0x8 # DW_AT_byte_size
.byte 0x4 # DW_AT_encoding
.long .LASF7 # DW_AT_name: "real(kind=8)"
.uleb128 0xa # (DIE (0x12f) DW_TAG_subprogram)
.long .LASF17 # DW_AT_name: "common_test"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x2c # DW_AT_decl_line
.quad .LFB1 # DW_AT_low_pc
.quad .LFE1 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_tail_call_sites
# DW_AT_main_subprogram
.byte 0x2 # DW_AT_calling_convention
.long 0x1f9 # DW_AT_sibling
.uleb128 0x3 # (DIE (0x14d) DW_TAG_common_block)
.long .LASF0 # DW_AT_name: "fo_o"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x1f # DW_AT_decl_line
.long .LASF8 # DW_AT_linkage_name: "fo_o_"
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad fo_o_
.long 0x1a6 # DW_AT_sibling
.uleb128 0x6 # (DIE (0x166) DW_TAG_variable)
.long .LASF1 # DW_AT_name: "ix_x"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x32 # DW_AT_decl_line
.long 0x11a # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad fo_o_
.uleb128 0x6 # (DIE (0x17b) DW_TAG_variable)
.long .LASF2 # DW_AT_name: "iy_y"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x33 # DW_AT_decl_line
.long 0x121 # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad fo_o_+4
.uleb128 0x6 # (DIE (0x190) DW_TAG_variable)
.long .LASF4 # DW_AT_name: "iz_z"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x34 # DW_AT_decl_line
.long 0x128 # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad fo_o_+8
.byte 0 # end of children of DIE 0x14d
.uleb128 0xb # (DIE (0x1a6) DW_TAG_common_block)
.ascii "foo\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x20 # DW_AT_decl_line
.long .LASF16 # DW_AT_linkage_name: "foo_"
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad foo_
#if 0
.uleb128 0x4 # (DIE (0x1bb) DW_TAG_variable)
#else
.uleb128 0x10 # (DIE (0x1bb) DW_TAG_variable)
#endif
.ascii "ix\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x2e # DW_AT_decl_line
.long 0x11a # DW_AT_type
# DW_AT_external
#if 0
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad foo_
#else
.uleb128 0x9 # DW_AT_data_member_location
# (size chosen to avoid renumbering all DIEs)
.byte 0x8 # DW_OP_const1u
.byte 0x0
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
.byte 0x96 # DW_OP_nop
#endif
.uleb128 0x4 # (DIE (0x1cf) DW_TAG_variable)
.ascii "iy\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x2f # DW_AT_decl_line
.long 0x121 # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad foo_+4
.uleb128 0x4 # (DIE (0x1e3) DW_TAG_variable)
.ascii "iz\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x30 # DW_AT_decl_line
.long 0x128 # DW_AT_type
# DW_AT_external
.uleb128 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad foo_+8
.byte 0 # end of children of DIE 0x1a6
.byte 0 # end of children of DIE 0x12f
.uleb128 0xc # (DIE (0x1f9) DW_TAG_subprogram)
# DW_AT_external
.long .LASF9 # DW_AT_name: "main"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x43 # DW_AT_decl_line
.long 0x11a # DW_AT_type
.quad .LFB2 # DW_AT_low_pc
.quad .LFE2 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_tail_call_sites
.long 0x238 # DW_AT_sibling
.uleb128 0xd # (DIE (0x21a) DW_TAG_formal_parameter)
.long .LASF10 # DW_AT_name: "argc"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x43 # DW_AT_decl_line
.long 0x238 # DW_AT_type
.uleb128 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -20
.uleb128 0xd # (DIE (0x228) DW_TAG_formal_parameter)
.long .LASF11 # DW_AT_name: "argv"
.byte 0x1 # DW_AT_decl_file (../gdb.fortran/common-block.f90)
.byte 0x43 # DW_AT_decl_line
.long 0x23d # DW_AT_type
.uleb128 0x3 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -32
.byte 0x6 # DW_OP_deref
.byte 0 # end of children of DIE 0x1f9
.uleb128 0xe # (DIE (0x238) DW_TAG_const_type)
.long 0x11a # DW_AT_type
.uleb128 0xf # (DIE (0x23d) DW_TAG_pointer_type)
.byte 0x8 # DW_AT_byte_size
.long 0x243 # DW_AT_type
.uleb128 0x9 # (DIE (0x243) DW_TAG_base_type)
.byte 0x1 # DW_AT_byte_size
.byte 0x8 # DW_AT_encoding
.long .LASF12 # DW_AT_name: "character(kind=1)"
.byte 0 # end of children of DIE 0xb
#if 0
#else
.Ldebuginfo_end:
#endif
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x42 # (DW_AT_identifier_case)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x17 # (DW_FORM_sec_offset)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x6e # (DW_AT_linkage_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2116 # (DW_AT_GNU_all_tail_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0x1a # (TAG: DW_TAG_common_block)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x6e # (DW_AT_linkage_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x4 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x5 # (abbrev code)
.uleb128 0x1a # (TAG: DW_TAG_common_block)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x6e # (DW_AT_linkage_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x6 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x7 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x8 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x9 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.byte 0
.byte 0
.uleb128 0xa # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2116 # (DW_AT_GNU_all_tail_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x6a # (DW_AT_main_subprogram)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x36 # (DW_AT_calling_convention)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xb # (abbrev code)
.uleb128 0x1a # (TAG: DW_TAG_common_block)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x6e # (DW_AT_linkage_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0xc # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2116 # (DW_AT_GNU_all_tail_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xd # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0xe # (abbrev code)
.uleb128 0x26 # (TAG: DW_TAG_const_type)
.byte 0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xf # (abbrev code)
.uleb128 0xf # (TAG: DW_TAG_pointer_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
#if 0
#else
.uleb128 0x10 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x38 # (DW_AT_data_member_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
#endif
.byte 0
.section .debug_aranges,"",@progbits
.long 0x2c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 16 byte boundary
.value 0
.quad .Ltext0 # Address
.quad .Letext0-.Ltext0 # Length
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF0:
.string "fo_o"
.LASF8:
.string "fo_o_"
.LASF3:
.string "iz_z2"
.LASF1:
.string "ix_x"
.LASF9:
.string "main"
.LASF4:
.string "iz_z"
.LASF13:
.string "GNU Fortran 4.6.3 plus hand hackery"
.LASF16:
.string "foo_"
.LASF7:
.string "real(kind=8)"
.LASF5:
.string "integer(kind=4)"
.LASF17:
.string "common_test"
.LASF12:
.string "character(kind=1)"
.LASF14:
.string "../gdb.fortran/common-block.f90"
.LASF10:
.string "argc"
.LASF2:
.string "iy_y"
.LASF11:
.string "argv"
.LASF15:
.string "gdb.dwarf2"
.LASF6:
.string "real(kind=4)"
.ident "GCC: (GNU) 4.6.3 20120306 (Red Hat 4.6.3-2)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 1,082
|
gdb/testsuite/gdb.dwarf2/dw2-dummy-cu.S
|
/* Copyright 2015-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.text
main:
.4byte 0
main_end:
.section .debug_info
.4byte .Ldebug_info_end - 1f /* Length of Compilation Unit Info */
1:
.2byte 0x2 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
/* Nothing else, this is a dummy die. */
.Ldebug_info_end:
.section .debug_abbrev
.Ldebug_abbrev0:
.byte 0x0
|
stsp/binutils-ia16
| 11,227
|
gdb/testsuite/gdb.dwarf2/member-ptr-forwardref.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2010-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* The goal of this test is to provide anonymous DW_TAG_structure_type
containing __pfn + __delta (read in by quirk_gcc_member_function_pointer)
before DW_TAG_structure_type of "class C" to exploit the forward reference
through "__pfn" and back from DW_TAG_member "fp" of "class C". As the
compiler may place the DIEs in arbitrary order they are rather prepared as
a .S file.
class C;
typedef int (C::*fp_t) ();
fp_t fp;
class C
{
int (C::*fp) ();
} c; */
.file "member-ptr-forwardref.cc"
.section .debug_abbrev,"",%progbits
.Ldebug_abbrev0:
.section .debug_info,"",%progbits
.Ldebug_info0:
.section .debug_line,"",%progbits
.Ldebug_line0:
.text
.Ltext0:
.globl fp
.data
.align 4
.type fp, %object
.size fp, 8
fp:
.zero 8
.globl c
.align 4
.type c, %object
.size c, 8
c:
.zero 8
.text
.Letext0:
.file 1 "gdb.dwarf2/member-ptr-forwardref.cc"
.section .debug_info
.4byte 0xa9 /* Length of Compilation Unit Info */
.2byte 0x3 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
.4byte .LASF2 /* DW_AT_producer: "GNU C++ 4.4.2 20091222 (Red Hat 4.4.2-20)" */
.byte 0x4 /* DW_AT_language */
.4byte .LASF3 /* DW_AT_name: "gdb.dwarf2/member-ptr-forwardref.cc" */
.4byte .LASF4 /* DW_AT_comp_dir: "gdb/testsuite" */
.4byte .Ltext0 /* DW_AT_low_pc */
.4byte .Letext0 /* DW_AT_high_pc */
.4byte .Ldebug_line0 /* DW_AT_stmt_list */
.uleb128 0x2 /* (DIE (0x25) DW_TAG_typedef) */
.4byte .LASF5 /* DW_AT_name: "fp_t" */
.byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc) */
.byte 0x13 /* DW_AT_decl_line */
.4byte 0x30 /* DW_AT_type */
.uleb128 0x3 /* (DIE (0x30) DW_TAG_structure_type) */
.byte 0x8 /* DW_AT_byte_size */
.byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc) */
.byte 0x13 /* DW_AT_decl_line */
.4byte 0x51 /* DW_AT_sibling */
.uleb128 0x4 /* (DIE (0x38) DW_TAG_member) */
.4byte .LASF0 /* DW_AT_name: "__pfn" */
.byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc) */
.byte 0x13 /* DW_AT_decl_line */
.4byte 0x85 /* DW_AT_type */
.sleb128 0 /* DW_AT_data_member_location */
.uleb128 0x4 /* (DIE (0x44) DW_TAG_member) */
.4byte .LASF1 /* DW_AT_name: "__delta" */
.byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc) */
.byte 0x13 /* DW_AT_decl_line */
.4byte 0x61 /* DW_AT_type */
.sleb128 4 /* DW_AT_data_member_location */
.byte 0x0 /* end of children of DIE 0x30 */
.uleb128 0x5 /* (DIE (0x51) DW_TAG_subroutine_type) */
.4byte 0x61 /* DW_AT_type */
.4byte 0x61 /* DW_AT_sibling */
.uleb128 0x6 /* (DIE (0x5a) DW_TAG_formal_parameter) */
.4byte 0x68 /* DW_AT_type */
.byte 0x1 /* DW_AT_artificial */
.byte 0x0 /* end of children of DIE 0x51 */
.uleb128 0x7 /* (DIE (0x61) DW_TAG_base_type) */
.byte 0x4 /* DW_AT_byte_size */
.byte 0x5 /* DW_AT_encoding */
.ascii "int\0" /* DW_AT_name */
.uleb128 0x8 /* (DIE (0x68) DW_TAG_pointer_type) */
.byte 0x4 /* DW_AT_byte_size */
.4byte 0x6e /* DW_AT_type */
.uleb128 0x9 /* (DIE (0x6e) DW_TAG_structure_type) */
.ascii "C\0" /* DW_AT_name */
.byte 0x8 /* DW_AT_byte_size */
.byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc) */
.byte 0x16 /* DW_AT_decl_line */
.4byte 0x85 /* DW_AT_sibling */
.uleb128 0xa /* (DIE (0x78) DW_TAG_member) */
.ascii "fp\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc) */
.byte 0x17 /* DW_AT_decl_line */
.4byte 0x30 /* DW_AT_type */
.sleb128 0 /* DW_AT_data_member_location */
.byte 0x3 /* DW_AT_accessibility */
.byte 0x0 /* end of children of DIE 0x6e */
.uleb128 0x8 /* (DIE (0x85) DW_TAG_pointer_type) */
.byte 0x4 /* DW_AT_byte_size */
.4byte 0x51 /* DW_AT_type */
.uleb128 0xb /* (DIE (0x8b) DW_TAG_variable) */
.ascii "fp\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc) */
.byte 0x14 /* DW_AT_decl_line */
.4byte 0x25 /* DW_AT_type */
.byte 0x1 /* DW_AT_external */
.byte 0x5 /* DW_AT_location */
.byte 0x3 /* DW_OP_addr */
.4byte fp
.uleb128 0xb /* (DIE (0x9c) DW_TAG_variable) */
.ascii "c\0" /* DW_AT_name */
.byte 0x1 /* DW_AT_decl_file (gdb.dwarf2/member-ptr-forwardref.cc) */
.byte 0x18 /* DW_AT_decl_line */
.4byte 0x6e /* DW_AT_type */
.byte 0x1 /* DW_AT_external */
.byte 0x5 /* DW_AT_location */
.byte 0x3 /* DW_OP_addr */
.4byte c
.byte 0x0 /* end of children of DIE 0xb */
.section .debug_abbrev
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0xe /* (DW_FORM_strp) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0xe /* (DW_FORM_strp) */
.uleb128 0x1b /* (DW_AT_comp_dir) */
.uleb128 0xe /* (DW_FORM_strp) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x10 /* (DW_AT_stmt_list) */
.uleb128 0x6 /* (DW_FORM_data4) */
.byte 0x0
.byte 0x0
.uleb128 0x2 /* (abbrev code) */
.uleb128 0x16 /* (TAG: DW_TAG_typedef) */
.byte 0x0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0xe /* (DW_FORM_strp) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0x0
.byte 0x0
.uleb128 0x3 /* (abbrev code) */
.uleb128 0x13 /* (TAG: DW_TAG_structure_type) */
.byte 0x1 /* DW_children_yes */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x1 /* (DW_AT_sibling) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0x0
.byte 0x0
.uleb128 0x4 /* (abbrev code) */
.uleb128 0xd /* (TAG: DW_TAG_member) */
.byte 0x0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0xe /* (DW_FORM_strp) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x38 /* (DW_AT_data_member_location) */
.uleb128 0xd /* (DW_FORM_sdata) */
.byte 0x0
.byte 0x0
.uleb128 0x5 /* (abbrev code) */
.uleb128 0x15 /* (TAG: DW_TAG_subroutine_type) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x1 /* (DW_AT_sibling) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0x0
.byte 0x0
.uleb128 0x6 /* (abbrev code) */
.uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
.byte 0x0 /* DW_children_no */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x34 /* (DW_AT_artificial) */
.uleb128 0xc /* (DW_FORM_flag) */
.byte 0x0
.byte 0x0
.uleb128 0x7 /* (abbrev code) */
.uleb128 0x24 /* (TAG: DW_TAG_base_type) */
.byte 0x0 /* DW_children_no */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3e /* (DW_AT_encoding) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.byte 0x0
.byte 0x0
.uleb128 0x8 /* (abbrev code) */
.uleb128 0xf /* (TAG: DW_TAG_pointer_type) */
.byte 0x0 /* DW_children_no */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0x0
.byte 0x0
.uleb128 0x9 /* (abbrev code) */
.uleb128 0x13 /* (TAG: DW_TAG_structure_type) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x1 /* (DW_AT_sibling) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0x0
.byte 0x0
.uleb128 0xa /* (abbrev code) */
.uleb128 0xd /* (TAG: DW_TAG_member) */
.byte 0x0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x38 /* (DW_AT_data_member_location) */
.uleb128 0xd /* (DW_FORM_sdata) */
.uleb128 0x32 /* (DW_AT_accessibility) */
.uleb128 0xb /* (DW_FORM_data1) */
.byte 0x0
.byte 0x0
.uleb128 0xb /* (abbrev code) */
.uleb128 0x34 /* (TAG: DW_TAG_variable) */
.byte 0x0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x2 /* (DW_AT_location) */
.uleb128 0xa /* (DW_FORM_block1) */
.byte 0x0
.byte 0x0
.byte 0x0
.section .debug_pubnames,"",%progbits
.4byte 0x1b /* Length of Public Names Info */
.2byte 0x2 /* DWARF Version */
.4byte .Ldebug_info0 /* Offset of Compilation Unit Info */
.4byte 0xad /* Compilation Unit Length */
.4byte 0x8b /* DIE offset */
.ascii "fp\0" /* external name */
.4byte 0x9c /* DIE offset */
.ascii "c\0" /* external name */
.4byte 0x0
.section .debug_pubtypes,"",%progbits
.4byte 0x1d /* Length of Public Type Names Info */
.2byte 0x2 /* DWARF Version */
.4byte .Ldebug_info0 /* Offset of Compilation Unit Info */
.4byte 0xad /* Compilation Unit Length */
.4byte 0x25 /* DIE offset */
.ascii "fp_t\0" /* external name */
.4byte 0x6e /* DIE offset */
.ascii "C\0" /* external name */
.4byte 0x0
.section .debug_str,"MS",%progbits,1
.LASF5:
.string "fp_t"
.LASF2:
.string "GNU C++ 4.4.2 20091222 (Red Hat 4.4.2-20)"
.LASF0:
.string "__pfn"
.LASF4:
.string "gdb/testsuite"
.LASF3:
.string "gdb.dwarf2/member-ptr-forwardref.cc"
.LASF1:
.string "__delta"
.ident "GCC: (GNU) 4.4.2 20091222 (Red Hat 4.4.2-20)"
.section .note.GNU-stack,"",%progbits
|
stsp/binutils-ia16
| 4,180
|
gdb/testsuite/gdb.dwarf2/dw2-op-stack-value.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2011-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.section .data
aa551234: .byte 0xaa, 0x55, 0x12, 0x34
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 2 /* DW_LANG_C (C) */
.L2byte_type:
.uleb128 2 /* Abbrev: DW_TAG_base_type */
.ascii "2byte\0" /* DW_AT_name */
.byte 2 /* DW_AT_byte_size */
.byte 7 /* DW_AT_encoding: DW_ATE_unsigned */
.L4byte_type:
.uleb128 2 /* Abbrev: DW_TAG_base_type */
.ascii "4byte\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 7 /* DW_AT_encoding: DW_ATE_unsigned */
.L8byte_type:
.uleb128 2 /* Abbrev: DW_TAG_base_type */
.ascii "8byte\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 7 /* DW_AT_encoding: DW_ATE_unsigned */
.uleb128 3 /* Abbrev: DW_TAG_variable */
.ascii "stack2\0" /* DW_AT_name */
.4byte .L2byte_type-.Lcu1_begin /* DW_AT_type */
.byte 2f - 1f /* DW_AT_location */
1: .byte 0x31 /* DW_OP_lit1 */
.byte 0x9f /* DW_OP_stack_value */
2:
.uleb128 3 /* Abbrev: DW_TAG_variable */
.ascii "stack8\0" /* DW_AT_name */
.4byte .L8byte_type-.Lcu1_begin /* DW_AT_type */
.byte 2f - 1f /* DW_AT_location */
1: .byte 0x31 /* DW_OP_lit1 */
.byte 0x9f /* DW_OP_stack_value */
2:
.uleb128 3 /* Abbrev: DW_TAG_variable */
.ascii "implicit4to2\0" /* DW_AT_name */
.4byte .L2byte_type-.Lcu1_begin /* DW_AT_type */
.byte 3f - 1f /* DW_AT_location */
1: .byte 0x9e /* DW_OP_implicit_value */
.uleb128 3f - 2f
2: .byte 0x11, 0x22, 0x33, 0x44
3:
.uleb128 3 /* Abbrev: DW_TAG_variable */
.ascii "implicit4to4\0" /* DW_AT_name */
.4byte .L4byte_type-.Lcu1_begin /* DW_AT_type */
.byte 3f - 1f /* DW_AT_location */
1: .byte 0x9e /* DW_OP_implicit_value */
.uleb128 3f - 2f
2: .byte 0x11, 0x22, 0x33, 0x44
3:
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x2 /* DW_AT_location */
.uleb128 0xa /* DW_FORM_block1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.