]> git.proxmox.com Git - rustc.git/blob - src/llvm/test/tools/llvm-objdump/X86/out-of-section-sym.test
Imported Upstream version 1.0.0+dfsg1
[rustc.git] / src / llvm / test / tools / llvm-objdump / X86 / out-of-section-sym.test
1 // Check that llvm-objdump does not attempt to disassemble symbols outside
2 // of section boundaries.
3 // RUN: llvm-objdump -d -t %p/Inputs/out-of-section-sym.elf-i386 | FileCheck %s
4
5 CHECK: Disassembly of section .text:
6 CHECK-NEXT: _start:
7 CHECK-NEXT: 10: c3 retl
8 CHECK-NEXT: SYMBOL TABLE:
9 CHECK-NEXT: 00000000 *UND* 00000000
10 CHECK-NEXT: 00000010 l d .text 00000000 .text
11 CHECK-NEXT: 00000010 .text 00000000 _start
12 CHECK-NEXT: 00000020 .text 00000000 _fdata
13 CHECK-NEXT: 00000010 .text 00000000 _ftext