<rdar://problem/14515139>
Add a GetFoundationVersion() to AppleObjCRuntime This API is used to return and cache the major version of Foundation.framework, which is potentially a useful piece of data to key off of to enable or disable certain ObjC related behaviors (especially in data formatters) llvm-svn: 204756
This commit is contained in:
@@ -526,7 +526,7 @@ ObjectFileELF::GetModuleSpecifications (const lldb_private::FileSpec& file,
|
||||
for (ProgramHeaderCollConstIter I = program_headers.begin();
|
||||
I != program_headers.end(); ++I)
|
||||
{
|
||||
segment_data_end = std::max (I->p_offset + I->p_filesz, segment_data_end);
|
||||
segment_data_end = std::max<unsigned long long> (I->p_offset + I->p_filesz, segment_data_end);
|
||||
}
|
||||
|
||||
if (segment_data_end > data_sp->GetByteSize())
|
||||
|
||||
Reference in New Issue
Block a user