You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
510 B
23 lines
510 B
## 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
|