diff options
Diffstat (limited to 'lldb/source/Expression/IRForTarget.cpp')
-rw-r--r-- | lldb/source/Expression/IRForTarget.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lldb/source/Expression/IRForTarget.cpp b/lldb/source/Expression/IRForTarget.cpp index 14cb237f5a6..5e117268622 100644 --- a/lldb/source/Expression/IRForTarget.cpp +++ b/lldb/source/Expression/IRForTarget.cpp @@ -687,27 +687,6 @@ IRForTarget::CreateResultVariable (llvm::Function &llvm_function) return true; } -static void DebugUsers(lldb_private::Log *log, Value *value, uint8_t depth) -{ - if (!depth) - return; - - depth--; - - if (log) - log->Printf(" <Begin %d users>", value->getNumUses()); - - for (llvm::User *u : value->users()) - { - if (log) - log->Printf(" <Use %p> %s", u, PrintValue(u).c_str()); - DebugUsers(log, u, depth); - } - - if (log) - log->Printf(" <End uses>"); -} - bool IRForTarget::RewriteObjCConstString (llvm::GlobalVariable *ns_str, llvm::GlobalVariable *cstr) |