[lldb-dev] Classes inheriting from RegisterContextDarwin_arm, and __APPLE__

Sam McCall via lldb-dev lldb-dev at lists.llvm.org
Tue Nov 29 09:18:59 PST 2016


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 :-)

Cheers, Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20161129/862c5a4e/attachment.html>


More information about the lldb-dev mailing list