[Lldb-commits] [lldb] r254638 - Fix in-memory section loading for JIT-ed code.

Oleksiy Vyalov via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 3 11:41:21 PST 2015


Author: ovyalov
Date: Thu Dec  3 13:41:21 2015
New Revision: 254638

URL: http://llvm.org/viewvc/llvm-project?rev=254638&view=rev
Log:
Fix in-memory section loading for JIT-ed code.

http://reviews.llvm.org/D15172


Modified:
    lldb/trunk/source/Symbol/ObjectFile.cpp

Modified: lldb/trunk/source/Symbol/ObjectFile.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ObjectFile.cpp?rev=254638&r1=254637&r2=254638&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ObjectFile.cpp (original)
+++ lldb/trunk/source/Symbol/ObjectFile.cpp Thu Dec  3 13:41:21 2015
@@ -537,6 +537,7 @@ ObjectFile::ReadSectionData (const Secti
                 }
             }
         }
+        return GetData(section->GetFileOffset(), section->GetFileSize(), section_data);
     }
     else
     {




More information about the lldb-commits mailing list