• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## Check that --disassemble-symbols implies --disassemble.
2# RUN: yaml2obj %s | llvm-objdump - --disassemble-symbols=main | FileCheck %s
3
4--- !ELF
5FileHeader:
6  Class:   ELFCLASS64
7  Data:    ELFDATA2LSB
8  Type:    ET_REL
9  Machine: EM_X86_64
10Sections:
11  - Name:    .text
12    Type:    SHT_PROGBITS
13    Flags:   [ SHF_EXECINSTR ]
14    Content: 90
15Symbols:
16  - Name:    main
17    Type:    STT_FUNC
18    Section: .text
19...
20
21# CHECK: 0000000000000000 <main>:
22# CHECK-NEXT:        0: 90                            nop
23