JDevlieghere added a comment.

I tested this locally with a fat binary containing both an `x86_64` and 
`x86_64h` slice. We could do something on AS using `arm64` and `arm64e`, but I 
couldn't find a good way to find out (from Python) if the current architecture 
has Haswell/arm64e support.

  (lldb) target create --arch x86_64h /Users/jonas/fat/fat.out
  Current executable set to '/Users/jonas/fat/fat.out' (x86_64h).
  (lldb) r
  Process 78326 launched: '/Users/jonas/fat/fat.out' (x86_64h)
  x86_64h
  Process 78326 exited with status = 0 (0x00000000)
  (lldb) target create --arch x86_64 /Users/jonas/fat/fat.out
  Current executable set to '/Users/jonas/fat/fat.out' (x86_64).
  (lldb) r
  Process 78335 launched: '/Users/jonas/fat/fat.out' (x86_64h)
  x86_64
  Process 78335 exited with status = 0 (0x00000000)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95922/new/

https://reviews.llvm.org/D95922

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to