1 ## Show which labels are printed in disassembly of an executable.
3 # RUN: yaml2obj %s -o %t
4 # RUN: llvm-objdump %t -d | FileCheck %s --implicit-check-not=stt_section \
5 # RUN: --implicit-check-not=fourth \
6 # RUN: --implicit-check-not=absolute \
7 # RUN: --implicit-check-not=other
9 # Match this line so the implicit check-nots don't match the path.
10 # CHECK: {{^.*}}file format elf64-x86-64
12 # CHECK: 0000000000004000 <first>:
13 # CHECK: 0000000000004001 <second>:
14 # CHECK: 0000000000004002 <third>:
26 Flags: [SHF_ALLOC, SHF_EXECINSTR]
31 Flags: [SHF_ALLOC, SHF_EXECINSTR]
34 - Name: first # Shows, with second, that symbol sizes are not used to delineate functions.
42 - Name: third # Shows, with fourth, that first symbol is picked.
48 - Name: stt_section # Shows that STT_SECTION symbols are ignored even if no other symbol present.
52 - Name: absolute # Show that absolute symbols are ignored.
55 - Name: other # Show that symbols from other sections are ignored.