summaryrefslogtreecommitdiffstats
path: root/lldb/source/Symbol/ObjectFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Symbol/ObjectFile.cpp')
-rw-r--r--lldb/source/Symbol/ObjectFile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Symbol/ObjectFile.cpp b/lldb/source/Symbol/ObjectFile.cpp
index 458420893ae..a2568a3bbf4 100644
--- a/lldb/source/Symbol/ObjectFile.cpp
+++ b/lldb/source/Symbol/ObjectFile.cpp
@@ -61,8 +61,8 @@ ObjectFile::FindPlugin (Module* module, const FileSpec* file, lldb::addr_t file_
// No need to delegate further if (file_offset, file_size) exceeds the total file size.
// This is the base case.
- if (file_offset + file_size > file->GetByteSize())
- return NULL;
+// if (file_offset + file_size > file->GetByteSize())
+// return NULL;
DataBufferSP file_header_data_sp(file->ReadFileContents(file_offset, 512));
uint32_t idx;
OpenPOWER on IntegriCloud