diff options
author | Enrico Granata <egranata@apple.com> | 2014-03-25 20:53:33 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2014-03-25 20:53:33 +0000 |
commit | afcbdb1570db71e6488bfb8ae064329aa9c0e683 (patch) | |
tree | 8a0eb115b20966a1d27b6ca2a7d677d57a12659d /lldb/source/Core/Module.cpp | |
parent | f596145ac52f9ef814f380ff258d984a1e65a788 (diff) | |
download | bcm5719-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/Core/Module.cpp')
-rw-r--r-- | lldb/source/Core/Module.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp index e6f2daa76e7..0cc1bc8b777 100644 --- a/lldb/source/Core/Module.cpp +++ b/lldb/source/Core/Module.cpp @@ -1646,7 +1646,7 @@ Module::GetVersion (uint32_t *versions, uint32_t num_versions) if (versions && num_versions) { for (uint32_t i=0; i<num_versions; ++i) - versions[i] = UINT32_MAX; + versions[i] = LLDB_INVALID_MODULE_VERSION; } return 0; } |