blob: f70dce6a8ed81e46e520680e3b97c08d7ebdf6d7 [file] [log] [blame]
Simon Atanasyan2b614e12014-02-24 22:12:11 +00001// 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
5CHECK: Disassembly of section .text:
6CHECK-NEXT: _start:
7CHECK-NEXT: 10: c3 retl
8CHECK-NEXT: SYMBOL TABLE:
9CHECK-NEXT: 00000000 *UND* 00000000
10CHECK-NEXT: 00000010 l d .text 00000000 .text
11CHECK-NEXT: 00000010 .text 00000000 _start
12CHECK-NEXT: 00000020 .text 00000000 _fdata
13CHECK-NEXT: 00000010 .text 00000000 _ftext