BHM: Support aarch64 for Mac sampler (#31298)

Replaced unmaintained `mach` crate with `mach2`, and added support for getting arm registers.
This commit is contained in:
Rajesh Malviya 2024-02-09 19:25:28 +05:30 committed by GitHub
parent f6b81a97f3
commit 9d42602fe7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 52 additions and 24 deletions

11
Cargo.lock generated
View file

@ -283,7 +283,7 @@ dependencies = [
"lazy_static",
"libc",
"log",
"mach",
"mach2",
"msg",
"nix 0.25.1",
"serde_json",
@ -3428,6 +3428,15 @@ dependencies = [
"libc",
]
[[package]]
name = "mach2"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "19b955cdeb2a02b9117f121ce63aa52d08ade45de53e48fe6a38b39c10f6f709"
dependencies = [
"libc",
]
[[package]]
name = "malloc_buf"
version = "0.0.6"