Classes inheriting from RegisterContextDarwin_arm, and __APPLE__

The implementation of RegisterContextDarwin_arm is surrounded by
#if defined(APPLE).

Some other files define subclasses, e.g. RegisterContextDarwin_arm_Mach in ObjectFileMachO.cpp, that are built on non-apple machines.

This seems… confusing, and causes me some problems trying to do dynamic linking.
Is there something wrong here, or should I just avoid doing that :slight_smile:

Cheers, Sam