Fix in-memory section loading for JIT-ed code.

http://reviews.llvm.org/D15172

llvm-svn: 254638
This commit is contained in:
Oleksiy Vyalov 2015-12-03 19:41:21 +00:00
parent f2d119ff8e
commit 9ebe30b265
1 changed files with 1 additions and 0 deletions

View File

@ -537,6 +537,7 @@ ObjectFile::ReadSectionData (const Section *section, DataExtractor& section_data
}
}
}
return GetData(section->GetFileOffset(), section->GetFileSize(), section_data);
}
else
{