Fixed build warnings.
authorGreg Clayton <gclayton@apple.com>
Tue, 30 Oct 2012 23:56:14 +0000 (23:56 +0000)
committerGreg Clayton <gclayton@apple.com>
Tue, 30 Oct 2012 23:56:14 +0000 (23:56 +0000)
llvm-svn: 167065

lldb/source/Core/Value.cpp
lldb/source/Target/ABI.cpp
lldb/source/Target/Target.cpp

index 8fc7f7c..4e31a7b 100644 (file)
@@ -662,6 +662,7 @@ Value::GetValueTypeAsCString (ValueType value_type)
     switch (value_type)
     {
     case eValueTypeScalar:      return "scalar";
+    case eValueTypeVector:      return "vector";
     case eValueTypeFileAddress: return "file address";
     case eValueTypeLoadAddress: return "load address";
     case eValueTypeHostAddress: return "host address";
index 069a132..0621522 100644 (file)
@@ -156,6 +156,7 @@ ABI::GetReturnValueObject (Thread &thread,
             // we don't do anything with these for now
             break;
         case Value::eValueTypeScalar:
+        case Value::eValueTypeVector:
             clang_expr_variable_sp->m_flags |= ClangExpressionVariable::EVIsFreezeDried;
             clang_expr_variable_sp->m_flags |= ClangExpressionVariable::EVIsLLDBAllocated;
             clang_expr_variable_sp->m_flags |= ClangExpressionVariable::EVNeedsAllocation;
index 33d0ffd..fa9fb54 100644 (file)
@@ -1711,6 +1711,7 @@ Target::EvaluateExpression
             // we don't do anything with these for now
             break;
         case Value::eValueTypeScalar:
+        case Value::eValueTypeVector:
             clang_expr_variable_sp->m_flags |= ClangExpressionVariable::EVIsLLDBAllocated;
             clang_expr_variable_sp->m_flags |= ClangExpressionVariable::EVNeedsAllocation;
             break;