Michael137 added a comment. My preference would be to check explicitly whether the tool is from the xcode toolchain. But the tools dont really have a distinguishable version (in fact the `strip` from Xcode doesnt have a version commandline flag. Perhaps that’s deliberate and a good way to disbiguate homebrew vs xcode?)
Another option would be to check that homebrew/binutils only appears after xcode in the user path Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143842/new/ https://reviews.llvm.org/D143842 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits