| ## Show which labels are printed in disassembly of a relocatable object. |
| # RUN: llvm-objdump %t -d | FileCheck %s --implicit-check-not=stt_section \ |
| # RUN: --implicit-check-not=first \ |
| # RUN: --implicit-check-not=second \ |
| # RUN: --implicit-check-not=third \ |
| # RUN: --implicit-check-not=fourth \ |
| # RUN: --implicit-check-not=absolute \ |
| # RUN: --implicit-check-not=other |
| # CHECK: Disassembly of section .text: |
| # CHECK: 0000000000000000 first: |
| # CHECK: 0000000000000001 second: |
| # CHECK: 0000000000000002 third: |
| # CHECK: Disassembly of section .text2: |
| # CHECK: 0000000000000004 other: |
| Flags: [SHF_ALLOC, SHF_EXECINSTR] |
| Flags: [SHF_ALLOC, SHF_EXECINSTR] |
| - Name: second # Shows, with first, that symbol sizes are not used to delineate functions. |
| - Name: third # Shows, with fourth, that first symbol is picked. |
| - Name: stt_section # Shows that STT_SECTION symbols are ignored even if no other symbol present. |
| - Name: absolute # Show that absolute symbols are ignored. |
| - Name: other # Show that symbols in other sections are ignored. |