Author: xiaobai Date: Fri May 31 13:17:21 2019 New Revision: 362259 URL: http://llvm.org/viewvc/llvm-project?rev=362259&view=rev Log: [Target] Remove ABI's dependence on ExpressionParser
Modified: lldb/trunk/source/Target/ABI.cpp Modified: lldb/trunk/source/Target/ABI.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/ABI.cpp?rev=362259&r1=362258&r2=362259&view=diff ============================================================================== --- lldb/trunk/source/Target/ABI.cpp (original) +++ lldb/trunk/source/Target/ABI.cpp Fri May 31 13:17:21 2019 @@ -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( 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; } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits