Change DataExtractor::Dump() to use a series of if..else if
authorJason Molenda <jmolenda@apple.com>
Thu, 1 Nov 2012 23:35:19 +0000 (23:35 +0000)
committerJason Molenda <jmolenda@apple.com>
Thu, 1 Nov 2012 23:35:19 +0000 (23:35 +0000)
commitcc57a383258d1f1d5ed7308268a0eda4d49aba61
treee51846965e7e1a1e7777eb70c75cf7dc2ac5eb20
parent2508b9b8d3e291c3dd6414547c68ec2bdf35428f
Change DataExtractor::Dump() to use a series of if..else if
statements instead of a switch for the size of the floating
point types; some architectures sizeof double and sizeof long
double are the same and that's invalid in a switch.

Fix the LLDB_DISABLE_PYTHON ifdef block in FormatManager::LoadObjCFormatters
so it builds on arm again.

llvm-svn: 167263
lldb/source/Core/DataExtractor.cpp
lldb/source/Core/FormatManager.cpp