[all-commits] [llvm/llvm-project] 2c5dca: llvm-objdump: Support --disassemble= option.

Peter Collingbourne via All-commits all-commits at lists.llvm.org
Fri May 29 10:31:17 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c5dca550ae7b86f213aa56a0c92c53a69257968
      https://github.com/llvm/llvm-project/commit/2c5dca550ae7b86f213aa56a0c92c53a69257968
  Author: Peter Collingbourne <pcc at google.com>
  Date:   2026-05-29 (Fri, 29 May 2026)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-objdump.rst
    M llvm/test/tools/llvm-objdump/X86/disassemble-functions.test
    M llvm/tools/llvm-objdump/ObjdumpOpts.td
    M llvm/tools/llvm-objdump/llvm-objdump.cpp

  Log Message:
  -----------
  llvm-objdump: Support --disassemble= option.

This is compatible with GNU, as well as being shorter and allowing users
to specify symbol names with commas in them.

Note that this is distinct from the existing --disassemble which has
existed for a long time and disassembles all symbols. This change adds
a near-alias for the existing LLVM-specific --disassemble-symbols=.

Reviewers: jh7370, MaskRay

Pull Request: https://github.com/llvm/llvm-project/pull/196594



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list