[all-commits] [llvm/llvm-project] c00fc1: [llvm-readobj] Recognize N_THUMB_DEF as a symbol flag

Jez Ng via All-commits all-commits at lists.llvm.org
Fri Apr 30 14:41:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c00fc180ecdac4b13caddd1ba506ffa3f6e7e206
      https://github.com/llvm/llvm-project/commit/c00fc180ecdac4b13caddd1ba506ffa3f6e7e206
  Author: Jez Ng <jezng at fb.com>
  Date:   2021-04-30 (Fri, 30 Apr 2021)

  Changed paths:
    M lld/test/MachO/symtab.s
    M llvm/test/MC/MachO/ARM/darwin-Thumb-reloc.s
    M llvm/test/tools/llvm-objcopy/MachO/symbol-table.test
    A llvm/test/tools/llvm-readobj/MachO/flags.yaml
    M llvm/tools/llvm-readobj/MachODumper.cpp

  Log Message:
  -----------
  [llvm-readobj] Recognize N_THUMB_DEF as a symbol flag

The right symbol flag mask is ~0x7, not ~0xf.

Also emit string names for the other flags (we were missing some).

Reviewed By: #lld-macho, gkm

Differential Revision: https://reviews.llvm.org/D101548




More information about the All-commits mailing list