This is an archive of the discontinued LLVM Phabricator instance.

Fix debugserver reporting of deployment target
ClosedPublic

Authored by aprantl on Jul 8 2020, 4:55 PM.

Details

Summary

This patch fixes debugserver incorrectly returning the SDK version instead of the minimum deployment target version.

rdar://problem/65001691

Diff Detail

Event Timeline

aprantl created this revision.Jul 8 2020, 4:55 PM
aprantl updated this revision to Diff 276605.Jul 8 2020, 5:04 PM

delete a redundant statement

friss accepted this revision.Jul 8 2020, 5:14 PM

LGTM

lldb/test/API/macosx/simulator/TestSimulatorPlatform.py
30

typo?

47

add a break to get out of the loop quicker?

This revision is now accepted and ready to land.Jul 8 2020, 5:14 PM
aprantl marked 2 inline comments as done.Jul 8 2020, 5:20 PM
aprantl added inline comments.
lldb/test/API/macosx/simulator/TestSimulatorPlatform.py
47

No, that's a hidden feature. In the simulator cases jGetLoadedDynamicLibrariesInfos is called twice and the interesting information is only in the second response.

This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJul 8 2020, 5:21 PM