1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-objdump %t -d --symbolize-operands -M intel --no-show-raw-insn --no-leading-addr | \
3 # RUN: FileCheck %s --match-full-lines --check-prefix=INTEL
4 # RUN: llvm-objdump %t -d --symbolize-operands -M att --no-show-raw-insn --no-leading-addr | \
5 # RUN: FileCheck %s --match-full-lines --check-prefix=ATT
7 ## Expect to find the branch labels and global variable name.
11 # ATT-NEXT: cmpl , %eax <symbol>
18 # INTEL-NEXT: push rax
20 # INTEL-NEXT: cmp eax, dword ptr <symbol>
21 # INTEL-NEXT: jge <L0>
22 # INTEL-NEXT: jmp <L1>
36 Flags: [SHF_ALLOC, SHF_EXECINSTR]
37 Content: '503b05051000007d02ebf6c3'
40 Flags: [SHF_ALLOC, SHF_WRITE]