diff options
author | Greg Clayton <gclayton@apple.com> | 2015-08-11 22:53:00 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2015-08-11 22:53:00 +0000 |
commit | a1e5dc86a6306b91caf1bd4c5ed7ca1113405111 (patch) | |
tree | 6104ff1effe325c412ba70449db68df49298a32a /lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp | |
parent | c49e4fe9ccff7587a271d5c17ecad130d2dea201 (diff) | |
download | bcm5719-llvm-a1e5dc86a6306b91caf1bd4c5ed7ca1113405111.tar.gz bcm5719-llvm-a1e5dc86a6306b91caf1bd4c5ed7ca1113405111.zip |
ClangASTType is now CompilerType.
This is more preparation for multiple different kinds of types from different compilers (clang, Pascal, Go, RenderScript, Swift, etc).
llvm-svn: 244689
Diffstat (limited to 'lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp')
-rw-r--r-- | lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp index 46e76663c47..78511e0777e 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp @@ -216,7 +216,7 @@ AppleGetThreadItemInfoHandler::SetupGetThreadItemInfoFunction (Thread &thread, V if (!m_get_thread_item_info_function.get()) { ClangASTContext *clang_ast_context = thread.GetProcess()->GetTarget().GetScratchClangASTContext(); - ClangASTType get_thread_item_info_return_type = clang_ast_context->GetBasicType(eBasicTypeVoid).GetPointerType(); + CompilerType get_thread_item_info_return_type = clang_ast_context->GetBasicType(eBasicTypeVoid).GetPointerType(); m_get_thread_item_info_function.reset(new ClangFunction (thread, get_thread_item_info_return_type, impl_code_address, @@ -298,17 +298,17 @@ AppleGetThreadItemInfoHandler::GetThreadItemInfo (Thread &thread, tid_t thread_i // Where the return_buffer argument points to a 24 byte region of memory already allocated by lldb in // the inferior process. - ClangASTType clang_void_ptr_type = clang_ast_context->GetBasicType(eBasicTypeVoid).GetPointerType(); + CompilerType clang_void_ptr_type = clang_ast_context->GetBasicType(eBasicTypeVoid).GetPointerType(); Value return_buffer_ptr_value; return_buffer_ptr_value.SetValueType (Value::eValueTypeScalar); return_buffer_ptr_value.SetClangType (clang_void_ptr_type); - ClangASTType clang_int_type = clang_ast_context->GetBasicType(eBasicTypeInt); + CompilerType clang_int_type = clang_ast_context->GetBasicType(eBasicTypeInt); Value debug_value; debug_value.SetValueType (Value::eValueTypeScalar); debug_value.SetClangType (clang_int_type); - ClangASTType clang_uint64_type = clang_ast_context->GetBasicType(eBasicTypeUnsignedLongLong); + CompilerType clang_uint64_type = clang_ast_context->GetBasicType(eBasicTypeUnsignedLongLong); Value thread_id_value; thread_id_value.SetValueType (Value::eValueTypeScalar); thread_id_value.SetClangType (clang_uint64_type); |