Michael137 created this revision.
Herald added a project: All.
Michael137 requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

Commit 6d9cd9199a6fdeab0412117bcefc28f625510b61 
<https://reviews.llvm.org/rG6d9cd9199a6fdeab0412117bcefc28f625510b61> added a 
dependency on llvm to debugserver.
This breaks the build. Since we don't want to add a dependency on llvm, this
patch reverts the offending commit.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131901

Files:
  lldb/tools/debugserver/source/RNBRemote.cpp


Index: lldb/tools/debugserver/source/RNBRemote.cpp
===================================================================
--- lldb/tools/debugserver/source/RNBRemote.cpp
+++ lldb/tools/debugserver/source/RNBRemote.cpp
@@ -4861,8 +4861,8 @@
 
   std::string maccatalyst_version = DNBGetMacCatalystVersionString();
   if (!maccatalyst_version.empty() &&
-      llvm::all_of(maccatalyst_version,
-                   [](char c) { return (c >= '0' && c <= '9') || c == '.'; }))
+      std::all_of(maccatalyst_version,
+                  [](char c) { return (c >= '0' && c <= '9') || c == '.'; }))
     strm << "maccatalyst_version:" << maccatalyst_version << ";";
 
 #if defined(__LITTLE_ENDIAN__)


Index: lldb/tools/debugserver/source/RNBRemote.cpp
===================================================================
--- lldb/tools/debugserver/source/RNBRemote.cpp
+++ lldb/tools/debugserver/source/RNBRemote.cpp
@@ -4861,8 +4861,8 @@
 
   std::string maccatalyst_version = DNBGetMacCatalystVersionString();
   if (!maccatalyst_version.empty() &&
-      llvm::all_of(maccatalyst_version,
-                   [](char c) { return (c >= '0' && c <= '9') || c == '.'; }))
+      std::all_of(maccatalyst_version,
+                  [](char c) { return (c >= '0' && c <= '9') || c == '.'; }))
     strm << "maccatalyst_version:" << maccatalyst_version << ";";
 
 #if defined(__LITTLE_ENDIAN__)
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
  • [Lldb-commits]... Michael Buch via Phabricator via lldb-commits
    • [Lldb-com... Jonas Devlieghere via Phabricator via lldb-commits
    • [Lldb-com... Felipe de Azevedo Piovezan via Phabricator via lldb-commits
    • [Lldb-com... Michael Buch via Phabricator via lldb-commits
    • [Lldb-com... Michael Buch via Phabricator via lldb-commits
    • [Lldb-com... Kazu Hirata via Phabricator via lldb-commits

Reply via email to