forked from OSchip/llvm-project
[Target] Remove ABI's dependence on ExpressionParser
llvm-svn: 362259
This commit is contained in:
parent
c16ab9dd88
commit
4dc0acc915
|
@ -7,10 +7,10 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lldb/Target/ABI.h"
|
||||
#include "Plugins/ExpressionParser/Clang/ClangPersistentVariables.h"
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/Value.h"
|
||||
#include "lldb/Core/ValueObjectConstResult.h"
|
||||
#include "lldb/Expression/ExpressionVariable.h"
|
||||
#include "lldb/Symbol/CompilerType.h"
|
||||
#include "lldb/Symbol/TypeSystem.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
|
@ -142,16 +142,16 @@ ValueObjectSP ABI::GetReturnValueObject(Thread &thread, CompilerType &ast_type,
|
|||
case Value::eValueTypeScalar:
|
||||
case Value::eValueTypeVector:
|
||||
clang_expr_variable_sp->m_flags |=
|
||||
ClangExpressionVariable::EVIsFreezeDried;
|
||||
ExpressionVariable::EVIsFreezeDried;
|
||||
clang_expr_variable_sp->m_flags |=
|
||||
ClangExpressionVariable::EVIsLLDBAllocated;
|
||||
ExpressionVariable::EVIsLLDBAllocated;
|
||||
clang_expr_variable_sp->m_flags |=
|
||||
ClangExpressionVariable::EVNeedsAllocation;
|
||||
ExpressionVariable::EVNeedsAllocation;
|
||||
break;
|
||||
case Value::eValueTypeLoadAddress:
|
||||
clang_expr_variable_sp->m_live_sp = live_valobj_sp;
|
||||
clang_expr_variable_sp->m_flags |=
|
||||
ClangExpressionVariable::EVIsProgramReference;
|
||||
ExpressionVariable::EVIsProgramReference;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue