[all-commits] [llvm/llvm-project] 4b46a4: [lldb] [ConnectionFileDescriptorPosix] Refactor sc...
Michał Górny via All-commits
all-commits at lists.llvm.org
Fri Oct 8 02:48:15 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4b46a4134385eda6449e93ad124f9b2685b25bb2
https://github.com/llvm/llvm-project/commit/4b46a4134385eda6449e93ad124f9b2685b25bb2
Author: Michał Górny <mgorny at moritz.systems>
Date: 2021-10-08 (Fri, 08 Oct 2021)
Changed paths:
M lldb/include/lldb/Host/posix/ConnectionFileDescriptorPosix.h
M lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp
M lldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp
Log Message:
-----------
[lldb] [ConnectionFileDescriptorPosix] Refactor scheme matching
Move the POSIX-specific fd:// and file:// scheme handling into
separate methods. Replace the custom GetURLAddress() matching with
splitting into scheme and path, and matching scheme via
llvm::StringSwitch. Use early returns.
Differential Revision: https://reviews.llvm.org/D111321
More information about the All-commits
mailing list