vsk added inline comments.
================ Comment at: lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp:534 + if (arch && arch->IsValid() && !arch->TripleEnvironmentWasSpecified()) + return nullptr; // Avoid very slow xcrun query for non-simulator archs. llvm::StringRef sdk; ---------------- JDevlieghere wrote: > Is it equivalent to return nullptr here to passing an empty string as the > `sdk`? I don't know, but I don't think so -- shouldn't that amount to dropping the -sdk argument here?: ``` auto xcrun = [](const std::string &sdk, llvm::StringRef developer_dir = "") -> std::string { std::string xcrun_cmd = "xcrun --show-sdk-path --sdk " + sdk; ``` Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D98272/new/ https://reviews.llvm.org/D98272 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits