[all-commits] [llvm/llvm-project] cc38b2: [llvm-readobj] Display Mach-O CPU capability bits ...

Tianyi Chen via All-commits all-commits at lists.llvm.org
Wed Sep 9 03:10:51 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc38b29781cbc0a2b525a18833adf61c51375af2
      https://github.com/llvm/llvm-project/commit/cc38b29781cbc0a2b525a18833adf61c51375af2
  Author: Tianyi Chen <diannaaav at gmail.com>
  Date:   2026-09-09 (Wed, 09 Sep 2026)

  Changed paths:
    M clang/test/Misc/cc1as-darwin-target-variant-sdk-version.s
    M clang/test/Misc/cc1as-darwin-target-variant-triple.s
    M llvm/test/MC/MachO/diff-with-two-sections.s
    M llvm/test/MC/MachO/weakdef.s
    M llvm/test/MC/MachO/zero-space.s
    A llvm/test/tools/llvm-readobj/MachO/cpu-capabilities.yaml
    M llvm/test/tools/llvm-readobj/MachO/file-headers-arm64.test
    M llvm/test/tools/llvm-readobj/MachO/file-headers.test
    M llvm/tools/llvm-readobj/MachODumper.cpp

  Log Message:
  -----------
  [llvm-readobj] Display Mach-O CPU capability bits (#221617)

The Mach-O file header output masks the capability bits out of
`cpusubtype`
without printing them separately, so this information is missing from
the
output.

Add a `CpuCapabilities` field to print the high byte in hexadecimal,
matching the numeric representation used by `llvm-objdump`.

Fixes #80198.

Assisted-by: OpenAI Codex (implementation, tests, and initial
description).



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