From e08ea3a154b9aa3a4268e3d6e1ba02f1a354a70e Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Sun, 3 Sep 2017 19:24:58 +0000 Subject: [PATCH] [Core/Value] Remove dead code that hasn't been touched in years. NFC. llvm-svn: 312453 --- lldb/source/Core/Value.cpp | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/lldb/source/Core/Value.cpp b/lldb/source/Core/Value.cpp index 63385511edb6..3f0f9ea576bf 100644 --- a/lldb/source/Core/Value.cpp +++ b/lldb/source/Core/Value.cpp @@ -379,31 +379,6 @@ Status Value::GetValueAsData(ExecutionContext *exe_ctx, DataExtractor &data, } else address = LLDB_INVALID_ADDRESS; } - // else - // { - // ModuleSP exe_module_sp - // (target->GetExecutableModule()); - // if (exe_module_sp) - // { - // address = - // m_value.ULongLong(LLDB_INVALID_ADDRESS); - // if (address != LLDB_INVALID_ADDRESS) - // { - // if - // (exe_module_sp->ResolveFileAddress(address, - // file_so_addr)) - // { - // data.SetByteOrder(target->GetArchitecture().GetByteOrder()); - // data.SetAddressByteSize(target->GetArchitecture().GetAddressByteSize()); - // address_type = eAddressTypeFile; - // } - // else - // { - // address = LLDB_INVALID_ADDRESS; - // } - // } - // } - // } } else { error.SetErrorString("can't read load address (invalid process)"); }