[PATCH] D60927: [WIP][llvm-objdump] Switch between ARM/Thumb based on mapping symbols.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 22 18:54:55 PDT 2019
MaskRay marked an inline comment as done.
MaskRay added inline comments.
================
Comment at: tools/llvm-objdump/llvm-objdump.cpp:576
+static bool isArm32Elf(const ObjectFile *Obj) {
+ return (Obj->isELF() &&
----------------
efriedma wrote:
> MaskRay wrote:
> > Since you are adding `isArm32Elf`, can you add `isArm64Elf` and delete `isArmElf` if that orthogonal property is desired?
> In some places the property we want is "can this object file have mapping symbols", which is currently equivalent to isArmElf. I guess I can add a separate helper for that, and make it check "isArmElf32 || isArmElf64"?
SG
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60927/new/
https://reviews.llvm.org/D60927
More information about the llvm-commits
mailing list