[Lldb-commits] [lldb] r146198 - /lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp
Jason Molenda
jmolenda at apple.com
Thu Dec 8 14:36:41 PST 2011
Author: jmolenda
Date: Thu Dec 8 16:36:41 2011
New Revision: 146198
URL: http://llvm.org/viewvc/llvm-project?rev=146198&view=rev
Log:
Move CPUHasAVX() prototype out of an #ifdef block of code.
Modified:
lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp
Modified: lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp?rev=146198&r1=146197&r2=146198&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp Thu Dec 8 16:36:41 2011
@@ -20,6 +20,8 @@
#include "MachThread.h"
#include "MachProcess.h"
+extern "C" bool CPUHasAVX(); // Defined over in DNBArchImplX86_64.cpp
+
#if defined (LLDB_DEBUGSERVER_RELEASE) || defined (LLDB_DEBUGSERVER_DEBUG)
enum debugState {
debugStateUnknown,
@@ -27,8 +29,6 @@
debugStateOn
};
-extern "C" bool CPUHasAVX(); // Defined over in DNBArchImplX86_64.cpp
-
static debugState sFPUDebugState = debugStateUnknown;
static debugState sAVXForceState = debugStateUnknown;
More information about the lldb-commits
mailing list