From 9ebe30b265318b37657551f7ba9b080389e29be3 Mon Sep 17 00:00:00 2001 From: Oleksiy Vyalov Date: Thu, 3 Dec 2015 19:41:21 +0000 Subject: [PATCH] Fix in-memory section loading for JIT-ed code. http://reviews.llvm.org/D15172 llvm-svn: 254638 --- lldb/source/Symbol/ObjectFile.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/source/Symbol/ObjectFile.cpp b/lldb/source/Symbol/ObjectFile.cpp index 1b4363da8016..a07914106b2b 100644 --- a/lldb/source/Symbol/ObjectFile.cpp +++ b/lldb/source/Symbol/ObjectFile.cpp @@ -537,6 +537,7 @@ ObjectFile::ReadSectionData (const Section *section, DataExtractor& section_data } } } + return GetData(section->GetFileOffset(), section->GetFileSize(), section_data); } else {