The right symbol flag mask is ~0x7, not ~0xf.
Also emit string names for the other flags (we were missing some).
Paths
| Differential D101548
[llvm-readobj] Recognize N_THUMB_DEF as a symbol flag ClosedPublic Authored by int3 on Apr 29 2021, 10:09 AM.
Details
Summary The right symbol flag mask is ~0x7, not ~0xf. Also emit string names for the other flags (we were missing some).
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 30 2021, 9:16 AM This revision was landed with ongoing or failed builds.Apr 30 2021, 2:40 PM Closed by commit rGc00fc180ecda: [llvm-readobj] Recognize N_THUMB_DEF as a symbol flag (authored by int3). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 342046 lld/test/MachO/symtab.s
llvm/test/MC/MachO/ARM/darwin-Thumb-reloc.s
llvm/test/tools/llvm-objcopy/MachO/symbol-table.test
llvm/test/tools/llvm-readobj/MachO/flags.yaml
llvm/tools/llvm-readobj/MachODumper.cpp
|