Eventually we'll use this flag to properly handle bl/blx
opcodes.
Details
Details
- Reviewers
gkm - Group Reviewers
Restricted Project - Commits
- rG05c5363b3998: [lld-macho] Parse & emit the N_ARM_THUMB_DEF symbol flag
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM ... except for the jarring introduction of an arch-specific bit into arch-independent code. Yet, N_ARM_THUMB_DEF already exists as an arch-dependent bit among the otherwise arch-independent symbol table flags, so I see no way around it.
lld/MachO/Driver.cpp | ||
---|---|---|
521–522 | Super nit. |
Comment Actions
LGTM ... except for the jarring introduction of an arch-specific bit into arch-independent code. Yet, N_ARM_THUMB_DEF already exists as an arch-dependent bit among the otherwise arch-independent symbol table flags, so I see no way around it.
Yup, I feel the same way, but the ABI is what it is.
lld/MachO/Driver.cpp | ||
---|---|---|
521–522 | this isn't up to me, it's clang-format :p |
Super nit.