mirror of
https://github.com/intel/llvm.git
synced 2026-01-23 07:58:23 +08:00
Merged Eli Friedman's linux build changes where he added Makefile files that
enabled LLVM make style building and made this compile LLDB on Mac OS X. We can now iterate on this to make the build work on both linux and macosx. llvm-svn: 108009
This commit is contained in:
@@ -616,7 +616,7 @@ Value::GetValueAsData (ExecutionContext *exe_ctx, clang::ASTContext *ast_context
|
||||
data.SetData(data_sp);
|
||||
}
|
||||
|
||||
uint8_t* dst = (uint8_t*)data.PeekData (data_offset, byte_size);
|
||||
uint8_t* dst = const_cast<uint8_t*>(data.PeekData (data_offset, byte_size));
|
||||
if (dst != NULL)
|
||||
{
|
||||
if (address_type == eAddressTypeHost)
|
||||
@@ -677,6 +677,10 @@ Value::ResolveValue(ExecutionContext *exe_ctx, clang::ASTContext *ast_context)
|
||||
case eValueTypeScalar: // raw scalar value
|
||||
break;
|
||||
|
||||
case eContextTypeValue:
|
||||
m_value.Clear(); // TODO: Sean, fill this in
|
||||
break;
|
||||
|
||||
default:
|
||||
case eValueTypeFileAddress:
|
||||
m_value.Clear();
|
||||
@@ -757,6 +761,7 @@ Value::GetContextTypeAsCString (ContextType context_type)
|
||||
case eContextTypeDCRegisterInfo: return "RegisterInfo *";
|
||||
case eContextTypeDCType: return "Type *";
|
||||
case eContextTypeDCVariable: return "Variable *";
|
||||
case eContextTypeValue: return "Value"; // TODO: Sean, more description here?
|
||||
};
|
||||
return "???";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user