This is an archive of the discontinued LLVM Phabricator instance.

[debugserver] Initial support for Apple Silicon.
ClosedPublic

Authored by davide on Jun 23 2020, 10:23 AM.

Details

Summary

Set the correct os type in the arch triple when running macOS. Debugserver currently always assumes macOS == x86_64. This patch generalizes the support to make sure it works on a different architecture.

Diff Detail

Event Timeline

davide created this revision.Jun 23 2020, 10:23 AM
davide added a subscriber: lldb-commits.
aprantl accepted this revision.Jun 23 2020, 10:41 AM
This revision is now accepted and ready to land.Jun 23 2020, 10:41 AM

Danke shoen

commit 2276bb48be0175f96b1494ca67b7921f0d4e87d8 (HEAD -> master, origin/master, origin/HEAD)
Author: Davide Italiano <ditaliano@apple.com>
Date:   Tue Jun 23 10:18:54 2020 -0700

    [debugserver] Initial support for Apple Silicon.
    
    Set the correct os type in the arch triple when running macOS.
    Debugserver currently always assumes macOS == x86_64. This patch
    generalizes the support to make sure it works on a different
    architecture.
    
    Differential Revision:  https://reviews.llvm.org/D82394