mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 11:06:06 +00:00

When llvm-objdump switched from cl:: to OptTable (https://reviews.llvm.org/D100433), we dropped support for LLVM cl:: options. Some LLVM_DEBUG in `llvm/lib/Target/$target/MCDisassembler/` files might be useful. Add -mllvm to allow dumping the information. ``` # -debug is available in an LLVM_ENABLE_ASSERTIONS=on build llvm-objdump -d -mllvm -debug a.o > /dev/null ``` Link: https://discourse.llvm.org/t/how-to-enable-debug-logs-in-llvm-objdump/75758
9 lines
333 B
ArmAsm
9 lines
333 B
ArmAsm
# REQUIRES: x86-registered-target
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t
|
|
# RUN: llvm-objdump --no-print-imm-hex -d -mllvm --x86-asm-syntax=intel %t | FileCheck %s
|
|
# RUN: llvm-objdump --no-print-imm-hex -d -mllvm=--x86-asm-syntax=intel %t | FileCheck %s
|
|
|
|
# CHECK: lea rax, [rsi + 4*rdi + 5]
|
|
|
|
leaq 5(%rsi,%rdi,4), %rax
|