llvm-for-llvmta/test/tools/llvm-objdump/X86/disassemble-implied-by-disa...

23 lines
510 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
## Check that --disassemble-symbols implies --disassemble.
# RUN: yaml2obj %s | llvm-objdump - --disassemble-symbols=main | FileCheck %s
--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_X86_64
Sections:
- Name: .text
Type: SHT_PROGBITS
Flags: [ SHF_EXECINSTR ]
Content: 90
Symbols:
- Name: main
Type: STT_FUNC
Section: .text
...
# CHECK: 0000000000000000 <main>:
# CHECK-NEXT: 0: 90 nop