diff options
author | Adrian Prantl <aprantl@apple.com> | 2018-10-25 15:30:43 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2018-10-25 15:30:43 +0000 |
commit | 10deee997df8ba9aeb4f479ecc2f794fa5e41371 (patch) | |
tree | 1772cafccc81855ffa727bc8b47bb0def8a6a591 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp | |
parent | a8a24aa0420a53583d17023eeec64fcce08d3092 (diff) | |
download | bcm5719-llvm-10deee997df8ba9aeb4f479ecc2f794fa5e41371.tar.gz bcm5719-llvm-10deee997df8ba9aeb4f479ecc2f794fa5e41371.zip |
Fix a bug PlatformDarwin::SDKSupportsModule.
This fixes a bug PlatformDarwin::SDKSupportsModule introduced by
https://reviews.llvm.org/D47889. VersionTuple::tryParse() can deal
with an optional third (micro) component, but the parse will fail when
there are extra characters after the version number (e.g.: trying to
parse the substring "12.0.sdk" out of "iPhoneSimulator12.0.sdk" fails
after that patch). Fixed here by stripping the ".sdk" suffix first.
(Part of) rdar://problem/45041492
Differential Revision https://reviews.llvm.org/D53677
llvm-svn: 345274
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp')
0 files changed, 0 insertions, 0 deletions