1 # Check that debug info line number pointing beyond the end of the file
2 # doesn't cause a segmentation fault in llvm-objdump.
4 # To rebuild the input: clang -g debug-info-fileinfo.S -o debug-info-fileinfo.exe -nostdlib
6 # RUN: llvm-objdump -S %p/Inputs/debug-info-fileinfo.exe.elf-x86_64 | FileCheck %s
8 # CHECK: Disassembly of section .text:
10 # CHECK-NEXT: 400078: c3 retq
12 # CHECK-NEXT: 400079: 90 nop
13 # CHECK-NEXT: 40007a: 90 nop
14 # CHECK-NEXT: 40007b: c3 retq
18 .global _start; .type _start, STT_FUNC; _start:
21 .global foo; .type foo, STT_FUNC; foo: