[Lldb-commits] [lldb] [lldb] Upstream xros support in lldb (PR	#78389)
    Jason Molenda via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Tue Jan 16 23:57:25 PST 2024
    
    
  
================
@@ -1180,7 +1180,7 @@ bool GDBRemoteCommunicationClient::GetDefaultThreadId(lldb::tid_t &tid) {
 static void ParseOSType(llvm::StringRef value, std::string &os_name,
                         std::string &environment) {
   if (value.equals("iossimulator") || value.equals("tvossimulator") ||
-      value.equals("watchossimulator")) {
+      value.equals("watchossimulator") || value.equals("xrossimulator")) {
----------------
jasonmolenda wrote:
I see in llvm/TargetParser/Triple.cpp it will accept either "xros" or "visionos" for Triple::XROS, I think this should accept "visionossimulator" too.
https://github.com/llvm/llvm-project/pull/78389
    
    
More information about the lldb-commits
mailing list