diff options
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp index d3676f075f3..9467801500e 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp @@ -23,9 +23,12 @@ #include "ProcessGDBRemote.h" #include "ProcessGDBRemoteLog.h" #include "Utility/StringExtractorGDBRemote.h" -#include "UnwindMacOSXFrameBackchain.h" #include "UnwindLLDB.h" +#ifdef __APPLE__ +#include "UnwindMacOSXFrameBackchain.h" +#endif + using namespace lldb; using namespace lldb_private; @@ -138,10 +141,12 @@ ThreadGDBRemote::GetUnwinder () { m_unwinder_ap.reset (new UnwindLLDB (*this)); } +#ifdef __APPLE__ else { m_unwinder_ap.reset (new UnwindMacOSXFrameBackchain (*this)); } +#endif } return m_unwinder_ap.get(); } |