diff options
author | Sean Callanan <scallanan@apple.com> | 2010-10-26 00:31:56 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2010-10-26 00:31:56 +0000 |
commit | be3a1b14dc45898aca1b9a85a86849614e82aa87 (patch) | |
tree | bb5c1350bbeea06c13d921b7f75486c21b970f4c /lldb/source/Expression/IRForTarget.cpp | |
parent | 40d871fa245b288b7933c03df4c3605a418827a9 (diff) | |
download | bcm5719-llvm-be3a1b14dc45898aca1b9a85a86849614e82aa87.tar.gz bcm5719-llvm-be3a1b14dc45898aca1b9a85a86849614e82aa87.zip |
Fixed a problem where function calls on i386 weren't
being generated correctly.
Also added a messy way to single-step through expressions
that I will improve soon.
llvm-svn: 117342
Diffstat (limited to 'lldb/source/Expression/IRForTarget.cpp')
-rw-r--r-- | lldb/source/Expression/IRForTarget.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Expression/IRForTarget.cpp b/lldb/source/Expression/IRForTarget.cpp index 5b189492b85..fbb2eda0240 100644 --- a/lldb/source/Expression/IRForTarget.cpp +++ b/lldb/source/Expression/IRForTarget.cpp @@ -335,6 +335,9 @@ IRForTarget::RewriteObjCSelector(Instruction* selector_load, if (!m_decl_map->GetFunctionAddress (g_sel_registerName_str, srN_addr)) return false; + if (log) + log->Printf("Found sel_registerName at 0x%llx", srN_addr); + // Build the function type: struct objc_selector *sel_registerName(uint8_t*) // The below code would be "more correct," but in actuality what's required is uint8_t* |