This adds support for the arm64_32 watchOS ABI to LLVM's low level tools, teaching them about the specific MachO choices and constants needed to disassemble things sensibly.
It might be good to add arm64_32 tests to llvm/unittests/Support/TargetParserTest.cpp
It might be good to add arm64_32 tests to llvm/unittests/ADT/TripleTest.cpp
Added unittests in suggested places.
LGTM. I've also added a few other reviewers, in case they have additional thoughts.
Could we check for this in one of the tests?
Thanks Florian, I've committed it as r360663, with the extra tests you suggested.