[Lldb-commits] [PATCH] D131901: [lldb][debugserver] Revert "Use llvm::all_of (NFC)" for debugserver
Michael Buch via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Aug 15 09:24:33 PDT 2022
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__)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131901.452703.patch
Type: text/x-patch
Size: 690 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220815/0b88420e/attachment-0001.bin>
More information about the lldb-commits
mailing list