diff options
Diffstat (limited to 'lldb/source/API/SBAddress.cpp')
-rw-r--r-- | lldb/source/API/SBAddress.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lldb/source/API/SBAddress.cpp b/lldb/source/API/SBAddress.cpp index cad1eb8aada..87139ca4503 100644 --- a/lldb/source/API/SBAddress.cpp +++ b/lldb/source/API/SBAddress.cpp @@ -16,7 +16,6 @@ #include "lldb/Core/Module.h" #include "lldb/Symbol/LineEntry.h" #include "lldb/Target/Target.h" -#include "lldb/Utility/Log.h" #include "lldb/Utility/StreamString.h" using namespace lldb; @@ -111,8 +110,6 @@ lldb::addr_t SBAddress::GetLoadAddress(const SBTarget &target) const { LLDB_RECORD_METHOD_CONST(lldb::addr_t, SBAddress, GetLoadAddress, (const lldb::SBTarget &), target); - Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_API)); - lldb::addr_t addr = LLDB_INVALID_ADDRESS; TargetSP target_sp(target.GetSP()); if (target_sp) { @@ -122,16 +119,6 @@ lldb::addr_t SBAddress::GetLoadAddress(const SBTarget &target) const { } } - if (log) { - if (addr == LLDB_INVALID_ADDRESS) - log->Printf( - "SBAddress::GetLoadAddress (SBTarget(%p)) => LLDB_INVALID_ADDRESS", - static_cast<void *>(target_sp.get())); - else - log->Printf("SBAddress::GetLoadAddress (SBTarget(%p)) => 0x%" PRIx64, - static_cast<void *>(target_sp.get()), addr); - } - return addr; } |