brintos

brintos / llvm-project-archived public Read only

0
0
Text · 644 B · 9f5e3bc Raw
18 lines · plain
1// Check that llvm-objdump does not attempt to disassemble symbols outside2// of section boundaries.3// RUN: llvm-objdump -d -t %p/Inputs/out-of-section-sym.elf-i386 >%t04// RUN: llvm-objdump -dt %p/Inputs/out-of-section-sym.elf-i386 >%t15// RUN: cmp %t0 %t16// RUN: FileCheck --input-file %t0 %s7 8CHECK: SYMBOL TABLE:9CHECK-NEXT: 00000010 l    d  .text  00000000 .text10CHECK-NEXT: 00000010 l       .text  00000000 _start11CHECK-NEXT: 00000020 g       .text  00000000 _fdata12CHECK-NEXT: 00000010 g       .text  00000000 _ftext13CHECK-EMPTY:14CHECK-NEXT: Disassembly of section .text:15CHECK-EMPTY:16CHECK-NEXT: <_start>:17CHECK-NEXT:   10:  c3  retl18