diff options
author | Greg Clayton <gclayton@apple.com> | 2011-02-05 06:35:06 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-02-05 06:35:06 +0000 |
commit | 4c2c0fcb9f01d0d1bc8cfed91de68c34e1d784d5 (patch) | |
tree | 5269336f0b893db008ee3fb9a8a1e6016c31f3f7 /lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp | |
parent | dd03d8ddaa18f9b197dc52c20894e34dae0a2462 (diff) | |
download | bcm5719-llvm-4c2c0fcb9f01d0d1bc8cfed91de68c34e1d784d5.tar.gz bcm5719-llvm-4c2c0fcb9f01d0d1bc8cfed91de68c34e1d784d5.zip |
Apple specific change from Kirk Beitz.
llvm-svn: 124941
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(); } |