summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/ELF
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2014-03-25 20:53:33 +0000
committerEnrico Granata <egranata@apple.com>2014-03-25 20:53:33 +0000
commitafcbdb1570db71e6488bfb8ae064329aa9c0e683 (patch)
tree8a0eb115b20966a1d27b6ca2a7d677d57a12659d /lldb/source/Plugins/ObjectFile/ELF
parentf596145ac52f9ef814f380ff258d984a1e65a788 (diff)
downloadbcm5719-llvm-afcbdb1570db71e6488bfb8ae064329aa9c0e683.tar.gz
bcm5719-llvm-afcbdb1570db71e6488bfb8ae064329aa9c0e683.zip
<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
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF')
-rw-r--r--lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
index 9aad296c47f..e4de46e24a1 100644
--- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
+++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
@@ -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())
OpenPOWER on IntegriCloud