diff options
| author | Jim Ingham <jingham@apple.com> | 2011-03-17 20:02:56 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2011-03-17 20:02:56 +0000 |
| commit | 35944dda103ed588b68970c24bcd79b26d1b2dfd (patch) | |
| tree | c45007d41cf32a9a67b0281fed172e719aee0be8 /lldb/source/Plugins/LanguageRuntime | |
| parent | ec54bd755f4efbc647265a60eea6693cfd01d487 (diff) | |
| download | bcm5719-llvm-35944dda103ed588b68970c24bcd79b26d1b2dfd.tar.gz bcm5719-llvm-35944dda103ed588b68970c24bcd79b26d1b2dfd.zip | |
Get ObjC stepping working again when the process is not the default host architecture.
llvm-svn: 127825
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime')
| -rw-r--r-- | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp | 2 | ||||
| -rw-r--r-- | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp index 75eb468799c..8966ec0a82a 100644 --- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp +++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp @@ -111,7 +111,7 @@ AppleObjCRuntime::GetObjectDescription (Stream &str, Value &value, ExecutionCont ret.SetContext(Value::eContextTypeClangType, return_qualtype); // Now we're ready to call the function: - ClangFunction func (exe_ctx.GetBestExecutionContextScope(), + ClangFunction func (*exe_ctx.GetBestExecutionContextScope(), ast_context, return_qualtype, *function_address, diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp index 93a9b8dc7b4..ba42a5de248 100644 --- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp +++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp @@ -819,7 +819,7 @@ AppleObjCTrampolineHandler::GetStepThroughDispatchPlan (Thread &thread, bool sto // Next make the runner function for our implementation utility function. if (!m_impl_function.get()) { - m_impl_function.reset(new ClangFunction (&thread, + m_impl_function.reset(new ClangFunction (thread, clang_ast_context, clang_void_ptr_type, impl_code_address, |

