mstorsjo added a comment. In D70796#1762491 <https://reviews.llvm.org/D70796#1762491>, @labath wrote:
> Seems reasonable. Just out of curiosity, is this restriction enforced in some > way? E.g., if I manually do a `bx` to an arm address, will the system kill me? No, such simple cases do work (or at least they used to), but the linker doesn't really have any means to e.g. set the x bit in bl/blx instructions properly. And allegedly, in earlier versions, the kernel didn't switch modes correctly when entering the kernel, so entering the kernel from arm code, would try to execute the kernel's code in arm mode, effectively crashing the system (https://reviews.llvm.org/D43005#1018582 for reference). I think that aspect is fixed these days, but it's pretty much unsupported on most levels where the interworking requires some support from the tools or frameworks. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D70796/new/ https://reviews.llvm.org/D70796 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits