[Lldb-commits] [lldb] r344275 - Don't mark an LC_BUILD_VERSION as giving us a
Jason Molenda via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 11 11:37:53 PDT 2018
Author: jmolenda
Date: Thu Oct 11 11:37:53 2018
New Revision: 344275
URL: http://llvm.org/viewvc/llvm-project?rev=344275&view=rev
Log:
Don't mark an LC_BUILD_VERSION as giving us a
correct version if it has a major verison 0.
Modified:
lldb/trunk/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
Modified: lldb/trunk/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp?rev=344275&r1=344274&r2=344275&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp (original)
+++ lldb/trunk/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp Thu Oct 11 11:37:53 2018
@@ -5914,8 +5914,8 @@ uint32_t ObjectFileMachO::GetSDKVersion(
m_sdk_versions.push_back (xxxx);
m_sdk_versions.push_back (yy);
m_sdk_versions.push_back (zz);
+ success = true;
}
- success = true;
}
offset = load_cmd_offset + lc.cmdsize;
}
More information about the lldb-commits
mailing list